add trigger depth option
This commit is contained in:
parent
bfd06f819e
commit
71ffaa7484
|
@ -224,7 +224,7 @@ class _Storage(Module, AutoCSR):
|
||||||
|
|
||||||
|
|
||||||
class LiteScopeAnalyzer(Module, AutoCSR):
|
class LiteScopeAnalyzer(Module, AutoCSR):
|
||||||
def __init__(self, groups, depth, cd="sys"):
|
def __init__(self, groups, depth, cd="sys", trigger_depth=16):
|
||||||
self.groups = groups = self.format_groups(groups)
|
self.groups = groups = self.format_groups(groups)
|
||||||
self.depth = depth
|
self.depth = depth
|
||||||
|
|
||||||
|
@ -249,7 +249,7 @@ class LiteScopeAnalyzer(Module, AutoCSR):
|
||||||
]
|
]
|
||||||
|
|
||||||
# frontend
|
# frontend
|
||||||
self.submodules.trigger = _Trigger(data_width)
|
self.submodules.trigger = _Trigger(data_width, depth=trigger_depth)
|
||||||
self.submodules.subsampler = _SubSampler(data_width)
|
self.submodules.subsampler = _SubSampler(data_width)
|
||||||
|
|
||||||
# storage
|
# storage
|
||||||
|
|
Loading…
Reference in New Issue