Forum Discussion
BenRavin
New Contributor
3 years agoHow 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 memo...
sstrell
Super Contributor
3 years agoYou 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
3 years agoHi,
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.
- sstrell3 years ago
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.