Run the Flow from the Command Line
You can run the software flow from the command line using the efx_run.py Python 3 script. This script is available in the scripts directory.
Compilation commands:
--flow compileperforms synthesis, place and route, and generates a bitstream hex file (default)--flow mapperforms synthesis--flow pnrperforms place and route--flow fullruns the full flow, including RTL and post-synthesis simulation-
--flow interfacegenerates the interface constraint files --flow sta_tclshenters the Tcl Console
Simulation only commands:
--flow rtlsimperforms RTL simulation on the design’s source files--flow mapsimperforms simulation with the post-synthesis netlist file
Programming commands:
--flow pgmcreates the bitstream hex file used to configure the device--flow programprograms the target device
Tip: Use
--help to display the command-line help and additional
options.The Console supports color output. See Console.
The following example command runs the complete flow on the helloworld design:
Run Complete Flow from Command Line
Linux:
efx_run.py helloworld.xml --flow full
Windows:
efx_run.bat helloworld.xml --flow full