Skip to content

Commit

Permalink
fix(Trigger): fix trigger's assign to exceptionGen in rob (OpenXiangS…
Browse files Browse the repository at this point in the history
  • Loading branch information
wissygh authored Sep 17, 2024
1 parent 6a8b2d5 commit b7dc2d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/xiangshan/backend/rob/Rob.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ class RobImp(override val wrapper: Rob)(implicit p: Parameters, params: BackendP
exc_wb.bits.singleStep := false.B
exc_wb.bits.crossPageIPFFix := false.B
// TODO: make trigger configurable
val trigger = wb.bits.trigger.getOrElse(0.U).asTypeOf(exc_wb.bits.trigger)
val trigger = wb.bits.trigger.getOrElse(TriggerAction.None).asTypeOf(exc_wb.bits.trigger)
exc_wb.bits.trigger := trigger
exc_wb.bits.vstartEn := false.B //wb.bits.vstartEn.getOrElse(false.B) // todo need add vstart in ExuOutput
exc_wb.bits.vstart := 0.U //wb.bits.vstart.getOrElse(0.U)
Expand Down

0 comments on commit b7dc2d1

Please sign in to comment.