Sweeping Script

Efinix provides helper scripts that you can use to compile a design multiple times using various place-and-route settings.
  • Linuxscripts/efx_run_pnr_sweep.py
  • Windowsbin/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_levels sweeps through all of the possible optimization settings
  • sweep_seeds sweeps through seeds
  • -h, --help shows 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.