mirror of https://github.com/m-labs/artiq.git
rtio/phy: fix input synchronization
This commit is contained in:
parent
c78c5a2b4f
commit
dda4002ae1
|
@ -19,7 +19,7 @@ class SimplePHY(Module):
|
||||||
i_pad = Signal()
|
i_pad = Signal()
|
||||||
self.sync.rio += ts.oe.eq(chif.oe)
|
self.sync.rio += ts.oe.eq(chif.oe)
|
||||||
self.comb += ts.o.eq(o_pad)
|
self.comb += ts.o.eq(o_pad)
|
||||||
self.specials += MultiReg(ts.i, i_pad), \
|
self.specials += MultiReg(ts.i, i_pad, "rio"), \
|
||||||
ts.get_tristate(pad)
|
ts.get_tristate(pad)
|
||||||
|
|
||||||
i_pad_d = Signal()
|
i_pad_d = Signal()
|
||||||
|
|
Loading…
Reference in New Issue