oaOccModuleVectorInst Class Reference

Inheritance diagram for oaOccModuleVectorInst:

oaOccModuleInst oaOccInst oaOccObject oaDesignObject oaObject


Public Methods

oaModModuleVectorInstgetModInst () const
oaOccVectorInstDefgetDef () const
oaUInt4 getStart () const
oaUInt4 getStop () const
oaOccModuleVectorInstBitgetBit (oaUInt4 bitIndex) const
void getName (oaVectorName &name) const
void getPathName (oaVectorName &name) const
void getName (oaSimpleName &name) const
void getName (const oaNameSpace &ns, oaString &name) const
void getPathName (oaSimpleName &pathName) const
void getPathName (const oaNameSpace &ns, oaString &pathName) const

Static Public Methods

oaOccModuleVectorInst * find (const oaOccurrence *occurrence, const oaScalarName &baseName, oaUInt4 start, oaUInt4 stop)

Detailed Description

The oaOccModuleVectorInst class implements an occurrence vector instance in an occurrence hierarchy.

oaOccModuleVectorInst objects refer to master module and are always in the occurrence domain.


Member Function Documentation

oaOccModuleVectorInst * oaOccModuleVectorInst::find const oaOccurrence *    occurrence,
const oaScalarName &    baseName,
oaUInt4    start,
oaUInt4    stop
[static]
 

This function searches the specified occurrence looking for a vectorInst with the specified name. If name is hierarchical, this function will descend into lower levels of occurrence hierarchy, expanding the hierarchy and binding the master designs as needed. The vectorInst is returned if found, otherwise NULL is returned.

Parameters:
occurrence The occurrence to search in
baseName The base name of the instance to find
start The start bit index of the instance to find
stop The stop bit index of the instance to find
Returns:
A pointer to an oaOccModuleVectorInst

oaOccModuleVectorInstBit * oaOccModuleVectorInst::getBit oaUInt4    bitIndex const
 

This function returns a pointer to the vectorInstBit that corresponds to the specified bitIndex bit of this vectorInst. For example, if this is a vectorInst "i[7:0]" and bitIndex is zero, this function will return the vectorInstBit corresponding to "i[7]".

Parameters:
bitIndex Specifies which bit of the instance to return
Returns:
A pointer to an oaOccModuleVectorInstBit
Exceptions:
oacInvalidBitIndexIntoInst 

oaOccVectorInstDef * oaOccModuleVectorInst::getDef   const
 

This function returns the occurrence vectorInstDef for this occurrence vectorInst. The occurrence vectorInstDef is used to access all occurrence vectorInts with the same baseName.

oaModModuleVectorInst oaOccModuleVectorInst::getModInst   const
 

This function returns the corresponding module instance in the module domain.

Returns:
The oaModModuleVectorInst pointer

Reimplemented from oaOccModuleInst.

void oaOccInst::getName const oaNameSpace &    ns,
oaString &    name
const
 

This function fills out name with the name of this instance. The name is mapped according to the specified nameSpace.

Parameters:
ns The nameSpace used to map the name
name The returned instance name

void oaOccInst::getName oaSimpleName &    name const
 

This function fills out name with the name of this instance.

Parameters:
name The returned instance name

void oaOccModuleVectorInst::getName oaVectorName &    name const
 

This function returns the name of this occModuleVectorInst.

Parameters:
name The name of the occModuleVectorInst to return

void oaOccInst::getPathName const oaNameSpace &    ns,
oaString &    pathName
const
 

This function returns the full path name of this instance in the specified nameSpace in the specified pathName string. The pathName is relative to the top occurrence in the occurrence hierarchy containing this instance.

Parameters:
ns The nameSpace in which to return the name
pathName The path name of the instance

void oaOccInst::getPathName oaSimpleName &    pathName const
 

This function fills out pathName with the full path name of this instance, relative to the top occurrence in the occurrence hierarchy containing this instance.

Parameters:
pathName The path name of the instance

void oaOccModuleVectorInst::getPathName oaVectorName &    name const
 

This function returns the full path name of this instance, relative to the top occurrence in the occurrence hierarchy containing this instance.

Parameters:
name The pathName of the occModuleVectorInst to return

oaUInt4 oaOccModuleVectorInst::getStart   const
 

This function returns the start index of this vectorInst.

oaUInt4 oaOccModuleVectorInst::getStop   const
 

This function returns the stop index of this vectorInst.


The documentation for this class was generated from the following files:

Return to top of page