From d3e2f2969c865c2e0b4b464e7b9456311defa838 Mon Sep 17 00:00:00 2001 From: bacon Date: Mon, 9 Feb 2026 15:51:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3spi=E5=8D=8F=E8=AE=AE?= =?UTF-8?q?=E5=BC=80=E5=85=B3=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tb/shinTest/ShinTopSpiTb.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)