Skip to content

Commit

Permalink
Set fp sboard for vector writes into fpregfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryz123 committed Mar 30, 2024
1 parent 8ff7929 commit 521a1d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/rocket/RocketCore.scala
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ class Rocket(tile: RocketTile)(implicit p: Parameters) extends CoreModule()(p)

val id_stall_fpu = if (usingFPU) {
val fp_sboard = new Scoreboard(32)
fp_sboard.set((wb_dcache_miss && wb_ctrl.wfd || io.fpu.sboard_set) && wb_valid, wb_waddr)
fp_sboard.set(((wb_dcache_miss || wb_ctrl.vec) && wb_ctrl.wfd || io.fpu.sboard_set) && wb_valid, wb_waddr)
val v_ll = io.vector.map(v => v.resp.fire && v.resp.bits.fp).getOrElse(false.B)
fp_sboard.clear((dmem_resp_replay && dmem_resp_fpu) || v_ll, io.fpu.ll_resp_tag)
fp_sboard.clear(io.fpu.sboard_clr, io.fpu.sboard_clra)
Expand Down

0 comments on commit 521a1d1

Please sign in to comment.