You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (pc_is_mtvec_addr() || (cv32e40p_rvvi_vif.trap && is_trap)) begin is_trap =1; enter_hwloop_sub =1; has_pending_trap_due2_irq =0; continue; end// if pc is exception related
1032
-
elsebegin is_ebreak =0; is_ecall =0; is_illegal =0; is_trap =0; enter_hwloop_sub =0; has_pending_trap_due2_irq =0; continue; end// if pc is non-exception related
1031
+
elsebegin is_ebreak =0; is_ecall =0; is_illegal =0; is_trap =0; enter_hwloop_sub =0; has_pending_trap_due2_irq =0; end// if pc is non-exception related
1033
1032
end
1034
1033
if (is_dbg_mode) begin
1035
1034
if (prev_is_lpend_main[0] && prev_is_trap &&!is_ebreakm) hwloop_stat_main.track_lp_cnt[0]++;
@@ -1039,7 +1038,7 @@ class uvme_rv32x_hwloop_covg # (
1039
1038
if (has_pending_trap_due2_dbg) begin// e.g exception event intercept with debug step
1040
1039
assert (!dcsr_cause_t'(cv32e40p_rvvi_vif.csr_dcsr_cause) !=STEP); // this is not mean for step debug
1041
1040
if (pc_is_mtvec_addr() || (cv32e40p_rvvi_vif.trap && is_trap)) begin is_trap =1; enter_hwloop_sub =1; has_pending_trap_due2_dbg =0; continue; end// if pc is exception related
1042
-
elsebegin is_ebreak =0; is_ecall =0; is_illegal =0; is_trap =0; enter_hwloop_sub =0; has_pending_trap_due2_dbg =0; continue; end// if pc is non-exception related
1041
+
elsebegin is_ebreak =0; is_ecall =0; is_illegal =0; is_trap =0; enter_hwloop_sub =0; has_pending_trap_due2_dbg =0; end// if pc is non-exception related
1043
1042
end
1044
1043
if (cv32e40p_rvvi_vif.csr_dcsr_ebreakm && cv32e40p_rvvi_vif.insn ==TB_INSTR_EBREAK) is_ebreakm =1; else is_ebreakm =0;
1045
1044
if (cv32e40p_rvvi_vif.trap) prev_is_trap =1; else prev_is_trap =0;
0 commit comments