From 0554714b52b83264b52cdfb08331a1cfa10c63e1 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Thu, 25 Mar 2010 21:08:50 +0000 Subject: [PATCH] - added dout_vld which corressponds to dout Committed on the Free edition of March Hare Software CVSNT Server. Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/ git-svn-id: http://moon:8086/svn/vhdl/trunk@821 cc03376c-175c-47c8-b038-4cd826a8556b --- lib/emac/src/emac_rx.vhd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/emac/src/emac_rx.vhd b/lib/emac/src/emac_rx.vhd index be8e689..1f5bdd0 100644 --- a/lib/emac/src/emac_rx.vhd +++ b/lib/emac/src/emac_rx.vhd @@ -16,6 +16,7 @@ ENTITY emac_rx IS ( clk : in STD_LOGIC; rst : in STD_LOGIC; + dout_vld : out STD_LOGIC; dout : out unsigned(31 downto 0); ctrl_in : in rx_ctrl_in_t; ctrl_out : out rx_ctrl_out_t; @@ -121,8 +122,9 @@ begin ctrl_out.rx_size <= cmd_fifo_dout(31 downto 16); ctrl_out.rx_vld <= not cmd_fifo_empty; ctrl_out.rx_er <= mii_rx_er; - + dout <= ram_dout_a; + mii_fifo_din <= "0000" & sipo_dout; mii_fifo_we <= sipo_dout_vld; @@ -209,7 +211,7 @@ fill_pointer: process(clk) begin if rising_edge(clk) then - ctrl_out.data_vld <= ctrl_in.data_read; + dout_vld <= ctrl_in.data_read; if fill_ptr_set = '1' then fill_ptr <= resize(cmd_fifo_dout(15 downto 0), word_ptr_t'length); elsif fill_ptr_adv = '1' then