cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
cja@ike.no
Observer
Observer
8,492 Views
Registered: ‎02-20-2014

Simulation with FIFO_DUALCLOCK_MACRO

Hi,

 

I have instantiated the FIFO_DUALCLOCK_MACRO to my project, but when I open Vivado and try to simulate the module containing the FIFO I get a question-mark on the FIFO-submodule.

 

I have tried to add the source from the xilinx unimacro-directory, but the added source shows up as an additional module on the same level as my testbench...

 

What am I doing wrong?

 

Here is my instance:

 fifo : for i in 1 to 6 generate
    u1_ch1 : entity unimacro.FIFO_DUALCLOCK_MACRO
      generic map (
        DEVICE                  => "7SERIES",  -- Target Device: "VIRTEX5", "VIRTEX6", "7SERIES"
        ALMOST_FULL_OFFSET      => X"0100",  -- Sets almost full threshold
        ALMOST_EMPTY_OFFSET     => X"0100",  -- Sets the almost empty threshold
        DATA_WIDTH              => 36,  -- Valid values are 1-72 (37-72 only valid when FIFO_SIZE="36Kb")
        FIFO_SIZE               => "36Kb",   -- Target BRAM, "18Kb" or "36Kb"
        FIRST_WORD_FALL_THROUGH => false)  -- Sets the FIFO FWFT to TRUE or FALSE
      port map (
        ALMOSTEMPTY => open,
        ALMOSTFULL  => fifoAlmostFull(i),
        DO          => dataFromFifo(i),
        EMPTY       => fifoEmpty(i),
        FULL        => fifoFull(i),
        RDCOUNT     => unusedSignalButRequiredToGetTheModuleToCompile1,
        RDERR       => fifoReadErrorFlag(i),
        WRCOUNT     => unusedSignalButRequiredToGetTheModuleToCompile2,
        WRERR       => fifoWriteErrorFlag(i),
        DI          => dataToFifo(i),
        RDCLK       => clk,
        RDEN        => fifoReadEnable(i),
        RST         => reset,
        WRCLK       => sclk,
        WREN        => fifoWriteEnable(i));
  end generate fifo;

0 Kudos
1 Reply
vemulad
Xilinx Employee
Xilinx Employee
8,473 Views
Registered: ‎09-20-2012

Hi,

 

Check this related thread http://forums.xilinx.com/t5/Simulation-and-Verification/bram-tdp-marco-missing-when-instantiated-in-Vivado/td-p/511083/highlight/true

 

Thanks,

Deepika.

Thanks,
Deepika.
--------------------------------------------------------------------------------------------
Google your question before posting. If someone's post answers your question, mark the post as answer with "Accept as solution". If you see a particularly good and informative post, consider giving it Kudos (the star on the left)
0 Kudos