- 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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user