]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
fixed missing ff_txfullclk.
authorhadaq <hadaq>
Thu, 30 Jul 2009 13:01:38 +0000 (13:01 +0000)
committerhadaq <hadaq>
Thu, 30 Jul 2009 13:01:38 +0000 (13:01 +0000)
media_interfaces/trb_net16_med_ecp_sfp_4_gbe.vhd

index 33299c4ff44ef1d09557f382f05856c8a447964d..e8b913141283874d152806b1c8e6682f9733ac9f 100755 (executable)
@@ -551,6 +551,7 @@ begin
         ffc_macro_rst        => '0',
         ffc_quad_rst         => quad_rst(0),
         ffc_trst             => '0',
+        ff_txfullclk         => ff_txfullclk,
         ff_txhalfclk         => ff_txhalfclk,
         refck2core           => REFCLK2CORE_OUT,
         ffs_plol             => ffs_plol
@@ -689,6 +690,7 @@ begin
         ffc_macro_rst        => '0',
         ffc_quad_rst         => quad_rst(0),
         ffc_trst             => '0',
+        ff_txfullclk         => ff_txfullclk,
         ff_txhalfclk         => ff_txhalfclk,
         refck2core           => REFCLK2CORE_OUT,
         ffs_plol             => ffs_plol
@@ -724,7 +726,7 @@ begin
 
     THE_BYTE_SWAP_PROC: process( ff_txhalfclk )
       begin
-        if( rising_edge(ff_txhalfclk(i)) ) then
+        if( rising_edge(ff_txhalfclk) ) then
           last_rx(9*i+8 downto 9*i) <= rx_k(i*2+1) & rx_data(i*16+15 downto i*16+8);
           if( swap_bytes_qrx(i) = '0' ) then
             fifo_rx_din(i*18+17 downto i*18) <= rx_k(i*2+1) & rx_k(i*2) & rx_data(i*16+15 downto i*16+8)