From e91ce85cfdf1a1a69869d10a94c167aa85183fa2 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 24 Aug 2015 20:12:39 +0200 Subject: [PATCH] litescope/core/port: fix missing self.comb... --- misoclib/tools/litescope/core/port.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misoclib/tools/litescope/core/port.py b/misoclib/tools/litescope/core/port.py index 26e9802e4..10f3b6394 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),