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 |
Extracts timing delays from your post layout data | |
Closes the current design | |
Performs design rule check and optimizes the input netlist before translating the source code into machine code | |
Converts a file from its current format into the specified file format, usually for use in another program | |
Runs multiple iterations of layout through Designer | |
Returns the value of the Designer internal variable you specify | |
Returns the fully qualified path of the specified design file | |
Returns detailed information about your design, depending on which arguments you specify | |
Imports the specified file as an auxiliary file, which are not audited and do not require you to re-compile the design | |
Imports the specified file as a source file, which include your netlist and design constraints | |
Returns True if the design is loaded into Designer; otherwise, returns False | |
Returns True if the design has been modified since it was last compiled; otherwise, returns False | |
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 | |
Place-and-route your design | |
Sets advanced place-and-route features for SX family designs | |
Sets advanced place-and-route features for ProASIC family designs | |
Creates a new design (.adb) file in a specific location for a particular design family such as Axcelerator or ProASIC3 | |
Opens an existing design in the Designer software | |
Assigns the named pin to the specified port but does not lock its assignment. | |
Saves the pin assignments to the design (.adb) file. | |
|
Locks the pin assignment for the specified port, so the pin cannot be moved during place-and-route. |
|
Locks all the assigned pins on the device so they cannot be moved during place-and-route. |
|
Unassigns a specific pin from a specific port. The unassigned pin location is then available for other ports. |
Unassigns all pins from a specific port. | |
Unlocks the specified pin from its port. | |
|
Generates the type of report you specify: Status, Timing, Timer Violations, Flip-flop, Power, Pin, or I/O Bank |
Writes the design to the specified filename | |
Sets the value of the Designer internal variable you specify | |
Specifies the design name, family and path in which Designer will process the design | |
Specifies the type of device and its parameters | |
Adds a pin to either a Clock or Set domain | |
|
Saves the changes made in SmartPower to the design file (.adb) in Designer |
Creates a new clock or set domain | |
Removes an existing domain | |
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. |
Restores previously committed constraints | |
Sets the frequency of a domain | |
Sets the frequency of an existing pin | |
|
Adds an exception to or from a pin with respect to a specified clock |
|
Adds the pin to the list of pins for which the path must be shown passing through in the timer |
|
Adds the specified pin to the list of pins through which the paths will not be displayed in the timer |
Saves the changes made to constraints in Timer into the Designer database. | |
Displays the Timer path information in the Log window | |
Displays the actual clock frequency in the Log window | |
|
Displays the clock constraints (period/frequency and dutycycle) in the Log window |
|
Displays the maximum delay constraint between two pins of a path in the Log window |
Displays the path constraints set for maxdelay in the Timer in the Log window | |
Removes the previously set clock constraint | |
Removes the previously entered path pass constraint | |
Removes the path stop constraint on the specified pin | |
Restores previously committed constraints | |
Sets a required clock frequency, in MHz, for the specified clock | |
Sets the clock period constraint for the specified clock | |
Adds a maximum delay constraint for the path | |
|
Removes all the timing constraints previously entered in the Designer system |
Note: Tcl commands are case sensitive. However, their arguments are not.