From 08136e6545a3e97ef8ede1d4ce3e2f552ebc95bd Mon Sep 17 00:00:00 2001 From: bacon Date: Tue, 27 May 2025 13:01:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=B5=8B=E8=AF=95=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tb/shinTest/ShinTopSpiTb.v | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tb/shinTest/ShinTopSpiTb.v b/tb/shinTest/ShinTopSpiTb.v index d153edd..bb739fe 100644 --- a/tb/shinTest/ShinTopSpiTb.v +++ b/tb/shinTest/ShinTopSpiTb.v @@ -1117,12 +1117,14 @@ initial begin 1. 测试 同步(sync) 和 同步输出 (sync_out) ---------------------------------------------------------------------------------------------------------*/ // 同步 - _t_start = $time; - #1000 - $display("sync @ %d", s_ShinTop_Mst.interface__io_cReg_timeStamp); - $fdisplay(spidata_file, "\n\n测试用例:测试同步(sync)和同步输出(sync_out)"); begin:SYNC_TESTCASE + _t_start = $time; + #1000 + + $display("sync @ %d", s_ShinTop_Mst.interface__io_cReg_timeStamp); + $fdisplay(spidata_file, "\n\n测试用例:测试同步(sync)和同步输出(sync_out)"); + //设置SM1在写入 0x18 len触发enq `include "sync_pkt.vh" `DEF_sync_pkt_sm(txBuf);