HDL Designer Series Command Reference

Version 2018.1



$declaration configure (args)

with no arguments lists the names and values of all options
with one argument lists the value of the specified option
The following options are available:
name : name of the declaration itself
fullName : fully qualified name including those of parent objects
startLine : the line number where the declaration begins in the source file
refName : Name that can be to refer to the object when running tasks or accessing properties
class : identifies the object as a declaration
Argument: args see above

$declaration contexts ()

Obtain the contexts referenced.
Returns: A list of contexts.

$declaration file ()

Obtain the file containing the object.
Returns: A single object, see fileRefApi.tcl

$declaration packages ()

Obtain the packages referenced.
Returns: A list of packages, see packageHeaderRefApi.tcl or an empty list if the declaration is not VHDL.

$declaration views ()

Obtain the packages referenced.
Returns: A list of packages, see packageHeaderRefApi.tcl or an empty list if the declaration is not VHDL.


Copyright © Mentor Graphics Corporation 2018. All Rights Reserved.