forked from M-Labs/artiq-zynq
pipeline GW: fix long synth bug
This commit is contained in:
parent
8260387a99
commit
2774c8b7a0
|
@ -250,7 +250,7 @@ class TX_Test_Packet(Module, AutoCSR):
|
||||||
self.source = stream.Endpoint(word_layout)
|
self.source = stream.Endpoint(word_layout)
|
||||||
self.submodules.fsm = fsm = FSM(reset_state="IDLE")
|
self.submodules.fsm = fsm = FSM(reset_state="IDLE")
|
||||||
|
|
||||||
cnt = Signal(0xFFF)
|
cnt = Signal(max=0xFFF)
|
||||||
fsm.act("IDLE",
|
fsm.act("IDLE",
|
||||||
NextValue(cnt, cnt.reset),
|
NextValue(cnt, cnt.reset),
|
||||||
If(self.tx.re,
|
If(self.tx.re,
|
||||||
|
|
Loading…
Reference in New Issue