cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
6,297 Views
Registered: ‎04-08-2015

Asymmetric, Dual Port Block RAM output simulation issue

Jump to solution

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

0 Kudos
Reply
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
10,354 Views
Registered: ‎09-20-2012

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

0 Kudos
Reply
8 Replies
Voyager
Voyager
6,273 Views
Registered: ‎04-21-2014

@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.***
0 Kudos
Reply
6,254 Views
Registered: ‎04-08-2015

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)

 

 

 

 

 

 

0 Kudos
Reply
Xilinx Employee
Xilinx Employee
6,250 Views
Registered: ‎09-20-2012

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)
0 Kudos
Reply
6,246 Views
Registered: ‎04-08-2015

Yes, of course.

 

0 Kudos
Reply
Xilinx Employee
Xilinx Employee
6,161 Views
Registered: ‎09-20-2012

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)
0 Kudos
Reply
6,157 Views
Registered: ‎04-08-2015

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.

0 Kudos
Reply
Xilinx Employee
Xilinx Employee
10,355 Views
Registered: ‎09-20-2012

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

0 Kudos
Reply
6,151 Views
Registered: ‎04-08-2015

Yes,

no problem.

 

Thanks again.

0 Kudos
Reply