run_vtr_flow¶
This script runs the VTR flow for a single benchmark circuit and architecture file.
The script is located at:
$VTR_ROOT/vtr_flow/scripts/run_vtr_flow.pl
Basic Usage¶
At a minimum run_vtr_flow.pl requires two command-line arguments:
run_vtr_flow.pl <circuit_file> <architecture_file>
where:
<circuit_file>is the circuit to be processed<architecture_file>is the target FPGA architecture
Note
The script will create a ./temp directory, unless otherwise specified with the -temp_dir option.
The circuit file and architecture file will be copied to the temporary directory.
All stages of the flow will be run within this directory.
Several intermediate files will be generated and deleted upon completion.
Users should ensure that no important files are kept in this directory as they may be deleted.
Output¶
The standard out of the script will produce a single line with the format:
<architecture>/<circuit_name>...<status>
If execution completed successfully the status will be ‘OK’. Otherwise, the status will indicate which stage of execution failed.
The script will also produce an output files (*.out) for each stage, containing the standout output of the executable(s).
Detailed Command-line Options¶
Note
Any options not recognized by this script is forwarded to VPR.
-
-starting_stage<stage>¶ Start the VTR flow at the specified stage.
Accepted values:
odinabcscriptsvpr
Default:
odin
-
-ending_stage<stage>¶ End the VTR flow at the specified stage.
Accepted values:
odinabcscriptsvpr
Default:
vpr
-
-specific_vpr_stage<vpr_stage>¶ Perform only this stage of VPR.
To have any time saving effect, previous result files must be kept, as the most recent necessary ones will be moved to the current run directory (use inside tasks only).
Accepted values:
packplaceroute
Default: empty (run all vpr stages)
Note
Specifying the routing stage requires a channel width to also be specified.
-
-power¶ Enables power estimation.
See Power Estimation
-
-cmos_tech<file>¶ CMOS technology XML file.
-
-keep_intermediate_files¶ Do not delete intermediate files.
-
-keep_result_files¶ Do not delete the result files (i.e. VPR’s
.net,.place,.routeoutputs)
-
-track_memory_usage¶ Record peak memory usage and additional statistics for each stage.
Note
Requires
/usr/bin/time -vcommand. Some operating systems do not report peak memory.Default: off
-
-limit_memory_usage¶ Kill benchmark if it is taking up too much memory to avoid slow disk swaps.
Note
Requires
ulimit -Svcommand.Default: off
-
-timeout<float>¶ Maximum amount of time to spend on a single stage of a task in seconds.
Default: 14 days
-
-temp_dir<path>¶ Temporary directory used for execution and intermediate files. The script will automatically create this directory if necessary.
Default:
./temp