]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
tx control: Fix signal_sync source clocks
authorThomas Gessler <Thomas.Gessler@exp2.physik.uni-giessen.de>
Wed, 30 Sep 2020 13:37:39 +0000 (15:37 +0200)
committerThomas Gessler <Thomas.Gessler@exp2.physik.uni-giessen.de>
Wed, 30 Sep 2020 16:35:25 +0000 (18:35 +0200)
TX_ALLOW_IN, RX_ALLOW_IN and SEND_LINK_RESET_IN are synchronous to the
system clock.

tx_allow_qtx is synchronous to the TXI clock.

media_interfaces/sync/tx_control.vhd

index 58d6d827345232210833856b813734bf61715e54..2126c74a608d7d497e095c9addfcdf1e9621e37f 100644 (file)
@@ -356,16 +356,16 @@ begin
 --
 ----------------------------------------------------------------------
 
-  txallow_sync  : signal_sync port map(RESET => '0',CLK0 => CLK_200, CLK1 => CLK_200,
+  txallow_sync  : signal_sync port map(RESET => '0',CLK0 => CLK_100, CLK1 => CLK_200,
                                           D_IN(0)  => TX_ALLOW_IN, 
                                           D_OUT(0) => tx_allow_qtx);
-  rxallow_sync  : signal_sync port map(RESET => '0',CLK0 => CLK_200, CLK1 => CLK_200,
+  rxallow_sync  : signal_sync port map(RESET => '0',CLK0 => CLK_100, CLK1 => CLK_200,
                                           D_IN(0)  => RX_ALLOW_IN, 
                                           D_OUT(0) => rx_allow_qtx);
-  sendres_sync  : signal_sync port map(RESET => '0',CLK0 => CLK_200, CLK1 => CLK_200,
+  sendres_sync  : signal_sync port map(RESET => '0',CLK0 => CLK_100, CLK1 => CLK_200,
                                           D_IN(0)  => SEND_LINK_RESET_IN, 
                                           D_OUT(0) => send_link_reset_qtx);
-  txallow_sync2 : signal_sync port map(RESET => '0',CLK0 => CLK_100, CLK1 => CLK_100,
+  txallow_sync2 : signal_sync port map(RESET => '0',CLK0 => CLK_200, CLK1 => CLK_100,
                                           D_IN(0)  => tx_allow_qtx, 
                                           D_OUT(0) => tx_allow_q);