Skip to content

Commit 266e7cb

Browse files
committed
Change: use IP parameters to set the max boundary of a testcase
1 parent 9fe540a commit 266e7cb

File tree

2 files changed

+21
-19
lines changed

2 files changed

+21
-19
lines changed

test/svut/axicb_crossbar_top_testbench.gtkw

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
11
[*]
22
[*] GTKWave Analyzer v3.3.121 (w)1999-2024 BSI
3-
[*] Tue May 13 19:49:45 2025
3+
[*] Wed May 14 19:19:36 2025
44
[*]
55
[dumpfile] "/Users/damien/workspace/hdl/axi-crossbar/test/svut/axicb_crossbar_top_testbench.fst"
6-
[dumpfile_mtime] "Tue May 13 19:38:58 2025"
7-
[dumpfile_size] 399629
6+
[dumpfile_mtime] "Wed May 14 18:39:23 2025"
7+
[dumpfile_size] 81203529
88
[savefile] "/Users/damien/workspace/hdl/axi-crossbar/test/svut/axicb_crossbar_top_testbench.gtkw"
9-
[timestart] 2703200
9+
[timestart] 0
1010
[size] 1440 900
1111
[pos] -1 -1
12-
*-15.546410 2802000 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
12+
*-28.181051 1300922000 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
1313
[treeopen] axicb_crossbar_top_testbench.
1414
[treeopen] axicb_crossbar_top_testbench.dut.
1515
[treeopen] axicb_crossbar_top_testbench.dut.switchs.
1616
[treeopen] axicb_crossbar_top_testbench.dut.switchs.MST_SWITCHS_GEN[0].mst_switch.
17-
[treeopen] axicb_crossbar_top_testbench.dut.switchs.SLV_SWITCHS_GEN[0].slv_switch.
18-
[treeopen] axicb_crossbar_top_testbench.dut.switchs.SLV_SWITCHS_GEN[0].slv_switch.slv_switch_wr.
19-
[treeopen] axicb_crossbar_top_testbench.dut.switchs.SLV_SWITCHS_GEN[0].slv_switch.slv_switch_wr.bresp_ooo.
2017
[treeopen] axicb_crossbar_top_testbench.dut.switchs.SLV_SWITCHS_GEN[0].slv_switch.slv_switch_wr.bresp_ooo.NO_PATH_CPL.
2118
[treeopen] axicb_crossbar_top_testbench.dut.switchs.SLV_SWITCHS_GEN[3].
2219
[treeopen] axicb_crossbar_top_testbench.dut.switchs.SLV_SWITCHS_GEN[3].slv_switch.
@@ -36,8 +33,9 @@ axicb_crossbar_top_testbench.aresetn
3633
@22
3734
axicb_crossbar_top_testbench.error[7:0]
3835
axicb_crossbar_top_testbench.mst_en[3:0]
39-
@420
36+
@421
4037
axicb_crossbar_top_testbench.nb_reqs
38+
@420
4139
axicb_crossbar_top_testbench.timeout
4240
@200
4341
-
@@ -482,7 +480,7 @@ axicb_crossbar_top_testbench.dut.switchs.SLV_SWITCHS_GEN[3].slv_switch.slv_switc
482480
axicb_crossbar_top_testbench.dut.switchs.SLV_SWITCHS_GEN[3].slv_switch.slv_switch_wr.bresp_ooo.NB_ID
483481
@22
484482
axicb_crossbar_top_testbench.dut.switchs.SLV_SWITCHS_GEN[3].slv_switch.slv_switch_wr.bresp_ooo.MST_ID_MASK
485-
@421
483+
@420
486484
axicb_crossbar_top_testbench.dut.switchs.SLV_SWITCHS_GEN[3].slv_switch.slv_switch_wr.bresp_ooo.OSTDREQ_NUM
487485
@200
488486
-
@@ -527,14 +525,18 @@ axicb_crossbar_top_testbench.dut.switchs.SLV_SWITCHS_GEN[3].slv_switch.slv_switc
527525
-
528526
@22
529527
axicb_crossbar_top_testbench.dut.switchs.SLV_SWITCHS_GEN[3].slv_switch.slv_switch_wr.bresp_ooo.mr_reqs[7:0]
528+
axicb_crossbar_top_testbench.dut.switchs.SLV_SWITCHS_GEN[3].slv_switch.slv_switch_wr.bresp_ooo.c_reqs[7:0]
530529
@200
531530
-
532531
@22
532+
axicb_crossbar_top_testbench.dut.switchs.SLV_SWITCHS_GEN[3].slv_switch.slv_switch_wr.bresp_ooo.c_ch[39:0]
533533
axicb_crossbar_top_testbench.dut.switchs.SLV_SWITCHS_GEN[3].slv_switch.slv_switch_wr.bresp_ooo.c_valid[3:0]
534534
@28
535535
axicb_crossbar_top_testbench.dut.switchs.SLV_SWITCHS_GEN[3].slv_switch.slv_switch_wr.bresp_ooo.c_ready
536536
@22
537537
axicb_crossbar_top_testbench.dut.switchs.SLV_SWITCHS_GEN[3].slv_switch.slv_switch_wr.bresp_ooo.c_last[3:0]
538+
@28
539+
axicb_crossbar_top_testbench.dut.switchs.SLV_SWITCHS_GEN[3].slv_switch.slv_switch_wr.bresp_ooo.mr_last
538540
@200
539541
-
540542
@28

