commit | 042513a711de667eb70403822ff1a631f0d76c27 | [log] [tgz] |
---|---|---|
author | Greg Chadwick <gac@lowrisc.org> | Fri Nov 25 20:56:28 2022 +0000 |
committer | Greg Chadwick <mail@gregchadwick.co.uk> | Mon Nov 28 14:40:29 2022 +0000 |
tree | a2feb29bf3d62676624dd6143865cf0b742bbb90 | |
parent | 744e074e698cb35076c810bc4c0aa6cebdd88d67 [diff] |
[dv, alert_handler] Disable some constraints for escalate sequences Without disabling these constraints the escalate sequences rarely trigger an escalation. Signed-off-by: Greg Chadwick <gac@lowrisc.org>
diff --git a/hw/ip_templates/alert_handler/dv/env/seq_lib/alert_handler_esc_alert_accum_vseq.sv b/hw/ip_templates/alert_handler/dv/env/seq_lib/alert_handler_esc_alert_accum_vseq.sv index 12a61f7..690ae56 100644 --- a/hw/ip_templates/alert_handler/dv/env/seq_lib/alert_handler_esc_alert_accum_vseq.sv +++ b/hw/ip_templates/alert_handler/dv/env/seq_lib/alert_handler_esc_alert_accum_vseq.sv
@@ -26,4 +26,9 @@ foreach (accum_thresh[i]) {accum_thresh[i] inside {[0:100]};} } + function void pre_randomize(); + this.enable_one_alert_c.constraint_mode(0); + this.enable_classa_only_c.constraint_mode(0); + endfunction + endclass : alert_handler_esc_alert_accum_vseq
diff --git a/hw/ip_templates/alert_handler/dv/env/seq_lib/alert_handler_esc_intr_timeout_vseq.sv b/hw/ip_templates/alert_handler/dv/env/seq_lib/alert_handler_esc_intr_timeout_vseq.sv index 555340d..3e054ec 100644 --- a/hw/ip_templates/alert_handler/dv/env/seq_lib/alert_handler_esc_intr_timeout_vseq.sv +++ b/hw/ip_templates/alert_handler/dv/env/seq_lib/alert_handler_esc_intr_timeout_vseq.sv
@@ -14,4 +14,9 @@ do_esc_intr_timeout == 1; } + function void pre_randomize(); + this.enable_one_alert_c.constraint_mode(0); + this.enable_classa_only_c.constraint_mode(0); + endfunction + endclass : alert_handler_esc_intr_timeout_vseq
diff --git a/hw/top_earlgrey/ip_autogen/alert_handler/dv/env/seq_lib/alert_handler_esc_alert_accum_vseq.sv b/hw/top_earlgrey/ip_autogen/alert_handler/dv/env/seq_lib/alert_handler_esc_alert_accum_vseq.sv index 12a61f7..690ae56 100644 --- a/hw/top_earlgrey/ip_autogen/alert_handler/dv/env/seq_lib/alert_handler_esc_alert_accum_vseq.sv +++ b/hw/top_earlgrey/ip_autogen/alert_handler/dv/env/seq_lib/alert_handler_esc_alert_accum_vseq.sv
@@ -26,4 +26,9 @@ foreach (accum_thresh[i]) {accum_thresh[i] inside {[0:100]};} } + function void pre_randomize(); + this.enable_one_alert_c.constraint_mode(0); + this.enable_classa_only_c.constraint_mode(0); + endfunction + endclass : alert_handler_esc_alert_accum_vseq
diff --git a/hw/top_earlgrey/ip_autogen/alert_handler/dv/env/seq_lib/alert_handler_esc_intr_timeout_vseq.sv b/hw/top_earlgrey/ip_autogen/alert_handler/dv/env/seq_lib/alert_handler_esc_intr_timeout_vseq.sv index 555340d..3e054ec 100644 --- a/hw/top_earlgrey/ip_autogen/alert_handler/dv/env/seq_lib/alert_handler_esc_intr_timeout_vseq.sv +++ b/hw/top_earlgrey/ip_autogen/alert_handler/dv/env/seq_lib/alert_handler_esc_intr_timeout_vseq.sv
@@ -14,4 +14,9 @@ do_esc_intr_timeout == 1; } + function void pre_randomize(); + this.enable_one_alert_c.constraint_mode(0); + this.enable_classa_only_c.constraint_mode(0); + endfunction + endclass : alert_handler_esc_intr_timeout_vseq