Merge pull request #25 from cklarhorst/fix-trigger-flush-timer-wrong-clock-domain
Fix: A WaitTimer belongs to the wrong clock domain (trigger flush)
This commit is contained in:
commit
2ad73a0f54
|
@ -73,6 +73,7 @@ class _Trigger(Module, AutoCSR):
|
|||
# Hit and memory read/flush
|
||||
hit = Signal()
|
||||
flush = WaitTimer(2*depth)
|
||||
flush = ClockDomainsRenamer("scope")(flush)
|
||||
self.submodules += flush
|
||||
self.comb += [
|
||||
flush.wait.eq(~(~enable & enable_d)), # flush when disabling
|
||||
|
|
Loading…
Reference in New Issue