]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
add few more registers to sync media interface
authorJan Michel <j.michel@gsi.de>
Wed, 28 Mar 2018 14:24:29 +0000 (16:24 +0200)
committerJan Michel <j.michel@gsi.de>
Wed, 28 Mar 2018 14:24:29 +0000 (16:24 +0200)
media_interfaces/med_ecp3_sfp_sync_4.vhd
media_interfaces/sync/sci_reader.vhd
media_interfaces/trb_net16_med_ecp3_sfp_4.vhd

index 82c3e92c865d8438b710204b8651f597fbbc0d30..02612ebc67897889183e93e7848878a8f1377ab5 100644 (file)
@@ -342,8 +342,8 @@ THE_SCI_READER : entity work.sci_reader
     
     MEDIA_STATUS_REG_IN(31 downto 0)   => stat_rx_control_i(31 downto 0),
     MEDIA_STATUS_REG_IN(63 downto 32)  => stat_tx_control_i(31 downto 0),
-    MEDIA_STATUS_REG_IN(95 downto 64)  => stat_fsm_reset_i(31 downto 0),
-    MEDIA_STATUS_REG_IN(127 downto 96) => (others => '0'),
+    MEDIA_STATUS_REG_IN(191 downto 64)  => stat_fsm_reset_i(127 downto 0),
+    MEDIA_STATUS_REG_IN(255 downto 192) => (others => '0'),
     DEBUG_OUT   => open
     );
 
index eec723d20e60944e76c7d7f2f63da723b2569520..8f17fe023bc90ce461d0c2b276f8df0af15e93bb 100644 (file)
@@ -28,7 +28,7 @@ entity sci_reader is
     BUS_RX      : in  CTRLBUS_RX;
     BUS_TX      : out CTRLBUS_TX;    
     
-    MEDIA_STATUS_REG_IN : in std_logic_vector(127 downto 0);
+    MEDIA_STATUS_REG_IN : in std_logic_vector(255 downto 0) := (others => '0');
     DEBUG_OUT   : out std_logic_vector(31 downto 0)
     );
 end entity;
@@ -144,4 +144,4 @@ begin
   
 end process;
 
-end architecture;
\ No newline at end of file
+end architecture;
index ba4dfc5295bea24f70ea828854c8cd532a9254b5..90999a7f8509d7622946cc85338c2a8104d1ba32 100644 (file)
@@ -280,7 +280,7 @@ gen_LSM : for i in 0 to 3 generate
         STAT_DEBUG        => buf_stat_debug(i*32+31 downto i*32)
         );
 
-  sd_txdis_out(i) <= quad_rst(i) or reset_i;
+  sd_txdis_out(i) <= '0'; --quad_rst(i) or reset_i;
 
   ffc_quad_rst         <= quad_rst(0);
   ffc_lane_tx_rst(i)   <= lane_rst(i);
@@ -944,4 +944,4 @@ gen_outputs : for i in 0 to 3 generate
   stat_debug(i*64+63 downto i*64+60) <= buf_stat_debug(i*16+3 downto i*16+0);
 end generate;
 
-end architecture;
\ No newline at end of file
+end architecture;