litescope/core/port: fix missing self.comb...
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 24 Aug 2015 18:12:39 +0000 (20:12 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 24 Aug 2015 18:12:39 +0000 (20:12 +0200)
misoclib/tools/litescope/core/port.py

index 26e9802e42641842d5196644a0c90685656a2484..10f3b639499bdc214aade527042c52ead873dda5 100644 (file)
@@ -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),