Inheritance diagram for oaModBusTermBit:
Public Methods | |
oaModBusTermDef * | getDef () const |
oaUInt4 | getBitIndex () const |
void | getName (oaVectorBitName &name) const |
void | setName (const oaScalarName &baseName, oaUInt4 bitIndex) |
void | getName (oaName &name) const |
void | getName (const oaNameSpace &ns, oaString &name) const |
Static Public Methods | |
oaModBusTermBit * | create (oaModBitNet *modNet, const oaScalarName &baseName, oaUInt4 bitIndex, oaTermType type=oacInputOutputTermType) |
oaModBusTermBit * | create (oaModBitNet *modNet, const oaVectorBitName &bitName, oaTermType type=oacInputOutputTermType) |
oaModBusTermBit * | find (const oaModule *module, const oaScalarName &baseName, oaUInt4 bitIndex) |
oaBoolean | isValidName (const oaModBitNet *net, const oaScalarName &baseName, oaUInt4 bitIndex) |
An oaModBusTermBit can be explicitly created. An explicitly created busTermBit must be explicitly destroyed.
oaModBusTermBit, oaOccBusTermBit, and oaBusTermBit each represent a bit of a busTerminal on a different kind of master, where in each case the master represents a level of hierarchy in the design.
For oaModBusTermBit, the master is a module, and each module in a design will have a set of zero or more oaModBusTermBits. For oaOccBusTermBit, the master is an oaOccurrence.
For oaBusTerm, the master is an oaBlock, and the top block for the design will have a set of zero or more modBusTermBits. Typically, many of the oaBusTermBits on the top oaBlock have a corresponding oaModBusTermBit on the top oaModule. All of the oaBusTermBits on the top oaBlock have a corresponding oaOccBusTermBit on the top oaOccurrence.
When oaBusTermBit objects are created in the block domain, the corresponding oaModBusTermBit objects are automatically created on the top oaModule.
|
This function creates a busTermBit with the baseName as specified by bitName on the given modNet.
|
|
This function creates a busTermBit with the specified baseName and bitIndex in the given module net.
|
|
This function searches the specified module for a busTermBit with the specified baseName and bitIndex. The busTermBit is returned if found. Otherwise, NULL is returned. If the specified busTermBit is hidden, that is the term returned. If the reflected term in the block domain is hidden and overridden, the busTermBit corresponding to the hidden term is always returned.
|
|
This function returns the index for this busTermBit. |
|
This function returns the modBusTermDef associated with this terminal. |
|
This function fills in name with the name of this terminal mapped to the specified nameSpace. |
|
This function fills out name with the name of this terminal. |
|
This function returns the name of this modBusTermBit.
|
|
This function returns a boolean value indicating whether the specified name is valid for a new oaBusTermBit in the specified module net.
|
|
This function changes the name of this busTermBit to that implied by the given baseName and bitIndex.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.