We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c5afd9 commit 26c59e1Copy full SHA for 26c59e1
library/spi_engine/axi_spi_engine/axi_spi_engine.v
@@ -472,7 +472,7 @@ module axi_spi_engine #(
472
if (!spi_resetn) begin
473
sdi_fifo_tkeep_int <= {(NUM_OF_SDIO*DATA_WIDTH/8){1'b1}};
474
end else begin
475
- if (cmd_valid && cmd_data[15:8] == 8'h23) begin
+ if (cmd_valid && cmd_ready && cmd_data[15:8] == 8'h23) begin
476
for (i = 0; i < NUM_OF_SDIO; i = i + 1) begin
477
sdi_fifo_tkeep_int[i*DATA_WIDTH/8+:DATA_WIDTH/8] <= {DATA_WIDTH/8{cmd_data[i]}};
478
end
0 commit comments