mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Changed the condition for TransmitStart fsm to avoid edge condition.
This commit is contained in:
parent
f6c289c6a2
commit
e881bd3120
@ -273,7 +273,7 @@ module spi_apb import cvw::*; #(parameter cvw_t P) (
|
|||||||
READY: if (~TransmitFIFOReadEmpty & ~Transmitting) NextState = START;
|
READY: if (~TransmitFIFOReadEmpty & ~Transmitting) NextState = START;
|
||||||
else NextState = READY;
|
else NextState = READY;
|
||||||
START: NextState = WAIT;
|
START: NextState = WAIT;
|
||||||
WAIT: if (TransmitFIFOReadEmpty & ~Transmitting & ~TransmitRegLoaded) NextState = READY;
|
WAIT: if (/*TransmitFIFOReadEmpty &*/ ~Transmitting & ~TransmitRegLoaded) NextState = READY;
|
||||||
else NextState = WAIT;
|
else NextState = WAIT;
|
||||||
default: NextState = READY;
|
default: NextState = READY;
|
||||||
endcase
|
endcase
|
||||||
|
Loading…
Reference in New Issue
Block a user