]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
rx_control: Use system clock for sampling rx_allow
authorThomas Gessler <Thomas.Gessler@exp2.physik.uni-giessen.de>
Wed, 30 Sep 2020 13:21:31 +0000 (15:21 +0200)
committerThomas Gessler <Thomas.Gessler@exp2.physik.uni-giessen.de>
Wed, 30 Sep 2020 16:35:21 +0000 (18:35 +0200)
rx_allow is synchronous to the system clock. ct_fifo_reset is
asynchronous and can therefore be produced with the system clock to
avoid timing errors.

media_interfaces/sync/rx_control.vhd

index 88c91fbce327fa3e934927ca49dbc15f6bc73b08..8e8085b1874999403acdda175359d8d8a03aa678 100644 (file)
@@ -128,7 +128,7 @@ THE_CT_FIFO : entity work.lattice_ecp3_fifo_18x16_dualport_oreg
     AlmostFull        => ct_fifo_afull
     );
 
-ct_fifo_reset <= not RX_ALLOW_IN when rising_edge(CLK_200);    
+ct_fifo_reset <= not RX_ALLOW_IN when rising_edge(CLK_100);    
 
 
 ----------------------------------------------------------------------