]> jspc29.x-matter.uni-frankfurt.de Git - trb3sc.git/commitdiff
Removing old Serdes I/O ports from designs
authorJan Michel <j.michel@gsi.de>
Wed, 23 Mar 2016 12:01:29 +0000 (13:01 +0100)
committerJan Michel <j.michel@gsi.de>
Wed, 23 Mar 2016 12:01:29 +0000 (13:01 +0100)
hubaddon/trb3sc_hubaddon.vhd
padiwa/trb3sc_padiwa.vhd
pulser/trb3sc_pulser.vhd
tdctemplate/trb3sc_tdctemplate.vhd
template/trb3sc_basic.vhd

index 68e238e0096a961860a722bcb18fcccadd259fd2..4e653262fbc24824c8a75f65e79348ff4e159a04 100644 (file)
@@ -41,10 +41,7 @@ entity trb3sc_hubaddon is
     SFP_MOD1             : inout std_logic_vector( 1 downto 0) := (others => 'Z');
     SFP_MOD2             : inout std_logic_vector( 1 downto 0) := (others => 'Z');
     SFP_TX_DIS           : out   std_logic_vector( 1 downto 0) := (others => '0');  
-    
-    SERDES_TX            : out   std_logic_vector(13 downto 0);
-    SERDES_RX            : in    std_logic_vector(13 downto 0);
-    
+
     LED_HUB_LINKOK       : out   std_logic_vector(6 downto 1);
     LED_HUB_RX           : out   std_logic_vector(6 downto 1);
     LED_HUB_TX           : out   std_logic_vector(6 downto 1);
@@ -215,12 +212,6 @@ THE_MEDIA_INTERFACE : entity work.med_ecp3_sfp_sync
     TX_DLM_WORD        => open,
     
     --SFP Connection
-    SD_RXD_P_IN        => SERDES_RX(0),
-    SD_RXD_N_IN        => SERDES_RX(1),
-    SD_TXD_P_OUT       => SERDES_TX(0),
-    SD_TXD_N_OUT       => SERDES_TX(1),
-    SD_REFCLK_P_IN     => '0',
-    SD_REFCLK_N_IN     => '0',
     SD_PRSNT_N_IN      => SFP_MOD0(1),
     SD_LOS_IN          => SFP_LOS(1),
     SD_TXDIS_OUT       => SFP_TX_DIS(1),
index b3ff0984374a8314c4e8b1e4f98e9cfe3cc01fc8..451cdca950640b0cb370096758b3e25e22a1a1fd 100644 (file)
@@ -63,9 +63,6 @@ entity trb3sc_padiwa is
     SFP_MOD2   : inout std_logic_vector(1 downto 0) := (others => 'Z');
     SFP_TX_DIS : out   std_logic_vector(1 downto 0) := (others => '0');
 
-    SERDES_TX : out std_logic_vector(1 downto 0);
-    SERDES_RX : in  std_logic_vector(1 downto 0);
-
     --Serdes switch
     PCSSW_ENSMB : out std_logic;
     PCSSW_EQ    : out std_logic_vector(3 downto 0);
@@ -220,12 +217,6 @@ begin
       TX_DLM_WORD => open,
 
       --SFP Connection
-      SD_RXD_P_IN    => SERDES_RX(0),
-      SD_RXD_N_IN    => SERDES_RX(1),
-      SD_TXD_P_OUT   => SERDES_TX(0),
-      SD_TXD_N_OUT   => SERDES_TX(1),
-      SD_REFCLK_P_IN => '0',
-      SD_REFCLK_N_IN => '0',
       SD_PRSNT_N_IN  => SFP_MOD0(1),
       SD_LOS_IN      => SFP_LOS(1),
       SD_TXDIS_OUT   => SFP_TX_DIS(1),
index c7dadc795fc564455d14a6e21f00bbb16e4a325c..c79f583f7f38ef1787a1a98cd76139ba96bc7d44 100644 (file)
@@ -71,10 +71,7 @@ entity trb3sc_pulser is
     SFP_MOD1             : inout std_logic_vector( 1 downto 0) := (others => 'Z');
     SFP_MOD2             : inout std_logic_vector( 1 downto 0) := (others => 'Z');
     SFP_TX_DIS           : out   std_logic_vector( 1 downto 0) := (others => '0');  
-    
-    SERDES_TX            : out   std_logic_vector(1 downto 0);
-    SERDES_RX            : in    std_logic_vector(1 downto 0);
-    
+
     --Serdes switch
     PCSSW_ENSMB          : out   std_logic;
     PCSSW_EQ             : out   std_logic_vector( 3 downto 0);
