上传单设备读写的测试用例
This commit is contained in:
@@ -9,9 +9,10 @@
|
||||
//`define ENABLE_EXCHG_DATA_SEQ0_TEST
|
||||
//`define ENABLE_EXCHG_DATA_SEQ1_TEST
|
||||
//`define ENABLE_EXCHG_DATA_SEQ2_TEST
|
||||
//`define ENABLE_EXCHG_DATA_SEQ3_TEST
|
||||
|
||||
`define ENABLE_BC_R_TEST
|
||||
`define ENABLE_BC_W_TEST
|
||||
//`define ENABLE_BC_R_TEST
|
||||
//`define ENABLE_BC_W_TEST
|
||||
//`define ENABLE_BC_RW_TEST
|
||||
|
||||
`define ENABLE_SYNC_TEST
|
||||
@@ -865,6 +866,21 @@ initial begin
|
||||
end
|
||||
`endif
|
||||
|
||||
`ifdef ENABLE_EXCHG_DATA_SEQ3_TEST
|
||||
begin:EXCHG_DATA_SEQ3_TESTCASE
|
||||
_t_start = $time;
|
||||
#1000
|
||||
$display("read&write @ %d", s_ShinTop_Mst.interface__io_cReg_timeStamp);
|
||||
$fdisplay(spidata_file, "\n--->>>交换数据读写");
|
||||
|
||||
|
||||
`include "seq_3_pkt.vh"
|
||||
|
||||
_t_end = $time;
|
||||
$fdisplay(spidata_file, "该测试用例运行时间:%2tns\n", (_t_end - _t_start) / 1000);
|
||||
end
|
||||
`endif
|
||||
|
||||
`ifdef ENABLE_BC_R_TEST
|
||||
|
||||
begin:EXCHG_DATA_BC_R_TESTCASE
|
||||
|
||||
Reference in New Issue
Block a user