diff --git a/tb/shinTest/ShinTopSpiTb.v b/tb/shinTest/ShinTopSpiTb.v index 1e07602..b7ca97d 100644 --- a/tb/shinTest/ShinTopSpiTb.v +++ b/tb/shinTest/ShinTopSpiTb.v @@ -752,18 +752,17 @@ task wait_comm_finished(); //$display("%x %x", rxBuf[3], rxBuf[6]); if ((rxBuf[3] & 8'h02) == 8'h02) begin - $display("1111111111"); is_run = 0; end if ((rxBuf[6] & 8'h60) != 8'h00) begin - $display("222222222"); + $display("error occur."); is_run = 0; end if (($realtime - st) >= 5000000.0) begin - $display("333333333"); - //is_run = 0; + $display("comm timeout."); + is_run = 0; end end end