Skip to content

Commit

Permalink
minor if statement fix in SPI_master.v
Browse files Browse the repository at this point in the history
  • Loading branch information
faramire committed Apr 18, 2024
1 parent 6ad47f5 commit 7d1e1e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SPI_master.v
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ module SPI_Master (
report_send <= 0;
report_ready <= 1;
end
if (cs_in == 0) begin // order to send the word
else begin // CS low: order to send the word
count_bit <= 0;
count_word <= 15;
word_done <= 0;
Expand Down

0 comments on commit 7d1e1e4

Please sign in to comment.