Skip to content

Commit

Permalink
synth: Define technology specific SRAM configuration signals
Browse files Browse the repository at this point in the history
  • Loading branch information
fischeti committed Sep 27, 2023
1 parent 2261738 commit 802b0e1
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/synth/floo_synth_narrow_wide_chimney.sv
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ module floo_synth_narrow_wide_chimney
input floo_wide_t floo_wide_i
);

`ifdef TARGET_GF12
typedef struct packed {
logic [2:0] ema;
logic [1:0] emaw;
logic [0:0] emas;
} sram_cfg_t;
`else
typedef logic sram_cfg_t;
`endif

floo_narrow_wide_chimney #(
.RouteAlgo ( floo_pkg::XYRouting ),
Expand All @@ -43,7 +52,8 @@ floo_narrow_wide_chimney #(
.WideRoBSimple ( WideRoBSimple ),
.CutAx ( CutAx ),
.CutRsp ( CutRsp ),
.xy_id_t ( xy_id_t )
.xy_id_t ( xy_id_t ),
.sram_cfg_t ( sram_cfg_t )
) i_floo_narrow_wide_chimney (
.clk_i,
.rst_ni,
Expand Down

0 comments on commit 802b0e1

Please sign in to comment.