How can I generate a new Memory Initialization File (.mif) for on-chip memory without regenerating the whole Nios® embedded processor system? - How can I generate a new Memory Initialization File (.mif) for on-chip memory without regenerating the whole Nios® embedded processor system?
Description SOPC Builder creates a ModelSim ® simulation project in the following directory: <project directory>/<system name>_sim. If you click the Run ModelSim button after you generate your system, SOPC Builder will open the generated project in ModelSim. When you type the c command (the letter c, followed by carriage-return) in ModelSim, all of your software code is recompiled and new .mif files are generated. You can execute this same command without running ModelSim. Every time SOPC Builder runs, it creates a command-line script for regenerating your system. If your system is named nios_system, the SOPC Builder will create a script named nios_system_generation_script. Follow these steps to create a script that does the same as the c macro in ModelSim. Rename the script called nios_system_generation_script to redo_my_mif_files. Open the new script redo_my_mif files in your favorite text editor. Add the following command-line argument to this script: --software_only=1 (Notice the two leading dashes). Now you can run the script redo_my_mif_files from the command-line and all your software and .mif files will be rebuilt comparatively quickly.
Custom Fields values:
['novalue']
Troubleshooting
novalue
False
['novalue']
['novalue']
novalue
novalue
['Excalibur™', 'Programmable Logic Devices']
['novalue']
['novalue']
['novalue'] - 2021-08-25
external_document