5.34.110 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. Tcl commands are case sensitive. However, their arguments are not.

CommandAction
add_probeAdds a probe to an internal net in your design, using the original name from the optimized netlist in your design. Also, this command must be used in conjunction with the generate_probes command to generate a probed ADB file (see example below).
all_inputsReturns an object representing all input and inout pins in the current design.
all_outputsReturns an object representing all output and inout pins in the current design.
all_registersReturns an object representing register pins or cells in the current scenario based on the given parameters.
are_all_source_files_currentAudits all source files and determines whether or not they are out of date/imported into the workspace.
backannotateExtracts timing delays from your post layout data.
check_timing_constraintsChecks all timing constraints in the current timing scenario for validity.
clone_scenarioCreates a new timing scenario by duplicating an existing one.
close_designCloses the current design.
compilePerforms design rule check and optimizes the input netlist before translating the source code into machine code.
create_clockCreates a clock constraint on the specified ports/pins, or a virtual clock if no source is specified.
create_generated_clockCreates an internally generated clock constraint on the ports/pins and defines its characteristics.
create_scenarioCreates a new timing scenario with the specified name.
delete_probeDeletes a probe on nets in a probed ADB file.
delete_scenarioDeletes the specified timing scenario.
exportConverts a file from its current format into the specified file format, usually for use in another program.
extended_run_shellRuns multiple iterations of layout through Designer.
generate_probesExecutes the probing and creates a new ADB file. This command is used in conjunction with the add_probe Tcl command (see example below).
get_cellsReturns an object representing the cells (instances) that match those specified in the pattern argument.
get_clocksReturns an object representing the clock(s) that match those specified in the pattern argument in the current timing scenario.
get_current_scenarioReturns the name of the current timing scenario.
get_defvarReturns the value of the Designer internal variable you specify.
get_design_filenameReturns the fully qualified path of the specified design file.
get_design_infoReturns detailed information about your design, depending on which arguments you specify.
get_netsReturns an object representing the nets that match those specified in the pattern argument.
get_out_of_date_filesAudits all files returns a list of filenames that are out of date.
get_pinsReturns an object representing the pin(s) that match those specified in the pattern argument.
get_portsReturns an object representing the port(s) that match those specified in the pattern argument.
import_auxImports the specified file as an auxiliary file, which are not audited and do not require you to re-compile the design.
import_sourceImports the specified file as a source file, which include your netlist and design constraints.
ioadvisor_apply_suggestionApplies the suggestions for the selected attribute to the selected I/O(s).
ioadvisor_commitSaves all changes in the I/O Advisor.
ioadvisor_restoreRestores the I/O Advisor to the initial state.
ioadvisor_restore_initial_valueSets the current value for the selected attribute and I/Os to the initial value.
ioadvisor_set_outdriveSets the outdrive for the selected I/Os.
ioadvisor_set_outputloadSets the output load for the selected I/Os.
ioadvisor_set_slewSets the slew for the selected I/Os.
is_design_loadedReturns True if the design is loaded into Designer; otherwise, returns False.
is_design_modifiedReturns True if the design has been modified since it was last compiled; otherwise, returns False.
is_design_state_completeReturns 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.
is_source_file_currentAudits the source file and determines whether or not the file is out of date / imported into the workspace.
layoutPlace-and-route your design.
layout (advanced options for the SX family)Sets advanced place-and-route features for SX family designs.
layout - AxceleratorSets advanced place-and-route features for Axcelerator family designs.
list_clocksReturns details about all of the clock constraints in the current timing constraint scenario.
list_clock_latenciesReturns details about all of the clock latencies in the current timing constraint scenario.
list_clock_uncertaintiesReturns the list of clock-to-clock uncertainty constraints for the current scenario.
list_disable_timingsReturns the list of disable timing constraints for the current scenario.
list_false_pathsReturns details about all of the false paths in the current timing constraint scenario.
list_generated_clocksReturns details about all of the generated clock constraints in the current timing constraint scenario.
list_input_delaysReturns details about all of the input delay constraints in the current timing constraint scenario.
list_max_delaysReturns details about all of the maximum delay constraints in the current timing constraint scenario.
list_min_delaysReturns details about all of the minimum delay constraints in the current timing constraint scenario.
list_multicycle_pathsReturns details about all of the multicycle paths in the current timing constraint scenario.
list_objectsReturns a list of names of the objects in the specified list.
list_output_delaysReturns details about all of the output delay constraints in the current timing constraint scenario.
list_scenariosReturns a list of names of all of the available timing scenarios.
new_designCreates a new design (.adb) file in a specific location for a particular design family such as Axcelerator or ProASIC3.
open_designOpens an existing design in the Designer software.
pin_assignAssigns the named pin to the specified port but does not lock its assignment.
pin_commitSaves the pin assignments to the design (.adb) file.
pin_fixLocks the pin assignment for the specified port, so the pin cannot be moved during place-and-route.
pin_fix_allLocks all the assigned pins on the device so they cannot be moved during place-and-route.
pin_unassignUnassigns a specific pin from a specific port. The unassigned pin location is then available for other ports.
pin_unassign_allUnassigns all pins from a specific port.
pin_unfixUnlocks the specified pin from its port..
layout (advanced options for ProASICSets advanced place-and-route features for ProASIC family designs.
remove_clockRemoves the specified clock constraint from the current timing scenario.
remove_clock_latencyRemoves a clock source latency from the specified clock and from all edges of the clock.
remove_clock_uncertaintyRemoves a clock-to-clock uncertainty from the current timing scenario by specifying either its exact arguments or its ID.
remove_disable_timingRemoves a disable timing constraint by specifying its arguments, or its ID.
remove_false_pathRemoves a false path from the current timing scenario by specifying either its exact arguments or its ID.
remove_generated_clockRemoves the specified generated clock constraint from the current scenario.
remove_input_delayRemoves an input delay a clock on a port by specifying both the clocks and port names or the ID of the input_delay constraint to remove.
remove_max_delayRemoves a maximum delay constraint in the current timing scenario by specifying either its exact arguments or its ID.
remove_min_delayRemoves a minimum delay constraint in the current timing scenario by specifying either its exact arguments or its ID.
remove_multicycle_pathRemoves a multicycle path constraint in the current timing scenario by specifying either its exact arguments or its ID.
remove_output_delayRemoves an ouput delay by specifying both the clocks and port names or the ID of the output_delay constraint to remove.
rename_scenarioRenames the specified timing scenario with the new name provided.
reportGenerates the type of report you specify: Status, Timing, Timer Violations, Flip-flop, Power, Pin, or I/O Bank.
report (Activity and Hazards Power Report)Reads a VCD file and reports transitions and hazards for each clock cycle of the VCD file.
report (Bottleneck) using SmartTimeCreates a bottleneck report.
report (Cycle Accurate Power Report)Reports a power waveform with one power value per clock period or half-period instead of an average power for the whole simulation.
Report (Data History)Reports new features and enhancements, bug fixes and known issues for the current release that may impact the power consumption of the design.
report (Datasheet) using SmartTimeCreates a datasheet report.
Report (Power)Creates a Power report, which enables you to determine if you have any power consumption problems in your design.
Report (Power Scenario)Creates a scenario power report, which enables you to enter a duration for a sequence of previously defined power modes and calculate the average power consumption and the excepted battery life for this sequence.
report (Timing) using SmartTimeCreates a timing report.
report (Timing violations) using SmartTimeCreates a timing violations report.
set_clock_latencyDefines the delay between an external clock source and the definition pin of a clock within SmartTime.
set_clock_uncertaintySpecifies a clock-to-clock uncertainty and returns the ID of the created constraint if the command succeeded.
set_current_scenarioSpecifies the timing scenario for the Timing Analyzer to use.
save_designWrites the design to the specified filename.
set_defvarSets the value of the Designer internal variable you specify >.
set_designSpecifies the design name, family and path in which Designer will process the design.
set_deviceSpecifies the type of device and its parameters.
set_disable_timingDisables timing a.rcs within a cell and returns the ID of the created constraint.
set_false_pathIdentifies paths that are considered false and excluded from the timing analysis in the current timing scenario.
set_input_delayCreates an input delay on a port list by defining the arrival time of an input relative to a clock in the current scenario.
set_max_delaySpecifies the maximum delay for the timing paths in the current scenario.
set_min_delaySpecifies the minimum delay for the timing paths in the current scenario.
set_multicycle_pathDefines a path that takes multiple clock cycles in the current scenario.
set_output_delayDefines the output delay of an output relative to a clock in the current scenario.
smartpower_add_new_custom_modeCreates a new custom mode.
smartpower_add_new_scenarioCreates a new scenario.
smartpower_add_pin_in_domainAdds a pin to either a Clock or Set domain.
smartpower_change_clock_statisticsChanges the default frequencies and probabilities for a specific domain.
smartpower_change_setofpin_statisticsChanges the default frequencies and probabilities for a specific set.
smartpower_commitSaves the changes made in SmartPower to the design file (.adb) in Designer.
smartpower_create_domainCreates a new clock or set domain.
smartpower_edit_custom_modeEdits a custom mode.
smartpower_edit_scenarioEdits a scenario.
smartpower_initialize_clock_with_constraintsInitializes the clock frequency and the data frequency of a single clock domain with a specified clock name and the initialization options.
smartpower_init_doInitializes the frequencies and probabilities for clocks, registers, set/reset nets, primary inputs, combinational outputs, enables and other sets of pins, and selects a mode for initialization.
smartpower_init_set_clocks_optionsInitializes the clock frequency of all clock domains.
smartpower_init_set_combinational_optionsInitializes the frequency and probability of all combinational outputs.
smartpower_init_set_enables_optionsInitializes the clock frequency of all enable clocks with the initialization options.
smartpower_init_set_othersets_optionsInitializes the frequency and probability of all other sets.
smartpower_init_set_primaryinputs_optionsInitializes the frequency and probability of all primary inputs.
smartpower_init_set_registers_optionsInitializes the frequency and probability of all register outputs.
smartpower_init_set_set_reset_optionsInitializes the frequency and probability of all set/reset nets.
smartpower_init_setofpins_valuesInitializes the frequency and probability of all sets of pins.
smartpower_remove_all_annotationsRemoves all initialization annotations for the specified mode.
smartpower_remove_custom_modeRemoves a custom mode.
smartpower_remove_domainRemoves an existing domain.
smartpower_remove_fileRemoves a VCD file from the specified mode.
smartpower_remove_pin_enable_rateThis command is obsolete and it is replaced by smartpower_remove_pin_probability
smartpower_remove_pin_frequencyRemoves the frequency of an existing pin.
smartpower_remove_pin_of_domainRemoves a clock pin or a data pin from a Clock or Set domain, respectively.
smartpower_remove_pin_probabilityEnables you to annotate the probability of a pin driving an enable pin.
smartpower_remove_scenarioRemoves a scenario from the current design.
smartpower_remove_vcdRemoves an existing VCD file from a mode or entire design.
smartpower_restoreRestores previously committed constraints.
smartpower_set_battery_capacitySets the battery capacity.
smartpower_set_coolingSets the cooling style to one of the predefined types, or a custom value.
smartpower_set_mode_for_analysisSets the mode for cycle-accurate power analysis.
smartpower_set_operating_conditionSets the operating conditions used in SmartPower to best, typical, or worst case.
smartpower_set_pin_enable_rateThis command is obsolete and is replaced by smartpower_set_pin_probability.
smartpower_set_pin_frequencySets the frequency of an existing pin.
smartpower_set_pin_probabilityEnables you to annotate the probability of a pin driving an enable pin.
smartpower_set_preferencesSets SmartPower preferences such as power unit, frequency unit, operating mode, operating conditions, and toggle.
smartpower_set_scenario_for_analysisSets the scenario for cycle-accurate power analysis.
smartpower_set_temperature_opcondSets the temperature in the operating conditions used in SmartPower.
smartpower_set_thermalmodeSets the mode of computing junction temperature.
smartpower_set_voltage_opcondSets the voltage in the operating conditions used in SmartPower.
smartpower_temperature_opcond_set_design_wideSets the temperature for SmartPower design-wide operating conditions.
smartpower_temperature_opcond_set_mode_specificSets the temperature for SmartPower mode-specific operating conditions.
smartpower_voltage_opcond_set_design_wideSets the voltage settings for SmartPower design-wide operating conditions.
smartpower_voltage_opcond_set_mode_specificSets the voltage settings for SmartPower mode-specific use operating conditions.
st_create_setCreates a set of paths to be analyzed.
st_commitSaves the changes made in SmartTime to the design (.adb) file.
st_edit_setModifies the paths in a user set.
st_expand_pathDisplays expanded path information (path details) for paths.
st_list_pathsDisplays the list of paths in the same tabular format shown in SmartTime.
st_remove_setDeletes a user set from the design.
st_restoreRestores constraints previously committed in SmartTime.
st_set_optionsSets options for timing analysis.
timer_add_clock_exceptionAdds an exception to or from a pin with respect to a specified clock.
timer_add_passAdds the pin to the list of pins for which the path must be shown passing through in the timer.
timer_add_stopAdds the specified pin to the list of pins through which the paths will not be displayed in the timer.
timer_commitSaves the changes made to constraints in Timer into the Designer database.
timer_get_pathDisplays the Timer path information in the Log window.
timer_get_clock_actualsDisplays the actual clock frequency in the Log window.
timer_get_clock_constraintsDisplays the clock constraints (period/frequency and dutycycle) in the Log window.
timer_get_maxdelayDisplays the maximum delay constraint between two pins of a path in the Log window.timer_get_path_constraintsDisplays the path constraints set for maxdelay in the Timer in the Log window.
timer_remove_clock_exceptionRemoves the previously set clock constraint.
timer_remove_passRemoves the previously entered path pass constraint.
timer_remove_stopRemoves the path stop constraint on the specified pin.timer_restoreRestores previously committed constraints.timer_setenv_clock_freqSets a required clock frequency, in MHz, for the specified clock.
timer_setenv_clock_periodSets the clock period constraint for the specified clock.
timer_set_maxdelayAdds a maximum delay constraint for the path.
timer_remove_all_constraintsRemoves all the timing constraints previously entered in the Designer system.