extended_run_shell

This script runs multiple iterations of layout through Designer.  Use this script from the tcl shell "acttclsh". This is the script or command-line equivalent to using the multiple-pass layout (in the GUI).

 

$ACTDIR/bin/acttclsh $ACTDIR/scripts/extended_run_shell.tcl

       -adb adbFilename [-n numIterations] [-standard | -timing_driven]

       [-c clockname] [-compare_script compareScript] [-save_all]

       [-stop_on_success] [-continue_from_last_seed]

       [-place value] [-place_incremental value]

       [-route_incremental value]

       [-effort_level n] [-timing_weight n]

       [-overwrite value]

 

Note: This is not a Tcl command; it is a shell script that can be run from the command line

Arguments

$ACTDIR

Location of the installation directory for Libero/Designer.

 

[-adb adbFilename]

This is the design file to run multiple iterations of layout.

 

-standard

Set this switch to run standard layout.

 

-timing_driven

Set this switch to run timing-driven layout.

 

-c clockname

Clock mode - the software uses the frequency of the specified clock for the calculations. Default mode chooses the run with the highest frequency of the slowest clock as the best result.

Note: if '-compare_script compareScript' is specified, then that script will be used to determine the best run.

 

-compare_script compareScript

Sets the script that is used to determine whether a run is better than previous iterations. If only the script name is given (no path), then the script is assumed to be $ACTDIR/scripts/<compareScript>, otherwise the full path of the script must be given. The default is  iterate_minfreq_compare.tcl.

 

-save_all

Saves all intermediate designs in ${adbFilename}_${iteration}.adb. The best result is also stored in $adbFilename as well. The default behavior does not save all results. This option enables the [-overwrite yes|no] option (described below).

 

-stop_on_success

Only perform iterations until the design is successful. When the iterate_violations_compare.tcl isLayoutBetter method is used, Success is defined as there being no negative slack (no timing violations). When the other isLayoutBetter methods are used there is no effect (all iterations are attempted).

 

-continue_from_last_seed

Use the def variable MULTIPASS_LAYOUT_SEED_INDEX+1 as the starting seed.

 

-place value

Default is "on".The following table shows the acceptable values for this argument:

 

Value

Description

on

Implements place

off

Does not implement place

 

-place_incremental value

Sets incremental place. The following table shows the acceptable values for this argument:

 

Value

Description

on

Activates incremental place.

off

Deactivates incremental place

fix

Fixes placement

 

-route_incremental value

Default is "off". The following table shows the acceptable values for this argument:

 

Value

Description

on

Activates incremental route

off

Deactivates incremental route

fix

Fixes routing

 

[-effort_level n

This is an advanced option. N should be an integer. This option is available only for ProASICPLUS.

 

[-timing_weight n]

This is an advanced option. N should be an integer. This option is available only for ProASICPLUS.

 

[-overwrite value]

Only applies when -save_all option is selected.

 

Value

Description

yes

Any existing multipass ADBs are overwritten

no

Software creates a unique tag to distinguish between multipass ADB files from different runs

 

Return: A non-zero value will be returned on error.

Supported Families

All

Exceptions

None

Example

None

See Also

Multiple Pass Layout