增加了新的测试事件寄存器组的代码
This commit is contained in:
@@ -71,6 +71,8 @@ module ShinTopSpiTb(
|
||||
reg _reset_deadline_ind;
|
||||
reg _deadline_ind;
|
||||
reg[31:0] _deadline_ind_ctr;
|
||||
reg latch0;
|
||||
reg latch1;
|
||||
|
||||
|
||||
|
||||
@@ -121,7 +123,9 @@ ShinTop s_ShinTop_Mst(
|
||||
.io_rsp_valid(isResp),
|
||||
.io_rsp_bits_isError(),
|
||||
.io_isSoftReset(isSoftReset[0]),
|
||||
.io_interrupt(io_int_sig[0])
|
||||
.io_interrupt(io_int_sig[0]),
|
||||
.io_latchPin_0(),
|
||||
.io_latchPin_1()
|
||||
);
|
||||
|
||||
ShinTop s_ShinTop_slv0(
|
||||
@@ -170,7 +174,9 @@ ShinTop s_ShinTop_slv0(
|
||||
.io_rsp_valid(),
|
||||
.io_rsp_bits_isError(),
|
||||
.io_isSoftReset(isSoftReset[1]),
|
||||
.io_interrupt(io_int_sig[1])
|
||||
.io_interrupt(io_int_sig[1]),
|
||||
.io_latchPin_0(latch0),
|
||||
.io_latchPin_1(latch1)
|
||||
);
|
||||
|
||||
ShinTop s_ShinTop_slv1(
|
||||
@@ -219,7 +225,9 @@ ShinTop s_ShinTop_slv1(
|
||||
.io_rsp_valid(),
|
||||
.io_rsp_bits_isError(),
|
||||
.io_isSoftReset(isSoftReset[2]),
|
||||
.io_interrupt(io_int_sig[2])
|
||||
.io_interrupt(io_int_sig[2]),
|
||||
.io_latchPin_0(latch0),
|
||||
.io_latchPin_1(latch1)
|
||||
);
|
||||
|
||||
ShinTop s_ShinTop_slv2(
|
||||
@@ -268,7 +276,9 @@ ShinTop s_ShinTop_slv2(
|
||||
.io_rsp_valid(),
|
||||
.io_rsp_bits_isError(),
|
||||
.io_isSoftReset(isSoftReset[3]),
|
||||
.io_interrupt(io_int_sig[3])
|
||||
.io_interrupt(io_int_sig[3]),
|
||||
.io_latchPin_0(latch0),
|
||||
.io_latchPin_1(latch1)
|
||||
);
|
||||
|
||||
ShinTop s_ShinTop_slv3(
|
||||
@@ -317,7 +327,9 @@ ShinTop s_ShinTop_slv3(
|
||||
.io_rsp_valid(),
|
||||
.io_rsp_bits_isError(),
|
||||
.io_isSoftReset(isSoftReset[4]),
|
||||
.io_interrupt(io_int_sig[4])
|
||||
.io_interrupt(io_int_sig[4]),
|
||||
.io_latchPin_0(latch0),
|
||||
.io_latchPin_1(latch1)
|
||||
);
|
||||
|
||||
|
||||
@@ -337,6 +349,9 @@ initial begin
|
||||
_deadline_ind = 0;
|
||||
_deadline_ind_ctr = 0;
|
||||
|
||||
latch0 = 0;
|
||||
latch1 = 0;
|
||||
|
||||
_reset_deactive = 1'b0;
|
||||
|
||||
$timeformat(-9, 2, " ns", 8);
|
||||
|
||||
Reference in New Issue
Block a user