Skip to content

Commit

Permalink
ubtb: bank ren should only depend on io.inMask
Browse files Browse the repository at this point in the history
  • Loading branch information
Lingrui98 committed Mar 2, 2021
1 parent 79e9a2e commit 9cce525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/xiangshan/frontend/uBTB.scala
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class MicroBTB extends BasePredictor
val read_resps = VecInit(banks.map(b => b.read_resp))

for (b <- 0 until PredictWidth) {
banks(b).read_pc.valid := io.pc.valid && io.inMask(b)
banks(b).read_pc.valid := io.inMask(b)
banks(b).read_pc.bits := io.pc.bits

out_ubtb_br_info.writeWay(b) := banks(b).to_write_way
Expand Down

0 comments on commit 9cce525

Please sign in to comment.