Run the BRAM Initial Content Updater from the Command Line
In addition to the GUI, you can run the BRAM Initial Content Updater from the command line. With this method you can perform iterative work without having to go through GUI for every iteration.
efx_bram_update[.exe] [--help] --project PROJECT [--mem_info MEM_INFO] [--place PLACE]
[-lbf LBF] [--output OUTPUT] [--family FAMILY] [--verbose] --memory MEMORY [--mode MODE]
| Option (long) | Option (short) | Input | Description |
|---|---|---|---|
| --help | -h | None | Show the help. |
| --project | -j | Filename | Specify the Efinity project file. |
| --mem_info | -i | Filename | Specify the memory file in protocol buffer format. |
| --place | -p | Filename | Specify a placement file. |
| --lbf | -l | Filename | Specify the Logical Bit File (.lbf). |
| --output | -o | Filename | Specify the name for the updated bitstream file. |
| --family | -f | Family name | Indicate the FPGA family, TrionĀ®, Topaz, and Titanium. |
| --verbose | -v | Nonr | Print out verbose messages. |
| --memory | -b | Filename | Specify the logical memory you want to update and the memory initialization file. Use the format <memory>,<initialization file> |
| --mode | -m | update, read, revert | Indicate the mode for the update tool.update:
Default. Use to update the memory with a new
file.read: Reads the current initial
content data in the bitstream and displays it in the
console.revert: Go back to the
original initial memory content. |
The following example command runs the BRAM Initial Content Updater on the pt_demo design:
Using the BRAM Initial Content Updater
efx_bram_update --project pt_demo.xml --memory mem,new_mem.hex