]> jspc29.x-matter.uni-frankfurt.de Git - dirich.git/commitdiff
make SED FPGA size flexible to cope with e.g. MDC-FEE
authorJan Michel <j.michel@gsi.de>
Sat, 9 May 2020 13:38:22 +0000 (15:38 +0200)
committerJan Michel <j.michel@gsi.de>
Sat, 9 May 2020 13:46:04 +0000 (15:46 +0200)
code/sedcheck.vhd

index d0c9ebff8541f14e0eb60f6aca965fa41cdea52b..46f6b9d7638d4ba43bb57669eb7b7ce42eed42de 100644 (file)
@@ -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,