Skip to content

Commit

Permalink
Fixed btb for FPGA targets
Browse files Browse the repository at this point in the history
  • Loading branch information
FriedDede authored Oct 1, 2024
1 parent c6ae849 commit 699b586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/frontend/btb.sv
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ module btb #(
for (genvar i = 0; i < CVA6Cfg.INSTR_PER_FETCH; i++) begin : gen_btb_output
assign btb_ram_csel_prediction[i] = 1'b1;
assign btb_ram_we_prediction[i] = 1'b0;
assign btb_ram_wdata_prediction = '0;
assign btb_ram_wdata_prediction[i*BRAM_WORD_BITS+:BRAM_WORD_BITS] = '0;
assign btb_ram_addr_prediction[i*$clog2(NR_ROWS)+:$clog2(NR_ROWS)] = index;
assign btb_prediction_o[i] = btb_ram_rdata_prediction[i*BRAM_WORD_BITS+:BRAM_WORD_BITS];
end
Expand Down

0 comments on commit 699b586

Please sign in to comment.