vwayhit corrected
This commit is contained in:
parent
c228964d6a
commit
f2bbfb2e20
3157
ifu_bp_ctl.fir
3157
ifu_bp_ctl.fir
File diff suppressed because it is too large
Load Diff
998
ifu_bp_ctl.v
998
ifu_bp_ctl.v
File diff suppressed because it is too large
Load Diff
|
@ -436,9 +436,7 @@ if(!BTB_FULLYA) {
|
|||
|
||||
// Writing is always done from dec or exu check if the dec have a valid data
|
||||
val btb_wr_addr = Mux(dec_tlu_error_wb.asBool, btb_error_addr_wb, exu_mp_addr)
|
||||
vwayhit_f := Mux1H(Seq(
|
||||
io.ifc_fetch_addr_f(0).asBool -> wayhit_f,
|
||||
io.ifc_fetch_addr_f(1).asBool -> Cat(wayhit_p1_f(0), wayhit_f(1)))) & Cat(eoc_mask, 1.U(1.W))
|
||||
vwayhit_f := ((Fill(2,io.ifc_fetch_addr_f(0)) & wayhit_f(1,0)) | (Fill(2,io.ifc_fetch_addr_f(1)) & Cat(wayhit_p1_f(0),wayhit_f(1)))) & Cat(eoc_mask,1.U)
|
||||
|
||||
val btb_bank0_rd_data_way0_out = (0 until LRU_SIZE).map(i => rvdffe(btb_wr_data, ((btb_wr_addr === i.U) & btb_wr_en_way0).asBool, clock, io.scan_mode))
|
||||
val btb_bank0_rd_data_way1_out = (0 until LRU_SIZE).map(i => rvdffe(btb_wr_data, ((btb_wr_addr === i.U) & btb_wr_en_way1).asBool, clock, io.scan_mode))
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue