From 044ba7a49d99e120dba7286751ddb7a30eeda87a Mon Sep 17 00:00:00 2001 From: Robert Ghilduta Date: Mon, 13 Jan 2020 15:10:21 -0800 Subject: [PATCH] hdl: make FX3 GPIF controller match practical behavior --- hdl/fpga/platforms/common/bladerf/vhdl/fx3_gpif.vhd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hdl/fpga/platforms/common/bladerf/vhdl/fx3_gpif.vhd b/hdl/fpga/platforms/common/bladerf/vhdl/fx3_gpif.vhd index 73757404..b221b9f0 100644 --- a/hdl/fpga/platforms/common/bladerf/vhdl/fx3_gpif.vhd +++ b/hdl/fpga/platforms/common/bladerf/vhdl/fx3_gpif.vhd @@ -295,8 +295,8 @@ begin elsif (rising_edge(pclk)) then gpif_oe <= '0'; gpif_out <= (others => '1'); - tx_fifo_data <= (others => 'X'); - tx_meta_fifo_data <= (others => 'X'); + tx_fifo_data <= gpif_in; + tx_meta_fifo_data <= gpif_in; case (current.gpif_mode) is when IDLE => @@ -331,6 +331,7 @@ begin when TX_IGNORE => gpif_oe <= '0'; + tx_meta_fifo_data <= current.meta_buf(127 downto 96); end case; end if;