- 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.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

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