@@ -220,19 +217,17 @@ THE_MEDIA_INTERFACE : entity work.med_ecp3_sfp_sync
     TX_DLM             => open,
     TX_DLM_WORD        => open,
     
-      --SFP Connection
-      SD_REFCLK_P_IN => '0',
-      SD_REFCLK_N_IN => '0',
-      SD_PRSNT_N_IN  => sfp_prsnt_i,
-      SD_LOS_IN      => sfp_los_i,
-      SD_TXDIS_OUT   => sfp_txdis_i,
-      --Control Interface
-      BUS_RX         => bussci_rx,
-      BUS_TX         => bussci_tx,
-      -- Status and control port
-      STAT_DEBUG     => med_stat_debug(63 downto 0),
-      CTRL_DEBUG     => open
-      );
+    --SFP Connection
+    SD_PRSNT_N_IN  => sfp_prsnt_i,
+    SD_LOS_IN      => sfp_los_i,
+    SD_TXDIS_OUT   => sfp_txdis_i,
+    --Control Interface
+    BUS_RX         => bussci_rx,
+    BUS_TX         => bussci_tx,
+    -- Status and control port
+    STAT_DEBUG     => med_stat_debug(63 downto 0),
+    CTRL_DEBUG     => open
+    );
 
   SFP_TX_DIS(0) <= '1';
   gen_sfp_con : if SERDES_NUM = 3 generate
index 7f5359c36ec50650be7558bed8eb54b0a3dbe9cc..9180ee553e21f135c34c892a80925145c14f4694 100644 (file)
@@ -66,9 +66,6 @@ entity trb3sc_tdctemplate is
     SFP_MOD2   : inout std_logic_vector(1 downto 0) := (others => 'Z');
     SFP_TX_DIS : out   std_logic_vector(1 downto 0) := (others => '0');
 
-    SERDES_TX : out std_logic_vector(1 downto 0);
-    SERDES_RX : in  std_logic_vector(1 downto 0);
-
     --Serdes switch
     PCSSW_ENSMB : out std_logic;
     PCSSW_EQ    : out std_logic_vector(3 downto 0);
@@ -100,7 +97,7 @@ entity trb3sc_tdctemplate is
   attribute syn_useioff of FLASH_CS  : signal is true;
   attribute syn_useioff of FLASH_IN  : signal is true;
   attribute syn_useioff of FLASH_OUT : signal is true;
-
+  attribute syn_useioff of KEL       : signal is false;
 
   --Serdes:                                Backplane
   --Backplane A2,A3,A0,A1                  Slave 3,4,1,2,             A0: TrbNet from backplane
@@ -178,7 +175,7 @@ begin
 
       RESET_OUT => reset_i,
       CLEAR_OUT => clear_i,
-      GSR_OUT   => GSR_N,
+      GSR_OUT   => open,
 
       FULL_CLK_OUT => clk_full,
       SYS_CLK_OUT  => clk_sys,
@@ -196,6 +193,8 @@ begin
       CLKOP => clk_cal,
       LOCK  => open);
 
+GSR_N <= reset_i;      
+      
 ---------------------------------------------------------------------------
 -- TrbNet Uplink
 ---------------------------------------------------------------------------
@@ -222,12 +221,6 @@ begin
       TX_DLM_WORD => open,
 
       --SFP Connection
---       SD_RXD_P_IN    => SERDES_RX(0),
---       SD_RXD_N_IN    => SERDES_RX(1),
---       SD_TXD_P_OUT   => SERDES_TX(0),
---       SD_TXD_N_OUT   => SERDES_TX(1),
---       SD_REFCLK_P_IN => '0',
---       SD_REFCLK_N_IN => '0',
       SD_PRSNT_N_IN  => SFP_MOD0(1),
       SD_LOS_IN      => SFP_LOS(1),
       SD_TXDIS_OUT   => SFP_TX_DIS(1),
index 3dfd1f323ef6dcdd33d89645559a0915527c3c1c..4590ca34d85084c83207c7b59538ac0fb13f75f1 100644 (file)
@@ -212,8 +212,6 @@ THE_CLOCK_RESET :  entity work.clock_reset_handler
       TX_DLM_WORD => open,
 
       --SFP Connection
-      SD_REFCLK_P_IN => '0',
-      SD_REFCLK_N_IN => '0',
       SD_PRSNT_N_IN  => sfp_prsnt_i,
       SD_LOS_IN      => sfp_los_i,
       SD_TXDIS_OUT   => sfp_txdis_i,