Forum Discussion
How to automate programming mif file in quartus
Hi,
I'm using Quartus Prime Pro edition, and want to automate programming the mif file.
Currently I use the tool "In-System Memory Content Editor" to import a mif file and write into system memory.
I want to automate this. Please suggest how it can be automated.
4 Replies
- sstrell
Super Contributor
You attach the .mif to the associated memory in your design, either in the IP Parameter Editor or in HDL code using a synthesis attribute ram_init_file: https://www.intel.com/content/www/us/en/programmable/quartushelp/current/index.htm#hdl/vlog/vlog_file_dir_ram_init.htm
- BenRavin
New Contributor
Hi,
I don't do the design of FPGA HW, i recieve the fpga .sof image and load my .mif file using the In System memory editor.
How to automate this, instead of using the GUI and manually uploading the mif file into the fpga .sof image.
- sstrell
Super Contributor
If you can't go back to the original design and add the .mif in the ways I mentioned, there's no way.
I suppose you could create a Tcl script to do this that could program the device and then run the ISMCE.
- WZ2
Frequent Contributor
That is right~