Skip to content

Commit

Permalink
[rocc] Fix Rocc PNR waking
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryz123 committed May 10, 2019
1 parent 65936a1 commit f4968d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/scala/exu/core.scala
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,8 @@ class BoomCore(implicit p: Parameters, edge: freechips.rocketchip.tilelink.TLEdg
// The 0th wakeup port goes to the ll_wbarb
int_iss_wakeups(0).valid := ll_wbarb.io.out.fire() && ll_wbarb.io.out.bits.uop.dst_rtype === RT_FIX
int_iss_wakeups(0).bits := ll_wbarb.io.out.bits
int_ren_wakeups(0).valid := ll_wbarb.io.out.fire()

int_ren_wakeups(0).valid := ll_wbarb.io.out.fire() && ll_wbarb.io.out.bits.uop.dst_rtype === RT_FIX
int_ren_wakeups(0).bits := ll_wbarb.io.out.bits

// loop through each issue-port (exe_units are statically connected to an issue-port)
Expand Down
1 change: 1 addition & 0 deletions src/main/scala/exu/rob.scala
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,7 @@ class Rob(
full := rob_tail === rob_head && maybe_full
empty := (rob_head === rob_tail) && (rob_head_vals.asUInt === 0.U)

io.rob_head_idx := rob_head_idx
io.rob_tail_idx := rob_tail_idx
io.rob_pnr_idx := rob_pnr_idx
io.empty := empty
Expand Down

0 comments on commit f4968d7

Please sign in to comment.