Commit ea6e4837 authored by bunnie's avatar bunnie Committed by Sébastien Bourdeauducq
Browse files

Fix issue where BusSynchronizer fails when iclock << oclock

parent 076ec0dd
...@@ -107,7 +107,7 @@ class BusSynchronizer(Module): ...@@ -107,7 +107,7 @@ class BusSynchronizer(Module):
self.comb += [ self.comb += [
self._timeout.wait.eq(~self._ping.i), self._timeout.wait.eq(~self._ping.i),
self._ping.i.eq(starter | self._pong.o | self._timeout.done), self._ping.i.eq(starter | self._pong.o | self._timeout.done),
self._pong.i.eq(self._ping.i) self._pong.i.eq(self._ping.o)
] ]
ibuffer = Signal(width, reset_less=True) ibuffer = Signal(width, reset_less=True)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment