From: Thomas Gessler Date: Mon, 13 Jul 2020 08:47:20 +0000 (+0200) Subject: Move XCKU sync logic to own dir, fix bus logic X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=06cafe88053f03de6e25192ccf6eb7a265d4e02c;p=trbnet.git Move XCKU sync logic to own dir, fix bus logic Changes suggested by Jan Michel. --- diff --git a/media_interfaces/med_xcku_sfp_sync.vhd b/media_interfaces/med_xcku_sfp_sync.vhd index 091c952..36232f6 100644 --- a/media_interfaces/med_xcku_sfp_sync.vhd +++ b/media_interfaces/med_xcku_sfp_sync.vhd @@ -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); diff --git a/media_interfaces/sync/med_sync_control_xcku.vhd b/media_interfaces/sync/xcku/med_sync_control.vhd similarity index 100% rename from media_interfaces/sync/med_sync_control_xcku.vhd rename to media_interfaces/sync/xcku/med_sync_control.vhd diff --git a/media_interfaces/sync/rx_control_xcku.vhd b/media_interfaces/sync/xcku/rx_control.vhd similarity index 100% rename from media_interfaces/sync/rx_control_xcku.vhd rename to media_interfaces/sync/xcku/rx_control.vhd diff --git a/media_interfaces/sync/tx_control_xcku.vhd b/media_interfaces/sync/xcku/tx_control.vhd similarity index 100% rename from media_interfaces/sync/tx_control_xcku.vhd rename to media_interfaces/sync/xcku/tx_control.vhd