Sweeping Script
Efinix provides helper scripts that you can use to compile a design
multiple times using various place-and-route settings.
- Linux—scripts/efx_run_pnr_sweep.py
- Windows—bin/efx_run_pnr_sweep.bat
The scripts use this syntax:
efx_run_pnr_sweep.py <project file> {sweep_opt_levels | sweep_seeds {--num_seeds <integer>}
{--start_seed <integer>} } [-h] efx_run_pnr_sweep.bat <project file> {sweep_opt_levels | sweep_seeds {--num_seeds <integer>}
{--start_seed <integer>} } [-h]
where:
- <project file> is your project's XML file
sweep_opt_levelssweeps through all of the possible optimization settingssweep_seedssweeps through seeds-h, --helpshows the help
Note: You sweep through either optimizations or seeds. You cannot sweep both at the same
time.
The software summarizes the timing results of the runs in the timing.sum.rpt file in the project directory. You can find the corresponding result files in the run_sweep_<string> directory.
Important: You should run these script in your project directory, not the Efinity installation directory. Otherwise, the scripts cannot find all of
the required files.