diff --git a/tb/shinTest/ShinTopSpiTb.v b/tb/shinTest/ShinTopSpiTb.v index 28ddfc3..aaab92b 100644 --- a/tb/shinTest/ShinTopSpiTb.v +++ b/tb/shinTest/ShinTopSpiTb.v @@ -709,7 +709,7 @@ task spi_trans( input [15:0] saddress, input [7:0] scmd, input [12:0] slength, i `endif idx <= sidx; - spi_1to4 = (idx < (`ALL_DEV_NUM * 4)); + spi_1to4 = (sidx < (`ALL_DEV_NUM * 4)); #5 @(negedge sck)