- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
first change
init_file => "./souce/memory.mif" in dpram_2200.vhd to absolute dir then run modelsim, you will find out that output :vector q are always 0,this is incorrect,for I have initialized some datas in mif.how to explain it? Details are in attchment.
souce.zip
(Virus scan in progress ...)
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tools have their own mind. Modelsim does not like mif as far as i know. Go to quartus and save it as hex then come back to Modelsim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Tools have their own mind. Modelsim does not like mif as far as i know. Go to quartus and save it as hex then come back to Modelsim --- Quote End --- I have tried "hex file" before ,but it doesnt work as well
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check modelsim compilation report if it sees the memory module and the hex file. Otherwise it will still report success but with memory as black box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks.
one warning in modelsim# ** Warning: Warning: READ_DURING_WRITE_MODE_MIXED_PORTS is assumed as OLD_DATA# Time: 0 ps Iteration: 0 Instance: /dpram_test_top_tb/uut/dpram_2200_inst/altsyncram_component photo 0f results in attachment
dpram_erro.jpg
(Virus scan in progress ...)

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page