spi_engine: Add an additional register for SDI data

main
Istvan Csomortani 2020-05-08 16:25:47 +03:00 committed by István Csomortáni
parent 88d97eb8a5
commit 2506239a8a
1 changed files with 1 additions and 0 deletions

View File

@ -348,6 +348,7 @@ module axi_spi_engine #(
8'h35: up_rdata_ff <= sdo_fifo_room;
8'h36: up_rdata_ff <= sdi_fifo_level;
8'h3a: up_rdata_ff <= sdi_fifo_out_data;
8'h3b: up_rdata_ff <= (NUM_OF_SDI*DATA_WIDTH > 32) ? sdi_fifo_out_data[NUM_OF_SDI*DATA_WIDTH-1:32] : sdi_fifo_out_data; /* store SDI's 32 bits MSB, if exists */
8'h3c: up_rdata_ff <= sdi_fifo_out_data; /* PEEK register */
8'h40: up_rdata_ff <= {offload0_enable_reg};
8'h41: up_rdata_ff <= {offload0_enabled_s};