From: Florent Kermarrec Date: Mon, 24 Aug 2015 18:12:39 +0000 (+0200) Subject: litescope/core/port: fix missing self.comb... X-Git-Tag: 24jan2021_ls180~2128 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e91ce85cfdf1a1a69869d10a94c167aa85183fa2;p=litex.git litescope/core/port: fix missing self.comb... --- diff --git a/misoclib/tools/litescope/core/port.py b/misoclib/tools/litescope/core/port.py index 26e9802e..10f3b639 100644 --- a/misoclib/tools/litescope/core/port.py +++ b/misoclib/tools/litescope/core/port.py @@ -81,13 +81,13 @@ class LiteScopeEdgeDetectorUnit(Module): self.comb += Record.connect(self.sink, self.buffer.d) rising = Signal(dw) - rising.eq(self.rising_mask & sink.data & ~self.buffer.q.data) + self.comb += rising.eq(self.rising_mask & sink.data & ~self.buffer.q.data) falling = Signal(dw) - falling.eq(self.falling_mask & ~sink.data & self.buffer.q.data) + self.comb += falling.eq(self.falling_mask & ~sink.data & self.buffer.q.data) both = Signal(dw) - both.eq(self.both_mask & (rising | falling)) + self.comb += both.eq(self.both_mask & (rising | falling)) self.comb += [ source.stb.eq(sink.stb & self.buffer.q.stb),