- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all.
I'm a beginner and i'm trying to save a picture on the M4K blocks (cyclone 2, on DE2) and read it out to the VGA DAC. The vga part works, but i'm having problems with the MIF file for the M4K which i have generated with MATLAB. It won't display anything, it displays a black screen. When i'm generating a MIF file with qurtus and randomly puts '1's in the array, it does displays on screen. but if i put the MIF file from matlab, again, just black screen. if someone knows how to address this issue, i will by grateful. THANK YOU!!Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check the warnings from Quartus when you compile with your MIF file. If there is an error in the MIF format, Quartus will just generate a warning instead of an error and possibly just fill the memory with 0's instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First of all be sure that u add the Memory block correctly in the design revice the width and depth parameters in the plug-in-manager. Then try to open the .mif file using quartus file>open. you may find that the memory contents are all 0's or 1's.

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