From 28be060b08e1615f01276f175d3e8a2eda0aa5d0 Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Sat, 9 May 2020 15:38:22 +0200 Subject: [PATCH] make SED FPGA size flexible to cope with e.g. MDC-FEE --- code/sedcheck.vhd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/sedcheck.vhd b/code/sedcheck.vhd index d0c9ebf..46f6b9d 100644 --- a/code/sedcheck.vhd +++ b/code/sedcheck.vhd @@ -4,6 +4,7 @@ use ieee.numeric_std.all; library work; use work.trb_net_std.all; +use work.config.all; library ecp5um; use ecp5um.components.all; @@ -208,7 +209,7 @@ THE_SED : SEDGA generic map( CHECKALWAYS => "DISABLED", SED_CLK_FREQ => "38.8", - DEV_DENSITY => "85KUM" + DEV_DENSITY => FPGA_SIZE --"85KUM" ) port map( SEDENABLE => sed_enable, -- 2.43.0