Skip to content

Commit

Permalink
fix asid bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
LoveLonelyTime committed Feb 8, 2024
1 parent 47de084 commit 4ea4d3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/scala/lltriscv/core/record/TLB.scala
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ class TLB(depth: Int, data: Boolean) extends Module {
victim.uxwr := pte(4, 1)
victim.v := pte(0)
victim.mPage := mPage
victim.asid := io.satp(30, 22)
victim.valid := true.B
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ class InstructionRetire(depth: Int) extends Module {
io.predictorUpdate.entries(id).address := retireEntries(id).executeResult.real
}

when(retireEntries(id).pc === "hc019a528".U) {
when(retireEntries(id).pc === "hc00146b4".U) {
debugBreakpoint := true.B
}
when(debugBreakpoint) {
Expand Down

0 comments on commit 4ea4d3c

Please sign in to comment.