HDL Designer Series Command Reference

Version 2018.1

Description
A VHDL package


$packageHeader body ()

Gets the package body implementing the interface of a package header, see packageBodyRefApi.tcl
Returns: The body object.

$packageHeader 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:
class : identifies the object as a packageHeader
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
Argument: args see above

$packageHeader contexts ()

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

$packageHeader file ()

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

$packageHeader packages ()

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

$packageHeader 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.