Skip to content

Commit

Permalink
Fix typo for privileged (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
poemonsense authored Mar 29, 2024
1 parent 30bf828 commit faa0697
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/scala/Bundles.scala
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class TrapEvent extends DifftestBaseBundle {
}

class CSRState extends DifftestBaseBundle {
val priviledgeMode = UInt(64.W)
val privilegeMode = UInt(64.W)
val mstatus = UInt(64.W)
val sstatus = UInt(64.W)
val mepc = UInt(64.W)
Expand Down
2 changes: 1 addition & 1 deletion src/test/csrc/difftest/difftest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ void Difftest::display() {
printf("\n============== REF Regs ==============\n");
fflush(stdout);
proxy->ref_reg_display();
printf("priviledgeMode: %lu\n", dut->csr.priviledgeMode);
printf("privilegeMode: %lu\n", dut->csr.privilegeMode);
}

void CommitTrace::display(bool use_spike) {
Expand Down

0 comments on commit faa0697

Please sign in to comment.