Inheritance diagram for oaModVectorInst:
Public Methods | |
oaModVectorInstDef * | getDef () const |
oaUInt4 | getStart () const |
oaUInt4 | getStop () const |
oaModVectorInstBit * | getBit (oaUInt4 bitIndex) const |
void | getName (oaVectorName &name) const |
void | setBaseName (const oaScalarName &baseName) |
void | setRange (oaUInt4 start, oaUInt4 stop) |
void | getName (oaSimpleName &name) const |
void | getName (const oaNameSpace &ns, oaString &name) const |
Static Public Methods | |
oaModVectorInst * | create (oaModule *module, oaDesign *master, const oaScalarName &baseName, oaUInt4 start, oaUInt4 stop, const oaParamArray *params=NULL) |
oaModVectorInst * | create (oaModule *module, const oaScalarName &libName, const oaScalarName &cellName, const oaScalarName &viewName, const oaScalarName &baseName, oaUInt4 start, oaUInt4 stop, const oaParamArray *params=NULL) |
oaModVectorInst * | find (const oaModule *module, const oaScalarName &baseName, oaUInt4 start, oaUInt4 stop) |
oaBoolean | isValidName (const oaModule *module, const oaScalarName &baseName, oaUInt4 start, oaUInt4 stop) |
An oaModVectorInst object is always in the module domain. It is an instance of a design as opposed to an oaModModuleVectorInst, which is a vector instance of a local module.
|
This function creates a new vector instance of the master design inside of the specified parent module. This form of the create function identifies the master by name. The master does not have to be open and it does not have to exist yet when this form is used. The specified baseName and start/stop indices are first checked to verify that they are legal and don't specify an instance that already exists. The optional params argument is used if the master design is a pcell.
|
|
This function creates a new vector instance of the master design inside of the specified parent module. This form uses a pointer to the master design The specified baseName and start/stop indices are first checked to verify that they are legal and don't specify an instance that already exists. The optional params argument is used if the master design is a pcell.
|
|
This function searches the specified module for a module vectorInst with the specified name and start or stop bits. The function returns the instance if it finds one. Otherwise, NULL is returned. |
|
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]".
|
|
This function returns the module vectorInstDef for this module vectorInst. The module vectorInstDef is used to access all module vectorInsts with the same baseName but different index ranges. |
|
This function fills out name with the name of this instance. The name is mapped according to the specified nameSpace.
|
|
This function fills out name with the name of this instance.
|
|
This function returns the vectorName of this modVectorInst.
|
|
This function returns the start index of this module vectorInst. |
|
This function returns the stop index of this module vectorInst. |
|
This function returns a boolean value that indicates if the specified baseName, combined with the start and stop values, is a valid new oaModVectorInst in the specified module. |
|
This function changes the base name of this vectorInst. Exceptions are thrown if the new name is the name of an existing scalar, an arrayInst, or if another vectorInst exists whose indices overlap with this vectorInst, or if the given baseName matches the form of the system-generated scalarInst name.
|
|
This function sets the start and stop bit indices of this vectorInst.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.