]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
Move XCKU sync logic to own dir, fix bus logic
authorThomas Gessler <Thomas.Gessler@exp2.physik.uni-giessen.de>
Mon, 13 Jul 2020 08:47:20 +0000 (10:47 +0200)
committerThomas Gessler <Thomas.Gessler@exp2.physik.uni-giessen.de>
Mon, 13 Jul 2020 08:54:39 +0000 (10:54 +0200)
Changes suggested by Jan Michel.

media_interfaces/med_xcku_sfp_sync.vhd
media_interfaces/sync/xcku/med_sync_control.vhd [moved from media_interfaces/sync/med_sync_control_xcku.vhd with 100% similarity]
media_interfaces/sync/xcku/rx_control.vhd [moved from media_interfaces/sync/rx_control_xcku.vhd with 100% similarity]
media_interfaces/sync/xcku/tx_control.vhd [moved from media_interfaces/sync/tx_control_xcku.vhd with 100% similarity]

index 091c952e3820afdc4f76ee5b16b9c3c07662e506..36232f68416fda02b6de8edfaef6ce76359ee864 100644 (file)
@@ -241,8 +241,8 @@ THE_MED_CONTROL : entity work.med_sync_control
 
 THE_BUS : process begin
   wait until rising_edge(SYSCLK);
-  BUS_TX.unknown <= '1';
-  BUS_TX.ack     <= '1';
+  BUS_TX.unknown <= BUS_RX.read or BUS_RX.write;
+  BUS_TX.ack     <= '0';
 end process;
 
 -- STAT_DEBUG(4 downto 0)   <= debug_rx_control_i(4 downto 0);