07-23-2016 02:31 PM
Hi all,
I use vivado 2015.4 to simulate the BRAM and I meet a problem. Please see the picture below,
the first data should be ffff0000 and the first data in the picture 000000 should be replaced XXXXXXX.
Why does it happen? the first data is 000000 and how to fix the problem? Thanks
li
07-23-2016 10:51 PM
hi,
can you share the test-bench? Is this BRAM created out of an IP or is it a inferred BRAM?
--hs
07-24-2016 08:09 AM
Are you using any very old primitive with Vivado? Also, are you using RTL to infer BRAM or using IP Catalog?
Thanks,
Anusheel
-----------------------------------------------------------------------------------------------
Search for documents/answer records related to your device and tool before posting query on forums.
Search related forums and make sure your query is not repeated.
Please mark the post as an answer "Accept as solution" in case it helps to resolve your query.
Helpful answer -> Give Kudos
-----------------------------------------------------------------------------------------------
07-24-2016 04:24 PM - edited 07-24-2016 04:29 PM
07-24-2016 04:26 PM
07-24-2016 05:46 PM
I also find a strange thing. I add a signal called flag. When I start the BRAM, flag will become 1 at the first clock and then it will become 0. please see the picture below,
I use this to delete the 000000, but there is strange thing, when I zoom in the picture,
There still exists 00000 and the data is even changed not at the rising edge of clock.
Please give me some suggestion to fix the problem,
thanks
07-24-2016 09:45 PM - edited 07-24-2016 09:45 PM
Hi @pligroup
Please attach block memory generator IP XCI file here.
07-25-2016 07:43 AM
07-25-2016 09:49 PM
Hi @pligroup
There is no signal by name flag inside the IP.
I tried creating a project with the files shared but I cannot run simulation due to this missing file BRAM_test. Can you share this file too?
07-25-2016 10:45 PM
Hi @pligroup
Regarding the read to address zero, I was able to reproduce this issue in 2015.4. However when I migrated the project to 2016.2 I did not face this problem. Below is simulation result from vivado 2016.2. Can you try upgrading to 2016.2?
07-27-2016 04:29 PM - edited 07-27-2016 04:44 PM
Hi, @vemulad
I have third questions.
first, I am a student, so can I directly upgrade the vivado to 2016.2 without license?
second, I attached my testbench and BRAM file, can you help me run this code at vivado 2016.2?
third, if the simulation result is not the same at vivado 2015.4 and Vivado 2016.2, will it be difference if I implement the code?
Thanks,
pengli
07-27-2016 10:46 PM
Hi @pligroup
This is 2015.4 XSIM simulator issue.
You can use Questasim or modelsim with Vivado 2015.4 to get correct results.
07-28-2016 12:28 PM - edited 07-28-2016 01:49 PM
Hi @vemulad
Thank you for your help. So if I get the correct result at modelsim, then I download the bit stream into ZYNQ board with Vivado 2015.4, can I get the correct result? Besides, look at your picture, the first data is also ffff0000.
thanks
08-03-2016 12:04 AM
Hi @pligroup
Yes, this should work fine in hardware.
08-04-2016 11:15 PM
Hi @pligroup
If your issue is resolved, please close this thread by marking the answer.