Skip to content
This repository was archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
spi_host: Fix CSAAT behavior (See #387)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulsc96 committed Apr 20, 2022
1 parent bff399e commit 01204b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hw/vendor/lowrisc_opentitan/spi_host/rtl/spi_host_fsm.sv
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,8 @@ module spi_host_fsm
// and of CSAAT is asserted, the details of the subsequent command.
if (!last_bit || !last_byte) begin
prestall_st_d = InternalClkLow;
end else if (!command_i.segment.csaat) begin
// Check value of csaat for the previously submitted segment
end else if (!csaat_q) begin
prestall_st_d = WaitTrail;
end else if (!command_valid_i) begin
prestall_st_d = IdleCSBActive;
Expand Down

0 comments on commit 01204b4

Please sign in to comment.