diff --git a/tb/shinTest/ShinTopSpiTb.v b/tb/shinTest/ShinTopSpiTb.v index aa45db9..560e1a4 100644 --- a/tb/shinTest/ShinTopSpiTb.v +++ b/tb/shinTest/ShinTopSpiTb.v @@ -673,7 +673,7 @@ initial begin spi_trans( (16'h00c0), (`SPI_READ), (6), (`IF_IDX(4)) ); -`ifdef ENABLE_CODE +`ifndef ENABLE_CODE begin $fdisplay(spidata_file, "嗅探:使用SM1"); $fdisplay(spidata_file, "--->>>嗅探前,检查链路状态寄存器");