Skip to content

Commit

Permalink
fix(vstval): update vstval when trigger generate breakpoint exception
Browse files Browse the repository at this point in the history
  • Loading branch information
wissygh authored and Tang-Haojin committed Nov 18, 2024
1 parent cc89a8a commit 1035522
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class TrapEntryVSEventModule(implicit val p: Parameters) extends Module with CSR
// We fill pc here
private val tvalFillPc = isFetchExcp && !fetchCrossPage || isFetchBkpt
private val tvalFillPcPlus2 = isFetchExcp && fetchCrossPage
private val tvalFillMemVaddr = isMemExcp
private val tvalFillMemVaddr = isMemExcp || isMemBkpt
private val tvalFillGVA =
(isFetchExcp || isFetchBkpt) && fetchIsVirt ||
(isMemExcp || isMemBkpt) && memIsVirt
Expand Down

0 comments on commit 1035522

Please sign in to comment.