From 220a5057ab67a1f7740ba3f623dff5008e03bb89 Mon Sep 17 00:00:00 2001 From: bacon Date: Fri, 17 Oct 2025 16:46:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A01=E4=B8=AA=E5=AD=97=E8=8A=82,?= =?UTF-8?q?=E7=AE=80=E5=8D=95=E7=9A=84=E8=A7=84=E9=81=BFaqspi=E7=9A=84csn?= =?UTF-8?q?=E8=A2=AB=E8=BF=87=E6=97=A9=E6=8B=89=E9=AB=98=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= 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 c2bb75f..17deb60 100644 --- a/tb/shinTest/ShinTopSpiTb.v +++ b/tb/shinTest/ShinTopSpiTb.v @@ -627,7 +627,7 @@ task spi_trans( input [15:0] saddress, input [7:0] scmd, input [12:0] slength, i if (sidx >=(`ALL_DEV_NUM * 3)) begin txBuf[2] <= (scmd | slength[12:8]); txBuf[3] <= slength[7:0]; - length <= slength + 4; + length <= slength + 4 + 1; end else begin txBuf[2] <= scmd; length <= slength + 3;