forked from M-Labs/artiq-zynq
sim: clean up
This commit is contained in:
parent
0c07a6525c
commit
18c16062b1
|
@ -46,12 +46,12 @@ class Streams_Crossbar(Module):
|
|||
"WAIT_HEADER",
|
||||
NextValue(self.stream_id, mux.source.dchar),
|
||||
If(mux.source.stb,
|
||||
NextState("STREAM"),
|
||||
NextState("COPY"),
|
||||
),
|
||||
)
|
||||
|
||||
fsm.act(
|
||||
"STREAM",
|
||||
"COPY",
|
||||
Case(self.stream_id, case),
|
||||
If(mux.source.eop,
|
||||
NextState("SWITCH_CONN"),
|
||||
|
@ -223,9 +223,9 @@ class Stream_Parser(Module):
|
|||
|
||||
fsm.act(
|
||||
"GET_PAK_TAG",
|
||||
self.sink.ack.eq(1),
|
||||
If(
|
||||
self.sink.stb,
|
||||
self.sink.ack.eq(1),
|
||||
NextValue(self.pak_tag, self.sink.dchar),
|
||||
NextState("GET_PAK_SIZE_0"),
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue