UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Reply

Asymmetric, Dual Port Block RAM output simulation issue

Accepted Solution Solved
Highlighted
Visitor
Posts: 6
Registered: ‎04-08-2015
Accepted Solution

Asymmetric, Dual Port Block RAM output simulation issue

Hello everyone,

I'm writing because I have a problem simulating Brams generated via Block Memory Generator 8.3 IP, and I dind't find anything on the forum.

When I simulate a design inlcuding a memory with this kind of configuration:

Mode: standalone
Mem type. both "True dual port RAM" and "Simple dual port Ram",
common clock NOT selected,
Generate address interface with 32 bits,
Port A: 256 bit, Write/Read depth: 1280 words
Port B: 64 bit


The output of the second port always generates "X"s.

This happens also whith the block memory generator example deign.

All the designs were targeted for Kintex ultrascale XCKU040 and Virtex 7 (XC7VX550).

I'm running Vivado 2016.3.

The tool used to simulate is vivado simulator.

By looking at the waveforms of simulation, it seems to me that the cause could be the internal portb address of the bmg ip, which has some bits always set to 'Z' (see image).

bmg_fail_TB.jpg

Has anyone else met this behaviour? Am I missing something?

Thanks for the help,
best regards,

Fabrizio


Accepted Solutions
Moderator
Posts: 5,564
Registered: ‎09-20-2012

Re: Asymmetric, Dual Port Block RAM output simulation issue

[ Edited ]

Hi @fabrizio.marchese

 

This issue is not seen in behavioral simulation in vivado 2017.1. Vivado 2017.1 is scheduled for release in next quarter, is it possible for you to wait for the release and upgrade your design?

 

 

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)

View solution in original post


All Replies
Voyager
Posts: 322
Registered: ‎04-21-2014

Re: Asymmetric, Dual Port Block RAM output simulation issue


fabrizio.marchese wrote:

Hello everyone,
...

Has anyone else met this behaviour? Am I missing something?

Thanks for the help,
best regards,

Fabrizio


@fabrizio.marchese My guess is you're missing the fact that some of the bits on the port b address bus are high impedance 'Z'.

***Many of us who help you are just FPGA enthusiasts, and not Xilinx employees. If you receive help, and give kudos (star), you're likely to continue receiving help in the future. If you get a solution, please mark it as a solution.***
Visitor
Posts: 6
Registered: ‎04-08-2015

Re: Asymmetric, Dual Port Block RAM output simulation issue

Thanks for replying.

 

I'm pretty sure too the problem lies in some bits of thet address being set to 'Z', bat that address highlighted in the waveform is an internal address of bmg encrypted hdl, so it is neither editable nor accessible.

Before entering the bgm hdl block, both adresses are perfectly ok.

And I've checked also that there are not some strange signal values at the beginning of the simulation.

But, as already entioned, also IP generated example design fails.

 

I've found the problem arises only when the simulator langage is set to "mixed", when setting language to "VHDL" or "Verilog" (but the simulation runs much slower than same project in Vivado2015.2)

 

 

 

 

 

 

Moderator
Posts: 5,564
Registered: ‎09-20-2012

Re: Asymmetric, Dual Port Block RAM output simulation issue

Hi @fabrizio.marchese

 

Can you share example design project archive?

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)
Visitor
Posts: 6
Registered: ‎04-08-2015

Re: Asymmetric, Dual Port Block RAM output simulation issue

Moderator
Posts: 5,564
Registered: ‎09-20-2012

Re: Asymmetric, Dual Port Block RAM output simulation issue

Hi @fabrizio.marchese

 

This looks to be an issue with behavioral model, post synthesis simulation is working fine. Please check the same at your end.

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)
Visitor
Posts: 6
Registered: ‎04-08-2015

Re: Asymmetric, Dual Port Block RAM output simulation issue

Thanks Deepika,

Yes, it's working fine.

 

Is there something to do to fix behavioral simulation? Thetestbench I'm using these BRAMs in is pretty big, and post synthesis simulation is pretty slow.

Moderator
Posts: 5,564
Registered: ‎09-20-2012

Re: Asymmetric, Dual Port Block RAM output simulation issue

[ Edited ]

Hi @fabrizio.marchese

 

This issue is not seen in behavioral simulation in vivado 2017.1. Vivado 2017.1 is scheduled for release in next quarter, is it possible for you to wait for the release and upgrade your design?

 

 

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)
Visitor
Posts: 6
Registered: ‎04-08-2015

Re: Asymmetric, Dual Port Block RAM output simulation issue

Yes,

no problem.

 

Thanks again.