Skip to content

Commit c4f6501

Browse files
devins2518cole-nelson
authored andcommitted
btb: fix random build error
1 parent a564d97 commit c4f6501

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • source_code/branch_predictors/btb

source_code/branch_predictors/btb/btb.sv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ module btb #(
3434
);
3535
import rv32i_types_pkg::*;
3636

37+
localparam ASSOC = 2;
3738
localparam N_SETS = NFRAMES / ASSOC;
3839
localparam N_TAG_BITS = 8 - PRED_BITS;
3940
localparam N_SET_BITS = $clog2(N_SETS) + (N_SETS == 1);

0 commit comments

Comments
 (0)