Richard29
Member level 1
Hi,
I have a FIFO which has an interface that looks something like this:
This interface is given and I can't change is. The thing is now, for debugging purposes, I wanna see what is written and read to/from the FIFO. In other words, ideally I would like to assign two debug the in and out values of the FIFO, ie.
For obvious reasons, the second assignment gives me the following error message:
[exec] ERROR:HDLParsers:1401 - Object DOUT of mode OUT can not be read.
So I am wondering if there is any way how I can assing the DOUT value to my debug symbol. The interface is given, so I cant make DOUT an inout signal.
Many thanks for helpful comments!
I have a FIFO which has an interface that looks something like this:
Code:
entity fifo is
port (
CLK : IN std_logic := '0';
DIN : IN std_logic_vector(31 DOWNTO 0);
ALMOST_EMPTY : OUT std_logic;
ALMOST_FULL : OUT std_logic;
DOUT : OUT std_logic_vector(31 DOWNTO 0);
EMPTY : OUT std_logic;
FULL : OUT std_logic;
OVERFLOW : OUT std_logic;
WR_ACK : OUT std_logic
);
end fifo;
This interface is given and I can't change is. The thing is now, for debugging purposes, I wanna see what is written and read to/from the FIFO. In other words, ideally I would like to assign two debug the in and out values of the FIFO, ie.
Code:
DBG_FIFO_IN <= DIN;
DBG_FIFO_OUT <= DOUT;
For obvious reasons, the second assignment gives me the following error message:
[exec] ERROR:HDLParsers:1401 - Object DOUT of mode OUT can not be read.
So I am wondering if there is any way how I can assing the DOUT value to my debug symbol. The interface is given, so I cant make DOUT an inout signal.
Many thanks for helpful comments!