Plug description (API) More...
Public Types | |
typedef Component | Inherit |
![]() | |
typedef Go | Inherit |
Public Member Functions | |
Instance * | getInstance () const |
Net * | getMasterNet () const |
bool | isConnected () const |
void | setNet (Net *net) |
![]() | |
Net * | getNet () const |
Rubber * | getRubber () const |
Hook * | getBodyHook () |
virtual Hooks | getHooks () const |
Components | getConnexComponents () const |
Components | getSlaveComponents () const |
![]() | |
bool | isMaterialized () const |
![]() | |
Property * | getProperty (const Name &) const |
Properties | getProperties () const |
bool | hasProperty () const |
void | put (Property *) |
void | remove (Property *) |
void | removeProperty (const Name &) |
void | clearProperties () |
Static Public Member Functions | |
Plug Collection | |
static PlugFilter | getIsConnectedFilter () |
static PlugFilter | getIsUnconnectedFilter () |
![]() | |
static ComponentFilter | getIsUnderFilter (const Box &area) |
![]() | |
static bool | autoMaterializationIsDisabled () |
static void | enableAutoMaterialization () |
static void | disableAutoMaterialization () |
Plug description (API)
A plug can be assimilated to a "logical port instance" : it designates both the concerned instance and the net of the model cell instanciated to which it is connected. This net, which must be an external net, will be named "master net" because it is a net of the instance master cell (notice that this net can be asimilated to a "logical port").
A plug is unique, that is, for a given instance there is one and only one plug refering to a given master net.
Plugs being completely managed by the system, there is no constructor nor destructor provided.
Hurricane::Plug::getIsConnectedFilter Hurricane::Plug::getIsUnconnectedFilter
Useful for calling upon methods of the base class without knowing it.
|
inline |
Returns: the instance to which belongs the plug.
|
inline |
Returns: the external net referenced by the plug in the master cell of its instance.
|
static |
Returns: a filter for selecting only connected plugs.
|
static |
Returns: a filter for selecting only unconnected plugs.
|
inline |
Returns: true if the plug is connected, else false.
References Hurricane::Component::getNet().
void Hurricane::Plug::setNet | ( | Net * | net | ) |
This method allows to connect or change the net of a plug.
Generated by doxygen 1.9.1 on Wed Nov 20 2024 | Return to top of page |
Hurricane VLSI Database | Copyright © 2000-2020 Bull S.A. All rights reserved |