Reading OUT ports for debugging

前端 未结 3 1083
鱼传尺愫
鱼传尺愫 2021-01-22 07:52

I have a FIFO which has an interface that looks something like this:

entity fifo is
    port (
    CLK               : IN  std_logic := \'0\';
    DIN                    


        
3条回答
  •  不知归路
    2021-01-22 08:35

    You have to assign the fifo output to a local signal you can read, then assign that signal to the output (or assign them both in parallel):

    DBG_FIFO_OUT <= (your logic here);
    DOUT         <= DBG_FIFO_OUT;
    

    or

    DBG_FIFO_OUT <= (your logic here);
    DOUT         <= (your logic here);
    

提交回复
热议问题