Querying Design Structure and Design Details
|
Case Sensitivity and Slashes |
|
|
|
The following commands are case sensitive. Use forward slashes to indicate pathes. |
|
Parameter Notation Syntax |
|
|
|
The notation used below for describing the parameters of individual commands is based on the Wirth Syntax Notation (WSN) :
|
|
Command |
Parameters |
Description |
|---|---|---|
|
|
PropertyName
|
Command for retrieving design properties. You can use the following values for PropertyName:
Design property Loaded can be requested while no design is loaded at all. This doesn’t cause an error message. Requesting any other design property while no design is loaded causes an error message. |
|
Command returns the basic clock frequency of the FPGA (in MHz). |
||
|
Command returns a list with the names of all processes of the design. |
||
|
HierarchyName |
Command returns a list with the names of the modules that are located in the requested hierarchy HierarchyName. For each sub-module, the full hierarchical name is listed. |
|
|
|
FullElementName
|
Command returns the hierarchical name (FullModuleName) of the parent of stated element FullElementName, that is, the FullModuleName of the hierarchical element in which element FullElementName is located. FullElementName can be a module, a simulation module, or a comment box. |
|
|
Scope Specifier {ModuleList}
|
Command for filtering specific modules in the design. The command returns a list with modules that have the characteristic you specify via Scope and Specifier. The list contains the FullModuleName for all found modules (path to modules including the individual module name). If you don’t want to search design-wide, but only in a specific set of modules, you can specify these modules in ModuleList (via their FullModuleName). Scope can have the following values:
|
|
|
FullModuleName [Scope]
|
Command returns a list with the names of all ports of the specified module. You can use the optional parameter Scope to filter for specific ports:
|
|
|
FullModuleName PortName Property
|
Command for retrieving the properties of a module port. The following values for Property are available:
|
|
|
FullModuleName Property
|
Command returns the properties of a module. The following values for Property are available:
|
|
|
FullModuleName {ParameterNames}
|
Returns a list of module parameters and their current values. If you want to get all parameters of the module together with the currently set values, use command GetModuleParams only with parameter FullModuleName. Example:
If you want to get only the values of specific parameters, you can optionally limit the output to the parameters {ParameterNames}. The order of the output corresponds to the order of the parameter names you state in {ParameterNames}. Example:
|
|
|
FullModuleName ParameterName Property
|
Command for retrieving parameter properties. For Property, the following values are available:
|
|
|
FullModuleName PortName {ParameterNames}
|
Returns a list of link parameter names and the currently set values for a specific link. The link is identified via the connection node (port) of a module. The returned list states value pairs <ParameterName><Value> that correspond to the pairs you would use to set link parameters via SetLinkParam. If you want to get all parameters of the link together with the currently set values, use command GetLinkParams only with parameters FullModuleName and PortName. If you want to get only the values of specific parameters, you can optionally limit the output to the parameters {ParameterNames}. The order of the output corresponds to the order of the parameter names you state in {ParameterNames}. Example: |
|
|
FullModuleName PortName ParameterName Property |
Command for retrieving the properties of a specific link parameter. The following values for Property are possible:
|
|
|
FullModuleName PortName Property |
Returns a specific property of a specific link. If, with FullModuleName and PortName, you address the port of a H box, the command works as long as there is a link to or from this port within the H box. The following options for Property are available:
|
|
|
Type Scope Specifier
|
Command for retrieving the FullModuleName of simulation sources (Type = source) or simulation probes (Type = probe) within a design. The command returns a list with simulation modules that have the characteristic you specify via Scope and Specifier. The list contains the FullModuleNames (hierarchical pathes to the indivudal simulation modules including the individual pathes). Scope provides the following options:
|
|
|
Scope Specifier
|
Command for retrieving comment boxes in a design. The command returns a list with all comment boxes that have the characteristic you specify via Scope and Specifier. The list contains the FullElmentNames (hierarchical names including box name). Scope provides the following options:
|
|
|
FullBoxName Property
|
Command for retrieving the properties of a comment box. FullBoxName has the following syntax: <HierLevelPath>/<BoxName>.
Property has the following options:
Box name information: To get the name of the comment box you want to get details about, you can use TCL to query which boxes are placed in a design, see TCL example QueryDesign.tcl in your VisualApplets installation folder (e.g., C:\Program Files\SiliconSoftware\VisualApplets\Examples\AdvancedVAFunctions\Tcl Scripting\QueryDesign.tcl) |