All checks were successful
ci/woodpecker/push/test-workflow Pipeline was successful
The audio output is still messed up, but this commit gets everything as ready as it can get. Fixed up all the testbenches and added state machines for everything
24 lines
688 B
Plaintext
24 lines
688 B
Plaintext
digraph send_command {
|
|
READY [shape="doublecircle",label="READY\ncounter=48\nready"]
|
|
node [shape="ellipse"]
|
|
SEND_CRC [label="SEND_CRC\n!ready\ncrc_start=1\nto_send={2'b01,command,arguments,8'b1}"]
|
|
DELAY [label="DELAY\ncrc_start=0"]
|
|
WAIT_CRC [label="WAIT_CRC\nto_send[7:1]=crc"]
|
|
SEND_DATA [label="SEND_DATA\ncounter--\nsend_sd_cmd=to_send[counter-1]"]
|
|
|
|
READY -> READY [label="!start"]
|
|
READY -> SEND_CRC [label="start"]
|
|
|
|
SEND_CRC -> DELAY;
|
|
|
|
DELAY -> WAIT_CRC;
|
|
|
|
WAIT_CRC -> WAIT_CRC [label="!crc_ready"]
|
|
WAIT_CRC -> SEND_DATA [label="crc_ready"]
|
|
|
|
SEND_DATA -> SEND_DATA [label="counter!=1"]
|
|
SEND_DATA -> READY [label="counter==0"]
|
|
|
|
|
|
}
|