efx_run Script
You can run the complete software flow from the command line using the efx_run.py Python 3 script.
efx_run.py design [--help] [--prj PRJ] [--flow FLOW] [--tcl_script TCL SCRIPT]
[-v EXTRA_FILES [EXTRA_FILES ...] | --flist FLIST] [--tb TB_EXTRA_FILES] [--tb_top TB_TOP]
[--dir SOURCE_DIR] [--map_opts MAP_OPTS [MAP_OPTS ...]] [--pt_opts PT_OPTS [PT_OPTS ...]]
[--pnr_opts VPR_OPTS [VPR_OPTS ...]] [--pgm_opts PGM_OPTS [PGM_OPTS ...]] [--modelsim]
[--aldec] [--ncsim] [--res_compare] [--output_dir OUTPUT_DIR] [--work_dir WORK_DIR]
[--timeout TIMEOUT] [--un_flow] [--physical_syn_input PHYSICAL_SYN_INPUT]
Note: You can use efx_run.bat to run the
efx_run.py script in the Windows Command Prompt.
| Argument | Description |
|---|---|
| design | Efinity project XML file name. |
| Option (Long) | Option (Short) | Input | Description |
|---|---|---|---|
| --help | -h | None | Show help. |
| --prj | N/A | None | Utilize alternate project XML file. |
| --flow | -f | map, interface, pnr, pgm, compile, program, rtlsim, mapsim, pnrsim, full, ptsimrtl, ptsimfc, sta_tclsh, setup_efxlib | Tool flow. Default: compile See --flow Option for detailed input
descriptions. |
| --tcl_script | -t | Filename | Optional Tcl script to be used with the sta_tclsh
flow. A Tcl interactive flow will be started if ommitted. |
| N/A | -v | Filename | Additional HDL files to map. |
| --flist | N/A | File path | Path to text file listing additional HDL source files. |
| --tb | N/A | Filename | Testbench HDL simulation files. For simulation
only. |
| --tb_top | N/A | Module name | Top-level testbench module name. For simulation
only. |
| --dir | N/A | File path | Search for path to source files. |
| --map_opts | N/A | Command options | Pass option string to efx_map directly. See
Synthesis Options for detailed
options. |
| --pt_opts | N/A | Command options | Pass option string to the Interface Designer directly. |
| --pnr_opts | N/A | Command options | Pass option string to efx_pnr directly. See
Place and Route Options for detailed
options. |
| --pgm_opts | N/A | Command options | Pass option string to efx_pgm directly. See
Programming Options for detailed
options. |
| --modelsim | -m | None | Use the ModelSim or QuestaSim simulators. |
| --aldec | -N/A | None | Use the Aldec Active-HDL or Riviera-PRO simulators. |
| --ncsim | N/A | None | Use the NCSim simulator. |
| --output_dir | N/A | File path | Output directory. |
| --work_dir | N/A | File path | Work directory. |
| --timeout | N/A | Number | Cumulative timeout for all stages in seconds. |
| --un_flow | N/A | None | Flag for unified netlist flow. |
| --physical_syn_​input | N/A | File path | Path to physical synthesis request file. |