From 802b0e1a8c0f5ea0b60b7c618e5c07313c065768 Mon Sep 17 00:00:00 2001 From: Tim Fischer Date: Wed, 27 Sep 2023 10:34:46 +0200 Subject: [PATCH] synth: Define technology specific SRAM configuration signals --- src/synth/floo_synth_narrow_wide_chimney.sv | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/synth/floo_synth_narrow_wide_chimney.sv b/src/synth/floo_synth_narrow_wide_chimney.sv index 7b06437e..52a0e230 100644 --- a/src/synth/floo_synth_narrow_wide_chimney.sv +++ b/src/synth/floo_synth_narrow_wide_chimney.sv @@ -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 ), @@ -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,