Skip to content

Commit

Permalink
litescope/core/port: fix missing self.comb...
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Aug 24, 2015
1 parent 27b1dd7 commit e91ce85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions misoclib/tools/litescope/core/port.py
Expand Up @@ -81,13 +81,13 @@ def __init__(self, dw):
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),
Expand Down

0 comments on commit e91ce85

Please sign in to comment.