About Designer Tcl commands

A Tcl (Tool Command Language) file contains scripts for simple or complex tasks. You can run scripts from either the Windows or UNIX command line or store and run a series of Tcl commands in a “.tcl” batch file. You can also run scripts from within Designer.

Designer supports the following Tcl scripting commands:

Command

Action

backannotate

Extracts timing delays from your post layout data

close_design

Closes the current design

compile

Performs design rule check and optimizes the input netlist before translating the source code into machine code

export

Converts a file from its current format into the specified file format, usually for use in another program

extended_run_shell

Runs multiple iterations of layout through Designer

get_defvar

Returns the value of the Designer internal variable you specify

get_design_filename

Returns the fully qualified path of the specified design file

get_design_info

Returns detailed information about your design, depending on which arguments you specify

import_aux

Imports the specified file as an auxiliary file, which are not audited and do not require you to re-compile the design

import_source

Imports the specified file as a source file, which include your netlist and design constraints

is_design_loaded

Returns True if the design is loaded into Designer; otherwise, returns False

is_design_modified

Returns True if the design has been modified since it was last compiled; otherwise, returns False

is_design_state_complete

Returns True if the specified design state is complete (for example, you can inquire as to whether a die and package has been selected for the design); otherwise, returns False

layout

Place-and-route your design

layout (advanced options for the SX family)

Sets advanced place-and-route features for SX family designs

layout (advanced options for ProASIC)

Sets advanced place-and-route features for ProASIC family designs

new_design

Creates a new design (.adb) file in a specific location for a particular design family such as Axcelerator or ProASIC3

open_design

Opens an existing design in the Designer software

pin_assign

Assigns the named pin to the specified port but does not lock its assignment.

pin_commit

Saves the pin assignments to the design (.adb) file.

pin_fix

 

Locks the pin assignment for the specified port, so the pin cannot be moved during place-and-route.

pin_fix_all

 

Locks all the assigned pins on the device so they cannot be moved during place-and-route.

pin_unassign

 

Unassigns a specific pin from a specific port. The unassigned pin location is then available for other ports.

pin_unassign_all

Unassigns all pins from a specific port.

pin_unfix

Unlocks the specified pin from its port.

report

 

Generates the type of report you specify: Status, Timing, Timer Violations, Flip-flop, Power, Pin, or I/O Bank

save_design

Writes the design to the specified filename

set_defvar

Sets the value of the Designer internal variable you specify

set_design

Specifies the design name, family and path in which Designer will process the design

set_device

Specifies the type of device and its parameters

smartpower_add_pin_in_domain

Adds a pin to either a Clock or Set domain

smartpower_commit

 

Saves the changes made in SmartPower to the design file (.adb) in Designer

smartpower_create_domain

Creates a new clock or set domain

smartpower_remove_domain

Removes an existing domain

smartpower_remove_pin_frequency

Removes the frequency of an existing pin

smartpower_remove_pin_of_domain

 

Removes a clock pin or a data pin from a Clock or Set domain, respectively.

smartpower_restore

Restores previously committed constraints

smartpower_set_domain_frequency

Sets the frequency of a domain

smartpower_set_pin_frequency

Sets the frequency of an existing pin

timer_add_clock_exception

 

Adds an exception to or from a pin with respect to a specified clock

timer_add_pass

 

Adds the pin to the list of pins for which the path must be shown passing through in the timer

timer_add_stop

 

Adds the specified pin to the list of pins through which the paths will not be displayed in the timer

timer_commit

Saves the changes made to constraints in Timer into the Designer database.

timer_get_path

Displays the Timer path information in the Log window

timer_get_clock_actuals

Displays the actual clock frequency in the Log window

timer_get_clock_constraints

 

Displays the clock constraints (period/frequency and dutycycle) in the Log window

timer_get_maxdelay

 

Displays the maximum delay constraint between two pins of a path in the Log window

timer_get_path_constraints

Displays the path constraints set for maxdelay in the Timer in the Log window

timer_remove_clock_exception

Removes the previously set clock constraint

timer_remove_pass

Removes the previously entered path pass constraint

timer_remove_stop

Removes the path stop constraint on the specified pin

timer_restore

Restores previously committed constraints

timer_setenv_clock_freq

Sets a required clock frequency, in MHz, for the specified clock

timer_setenv_clock_period

Sets the clock period constraint for the specified clock

timer_set_maxdelay

Adds a maximum delay constraint for the path

timer_remove_all_constraints

 

Removes all the timing constraints previously entered in the Designer system

 

Note: Tcl commands are case sensitive. However, their arguments are not.

 

Related Topics