- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Simulating with the MIG COntroller , always the same values.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-14-2012 03:09 AM
Hello,
I am using the Virtex ML605 and a DDR3 Memory. I control it via UI Interface.
Everytime i write to the DDR3 Controller the Data are visible on the signal ddr3_dq signal.
But the console of modelsim always tells a totally different value is written to the memory!
And when i read the other value will be sended back on app_rd_data.
I setted app_wdf_data constant to hex "77777....7" and do a write command on the first burst.
But the result in modelsim is the following:
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
So the result while reading is the following:
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
# test_the_fifo.mem_rnk[0].mem_16.gen_mem_gt16.gen_m
and so on.
Could it be that the simulation model DDR3_model.v always write radomly generated data to the memory?
I attched a picture of the write proces.
Solved! Go to Solution.
Re: Simulating with the MIG COntroller , always the same values.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-14-2012 06:07 AM
Re: Simulating with the MIG COntroller , always the same values.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-14-2012 07:03 AM
Yes like in the picture it is visible that a write already happens at about 59.000.000ps
Re: Simulating with the MIG COntroller , always the same values.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-14-2012 07:34 AM
I did the example from the ipcore directory for the mig with the traffic generator and it works.
But when i do it, i also wait till phy_init is done and app_rdy is 1. But it seems that nothing reaches the memory?!
Re: Simulating with the MIG COntroller , always the same values.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-14-2012 07:47 AM
I found my error :(. Wfd mask must be 0 i had i constantly assigned to 1 :/.
Re: Simulating with the MIG COntroller , always the same values.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-04-2012 04:09 AM
i have a question
i want to synthesize mig but i don't know how to use .tcl and . sdc files can you help me?
Re: Simulating with the MIG COntroller , always the same values.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-04-2012 07:16 AM
Azarfar,
Please start a new discussion thread. This avoids confusion resulting from mixed topics and questions in a single thread.
And please start just one thread for a given question, so that a single discussion is conducted rather than several.
-- Bob Elkind
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369
Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.











