From: Jan Michel Date: Fri, 5 Jun 2015 12:42:31 +0000 (+0200) Subject: new entities and serdes configurations X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=73447967951e686a0d42c7125dcdedcc360cb9b5;p=trb3.git new entities and serdes configurations --- diff --git a/base/linkdesignfiles.sh b/base/linkdesignfiles.sh index e3d2db1..9b1bc0d 100755 --- a/base/linkdesignfiles.sh +++ b/base/linkdesignfiles.sh @@ -27,6 +27,7 @@ ln -sf $prefix/../../../trbnet/media_interfaces/ecp3_sfp/sfp_1_125_int.txt ln -sf $prefix/../../../trbnet/media_interfaces/ecp3_sfp/sfp_0_200_ctc.txt ln -sf $prefix/../../../trbnet/media_interfaces/ecp3_sfp/serdes_onboard_full.txt ln -sf $prefix/../../../trbnet/media_interfaces/ecp3_sfp/serdes_sync_0.txt +ln -sf $prefix/../../../trbnet/media_interfaces/ecp3_sfp/serdes_sync_3.txt ln -sf $prefix/../../../trbnet/media_interfaces/ecp3_sfp/serdes_sync_125_0.txt ln -sf $prefix/../../../trbnet/media_interfaces/ecp3_sfp/serdes_full_ctc.txt diff --git a/base/trb3_components.vhd b/base/trb3_components.vhd index 5af6f3c..339c482 100644 --- a/base/trb3_components.vhd +++ b/base/trb3_components.vhd @@ -10,6 +10,22 @@ package trb3_components is type unsigned_array_8 is array (integer range <>) of unsigned(7 downto 0); type unsigned_array_5 is array (integer range <>) of unsigned(4 downto 0); + +component dcs +-- synthesis translate_off + generic ( + DCSMODE : string := "POS" + ); +-- synthesis translate_on + port ( + CLK0 :IN std_logic ; + CLK1 :IN std_logic ; + SEL :IN std_logic ; + DCSOUT :OUT std_logic + ) ; +end component; + + component oddr is port ( clk : in std_logic;