Skip to content

Commit

Permalink
Update core/frontend/bht.sv
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent cfe9757 commit d3a4f40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/frontend/bht.sv
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ module bht #(
bht = '0;

for (int i = 0; i < CVA6Cfg.INSTR_PER_FETCH; i++) begin
bht_ram_read_address_0[i*$clog2(NR_ROWS)+:$clog2(NR_ROWS)] = index;
bht_prediction_o[i].valid = bht_ram_rdata_0[i*BRAM_WORD_BITS+2];
bht_prediction_o[i].taken = bht_ram_rdata_0[i*BRAM_WORD_BITS+1];
bht_ram_read_address_0[i*$clog2(NR_ROWS)+:$clog2(NR_ROWS)] = index;
bht_prediction_o[i].valid = bht_ram_rdata_0[i*BRAM_WORD_BITS+2];
bht_prediction_o[i].taken = bht_ram_rdata_0[i*BRAM_WORD_BITS+1];
end

if (bht_update_i.valid && !debug_mode_i) begin
Expand Down

0 comments on commit d3a4f40

Please sign in to comment.