Inheritance diagram for oaBundleNet:
Public Methods | |
oaUInt4 | getNumMembers () const |
oaUInt4 | getRepeat (oaUInt4 index) const |
oaNet * | getMember (oaUInt4 index) const |
void | getName (oaBundleName &name) const |
oaCollection< oaNet, oaBundleNet > | getMembers () const |
oaCollection< oaOccNet, oaBundleNet > | getOccMembers () const |
void | getName (oaName &name) const |
void | getName (const oaNameSpace &ns, oaString &name) const |
Static Public Methods | |
oaBundleNet * | create (oaBlock *block, const oaBundleName &name, oaSigType sigType=oacSignalSigType, oaBoolean isGlobal=false, oaBlockDomainVisibility view=oacInheritFromTopBlock) |
oaBundleNet * | find (const oaBlock *block, const oaBundleName &name) |
oaBoolean | isValidName (oaBlock *block, const oaBundleName &name) |
An oaBundleNet object can be viewed as a collection of single bit net members and represents a collection of logical connections. The index and ordering of each member of a bundle net is indicated by the bundle name representation (refer to oaBundleName documentation for general description).
For example, a bundle net with the name of '2*A,2*B[5],2*C[1:0]' in the oaNative namespace consists of 8 single bit members: A A B[5] B[5] C[1] C[0] C[1] and C[0]. The single bit net 'C[1]' is the 5th member of that bundle net, it is also the 7th member because the busName representation 'C[1:0]' is set to have a repeat value of 2.
|
This function creates an oaBundleNet object in the specified block with the specified attributes. The name specifies the members of the oaBundleNet object and these member nets are automatically created if they do not already exist in the specified block. If all the members of the specified bundleName are hierarchical, they have the same path, and the path already exists in the occurrence domain, the net is created in the occurrence specified by the path. An exception is thrown if an oaBundleNet object with the specified name already exists.
|
|
This function searches the specified block for an oaBundleNet with the specified name. If a bundle with the specified name cannot be found directly, and all the members of the name have the same hierarchical path, the canonical net of the bundle reflected in the block domain is returned. A hierarchical name is considered an alias that identifies an oaOccNetBundle in the occurrence domain.
|
|
This function returns the specified member of this net at the specified bundle member index.
|
|
This function returns a collection of the member nets in this oaBundleNet. |
|
This function returns the name of this net in the specified nameSpace in the specified name string. |
|
This function returns the name of this net in the name argument. |
|
This function returns the name of this oaBundleNet
|
|
This function returns the number of members in this oaBundleNet. Each member net in an oaBundleNet can repeat. Example: Assume an oaBundleNet with a oaCdbaNS bundleName of "a,2*b,c<5:0>". oaBundleNet::getNumMembers will return 3. |
|
This function returns a collection of occNets in this oaBundleNet. |
|
This function returns the repeat count for the specified member of this oaBundleNet.
For example, for oaBundleNet
|
|
This function returns a boolean value that indicates whether the specified name is valid for a new oaBundleNet in the specified block. The return value is true if all the members specifed by the given bundle name are in the same occurrence, and a bundle net combining those oaOccNets does not already exist. If the name of any member is hierarchical, and there is no occurrence with that path name, the function returns false.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.