diff --git a/litescope/core.py b/litescope/core.py index b2edc46..7c42968 100644 --- a/litescope/core.py +++ b/litescope/core.py @@ -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