mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-23 13:27:16 -04:00
Changed the condition for TransmitStart fsm to avoid edge condition.
This commit is contained in:
parent
f6c289c6a2
commit
e881bd3120
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ module spi_apb import cvw::*; #(parameter cvw_t P) (
|
|||
READY: if (~TransmitFIFOReadEmpty & ~Transmitting) NextState = START;
|
||||
else NextState = READY;
|
||||
START: NextState = WAIT;
|
||||
WAIT: if (TransmitFIFOReadEmpty & ~Transmitting & ~TransmitRegLoaded) NextState = READY;
|
||||
WAIT: if (/*TransmitFIFOReadEmpty &*/ ~Transmitting & ~TransmitRegLoaded) NextState = READY;
|
||||
else NextState = WAIT;
|
||||
default: NextState = READY;
|
||||
endcase
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue