Skip to content

Commit

Permalink
Changed the condition for TransmitStart fsm to avoid edge condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobPease committed Nov 1, 2024
1 parent f6c289c commit e881bd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uncore/spi_apb.sv
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e881bd3

Please sign in to comment.