Skip to content

Commit

Permalink
rob: Small parametrization improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
fischeti committed Sep 12, 2023
1 parent 88133e5 commit ccddd0c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/floo_rob.sv
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@ module floo_rob #(
parameter type rsp_chan_t = logic,
parameter type rsp_data_t = logic,
parameter type rsp_meta_t = logic,
parameter type rob_idx_t = logic[$clog2(ReorderBufferSize)-1:0],
parameter type rob_idx_t = logic,
parameter type dest_t = logic,
// Type for implementation inputs and outputs
parameter type sram_cfg_t = logic,
// Dependent parameters, DO NOT OVERRIDE!
localparam type rob_flag_t = logic[ReorderBufferSize-1:0]
parameter type sram_cfg_t = logic
) (
input logic clk_i,
input logic rst_ni,
Expand Down Expand Up @@ -56,6 +54,7 @@ module floo_rob #(
localparam int unsigned NumIds = 2**AxiIdWidth;
typedef logic[AxiIdWidth-1:0] axi_id_t;
typedef logic[$clog2(NumIds)-1:0] num_id_t;
typedef logic[ReorderBufferSize-1:0] rob_flag_t;

/////////////////////////
// Transaction Table //
Expand Down

0 comments on commit ccddd0c

Please sign in to comment.