File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed
Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -164,9 +164,11 @@ main() {
164164 # Install SVUT and Icarus Verilog if needed
165165 install_svut
166166 install_icarus
167- # Run all testsuites against all configurations
167+ # Run all testsuites against all configurations,
168+ # no timeout setup to avoid false error if wrongly
169+ # configured
168170 cd " $DIR /test/svut"
169- ./run.sh --no-debug-log --no-wave
171+ ./run.sh --no-debug-log --no-wave -m 10000 -t 0
170172 ret=$?
171173 echo " Execution status: $ret "
172174 exit $ret
Original file line number Diff line number Diff line change @@ -1625,11 +1625,13 @@ module axicb_crossbar_top_testbench();
16251625
16261626 fork
16271627 begin
1628- while (timeout< `TIMEOUT ) begin
1629- @ (posedge aclk);
1630- timeout = timeout + 1 ;
1628+ if (TIMEOUT_VALUE > 0 ) begin
1629+ while (timeout< TIMEOUT_VALUE ) begin
1630+ @ (posedge aclk);
1631+ timeout = timeout + 1 ;
1632+ end
1633+ `ASSERT ((timeout< `TIMEOUT ), " Testcase reached timeout" );
16311634 end
1632- `ASSERT ((timeout< `TIMEOUT ), " Testcase reached timeout" );
16331635 end
16341636 begin
16351637 while (nb_reqs< `MAX_TRAFFIC ) begin
@@ -1665,7 +1667,11 @@ module axicb_crossbar_top_testbench();
16651667 $display (" ------------------------" );
16661668 $display (" " );
16671669 $display (" - Configuration: %s " , tsname);
1668- $display (" - Testbench timeout: %0d cycles" , `TIMEOUT );
1670+ if (TIMEOUT_VALUE > 0 ) begin
1671+ $display (" - Testbench timeout: %0d cycles" , `TIMEOUT );
1672+ end else begin
1673+ $display (" - Testbench timeout: deactivated" );
1674+ end
16691675 $display (" - Outstanding request timeout: %0d cycles" , `OR_TIMEOUT );
16701676 $display (" - Maximum traffic: %0d " , `MAX_TRAFFIC );
16711677 $display (" - AXI_ADDR_W: %0d " , `AXI_ADDR_W );
You can’t perform that action at this time.
0 commit comments