Skip to content

Commit c5a959d

Browse files
committed
APP-UVM: [BUGFIX] Increased module/end timeouts due to very slow sequences
1 parent 062c175 commit c5a959d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

app/uvm/tests/base.sv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class base#(ETH_STREAMS, ETH_CHANNELS, ETH_PKT_MTU, ETH_RX_HDR_WIDTH, ETH_TX_HDR
4545
endfunction
4646

4747
function void connect_phase(uvm_phase phase);
48-
m_env.delay_max_set(1ms);
48+
m_env.delay_max_set(10ms, 10ms);
4949
endfunction
5050

5151
virtual task run_reset(uvm_phase phase);
@@ -151,7 +151,7 @@ class base#(ETH_STREAMS, ETH_CHANNELS, ETH_PKT_MTU, ETH_RX_HDR_WIDTH, ETH_TX_HDR
151151
stop_seq.start(m_env.m_sequencer);
152152
join_none;
153153

154-
end_time = $time() + 1ms; // Prevents verification from freezing after a very long time!
154+
end_time = $time() + 50ms; // Prevents verification from freezing after a very long time!
155155
rdy2end = 0;
156156
while (end_time > $time() && rdy2end < 5) begin
157157
// The check of the number of incomplete packets in the verification must pass repeatedly!

app/uvm/tests/fifo.sv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ class fifo#(ETH_STREAMS, ETH_CHANNELS, ETH_PKT_MTU, ETH_RX_HDR_WIDTH, ETH_TX_HDR
358358

359359
function void connect_phase(uvm_phase phase);
360360
super.connect_phase(phase);
361-
m_env.delay_max_set(1ms);
361+
m_env.delay_max_set(10ms, 10ms);
362362
endfunction
363363

364364
virtual task run_phase(uvm_phase phase);
@@ -405,7 +405,7 @@ class fifo#(ETH_STREAMS, ETH_CHANNELS, ETH_PKT_MTU, ETH_RX_HDR_WIDTH, ETH_TX_HDR
405405
stop_seq.start(m_env.m_sequencer);
406406
join_none;
407407

408-
end_time = $time() + 1ms; // Prevents verification from freezing after a very long time!
408+
end_time = $time() + 50ms; // Prevents verification from freezing after a very long time!
409409
rdy2end = 0;
410410
while (end_time > $time() && rdy2end < 5) begin
411411
// The check of the number of incomplete packets in the verification must pass repeatedly!

app/uvm/tests/full_speed.sv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class full_speed#(ETH_STREAMS, ETH_CHANNELS, ETH_PKT_MTU, ETH_RX_HDR_WIDTH, ETH_
136136

137137
function void connect_phase(uvm_phase phase);
138138
super.connect_phase(phase);
139-
m_env.delay_max_set(1ms);
139+
m_env.delay_max_set(10ms, 10ms);
140140
endfunction
141141

142142
virtual task run_phase(uvm_phase phase);
@@ -188,7 +188,7 @@ class full_speed#(ETH_STREAMS, ETH_CHANNELS, ETH_PKT_MTU, ETH_RX_HDR_WIDTH, ETH_
188188
stop_seq.start(m_env.m_sequencer);
189189
join_none;
190190

191-
end_time = $time() + 1ms; // Prevents verification from freezing after a very long time!
191+
end_time = $time() + 50ms; // Prevents verification from freezing after a very long time!
192192
rdy2end = 0;
193193
while (end_time > $time() && rdy2end < 5) begin
194194
// The check of the number of incomplete packets in the verification must pass repeatedly!

0 commit comments

Comments
 (0)