mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 04:47:25 -04:00
[dv] Quit on UVM errors by default
This commit is contained in:
parent
0852120462
commit
75148da58c
1 changed files with 7 additions and 0 deletions
|
@ -13,6 +13,7 @@ class core_ibex_base_test extends uvm_test;
|
|||
core_ibex_vseq vseq;
|
||||
bit enable_irq_seq;
|
||||
int unsigned timeout_in_cycles = 100000000;
|
||||
int unsigned max_quit_count = 1;
|
||||
// If no signature_addr handshake functionality is desired between the testbench and the generated
|
||||
// code, the test will wait for the specifield number of cycles before starting stimulus
|
||||
// sequences (irq and debug)
|
||||
|
@ -76,6 +77,12 @@ class core_ibex_base_test extends uvm_test;
|
|||
phase.drop_objection(this);
|
||||
endtask
|
||||
|
||||
virtual function void end_of_elaboration_phase(uvm_phase phase);
|
||||
super.end_of_elaboration_phase(phase);
|
||||
void'($value$plusargs("max_quit_count=%0d", max_quit_count));
|
||||
uvm_report_server::get_server().set_max_quit_count(max_quit_count);
|
||||
endfunction
|
||||
|
||||
virtual function void report_phase(uvm_phase phase);
|
||||
super.report_phase(phase);
|
||||
endfunction
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue