- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am implementing a Look-up Table that would require being updated from either a .mif or .hex file generated from MATLAB. I am thinking of using a two-port RAM block, where one port could be used to update the LUT entirely and the other port for normal operations. My concerns are as follows: - is it possible to update the LUT by feeding an updated .mif file (is there any way of getting the RAM to re-read the .mif file for new values) without re-compiling the design? - is there an option to implement a LUT with two columns, where the input to the LUT would search for itself (the input value) in column 1 and output the corresponding value from column 2? Your help and guidance will be highly appreciated :).Link Copied
8 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
no need to multipost. did you take a look in the help?
http://quartushelp.altera.com/current/mergedprojects/design/med/med_com_update_mif.htm- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much for this.
But this is something you do manually at your convenience right. Is there a way to automate the updating process at regular intervals? Thanks.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
when you run the process in the GUI it will show the command in the Messages window. you can put that into a script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you.:)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You also can use in system memory editor to update your data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Kaz, could you please give details on "using in system memory editor to update the data"?
Thank you.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you create a supported ram in megawizard, quartus gives you the option of using that tool (in system mem editor) so tick the box. Then after compilation and download open the editor from tool's menu and navigate to your mif/hex file... The tool updates ram via jtag. very simple.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, I'll try it out.

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