test/svut/src/axicb_crossbar_top_testbench.sv

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1680,7 +1680,7 @@ module axicb_crossbar_top_testbench();
16801680
`UNIT_TEST("Single Master Driver vs a Single Slave Monitor")
16811681

16821682
addr_min = 0;
1683-
addr_max = 4095;
1683+
addr_max = SLV0_END_ADDR;
16841684

16851685
@(posedge aclk);
16861686
mst_en = 4'h1;
@@ -1691,7 +1691,7 @@ module axicb_crossbar_top_testbench();
16911691
`UNIT_TEST("Single Master Driver vs Two Slave Monitors")
16921692

16931693
addr_min = 0;
1694-
addr_max = 8191;
1694+
addr_max = SLV1_END_ADDR;
16951695

16961696
@(posedge aclk);
16971697
mst_en = 4'h1;
@@ -1702,7 +1702,7 @@ module axicb_crossbar_top_testbench();
17021702
`UNIT_TEST("Two Master Drivers vs a Single Slave Monitor")
17031703

17041704
addr_min = 0;
1705-
addr_max = 4095;
1705+
addr_max = SLV0_END_ADDR;
17061706

17071707
@(posedge aclk);
17081708
mst_en = 4'h3;
@@ -1713,7 +1713,7 @@ module axicb_crossbar_top_testbench();
17131713
`UNIT_TEST("Three Master Drivers vs a Single Slave Monitor")
17141714

17151715
addr_min = 0;
1716-
addr_max = 4095;
1716+
addr_max = SLV0_END_ADDR;
17171717

17181718
@(posedge aclk);
17191719
mst_en = 4'h7;
@@ -1724,7 +1724,7 @@ module axicb_crossbar_top_testbench();
17241724
`UNIT_TEST("Four Master Drivers vs a Single Slave Monitor")
17251725

17261726
addr_min = 0;
1727-
addr_max = 4095;
1727+
addr_max = SLV0_END_ADDR;
17281728

17291729
@(posedge aclk);
17301730
mst_en = 4'hF;
@@ -1735,7 +1735,7 @@ module axicb_crossbar_top_testbench();
17351735
`UNIT_TEST("Two Master Drivers vs Two Slave Monitors")
17361736

17371737
addr_min = 0;
1738-
addr_max = 8191;
1738+
addr_max = SLV1_END_ADDR;
17391739

17401740
@(posedge aclk);
17411741
mst_en = 4'h3;
@@ -1746,7 +1746,7 @@ module axicb_crossbar_top_testbench();
17461746
`UNIT_TEST("Three Master Drivers vs Two Slave Monitors")
17471747

17481748
addr_min = 0;
1749-
addr_max = 8191;
1749+
addr_max = SLV1_END_ADDR;
17501750

17511751
@(posedge aclk);
17521752
mst_en = 4'h7;
@@ -1757,7 +1757,7 @@ module axicb_crossbar_top_testbench();
17571757
`UNIT_TEST("Four Master Drivers vs Two Slave Monitors")
17581758

17591759
addr_min = 0;
1760-
addr_max = 8191;
1760+
addr_max = SLV1_END_ADDR;
17611761

17621762
@(posedge aclk);
17631763
mst_en = 4'hF;
@@ -1768,7 +1768,7 @@ module axicb_crossbar_top_testbench();
17681768
`UNIT_TEST("Four Master Drivers vs Four Slave Monitors")
17691769

17701770
addr_min = 0;
1771-
addr_max = 16383;
1771+
addr_max = SLV3_END_ADDR;
17721772

17731773
@(posedge aclk);
17741774
mst_en = 4'hF;

0 commit comments

Comments
 (0)