|
torc-master
|
Encapsulation of primitive site definition, with associated connections, elements, and pins. More...
#include <PrimitiveDef.hpp>
Collaboration diagram for torc::architecture::PrimitiveDef:Public Member Functions | |
| PrimitiveDef (void) | |
| Null constructor. This constructor should only be used by containers. More... | |
| PinIndex | findPinIndexByName (const std::string &inName) const |
| Returns the pin index corresponding to the given pin name, or PinIndex::undefined() if the pin name does not exist. inName The pin name to find. More... | |
| const string & | getName (void) const |
| Returns the name of the primitive. More... | |
| const PrimitivePinArray & | getPins (void) const |
| Returns a constant array of primitive pins. More... | |
| const PrimitiveElementArray & | getElements (void) const |
| Returns a constant array of primitive elements. More... | |
| const PrimitiveConnSharedPtrArray & | getConnections (void) const |
| Returns a constant array of primitive connection shared pointers. More... | |
Protected Types | |
| typedef xilinx::PinIndex | PinIndex |
| Imported type name. More... | |
| typedef std::string | string |
| Imported type name. More... | |
| typedef std::map< std::string, PinIndex > | PinNameToPinIndexMap |
| Map of pin names to pin indexes for a primitive element. More... | |
Protected Member Functions | |
| PrimitivePinArray & | getPins (void) |
| Returns a non-constant array of element pins. This function should only be used by the Sites class during database iniialization. More... | |
Protected Attributes | |
| std::string | mName |
| The primitive name. More... | |
| PrimitivePinArray | mPins |
| The primitive pins. More... | |
| PrimitiveElementArray | mElements |
| The primitive elements. More... | |
| PrimitiveConnSharedPtrArray | mConnections |
| The primitive internal connections. More... | |
| PinNameToPinIndexMap | mPinNameToPinIndex |
| The map of pin names to pin indexes. More... | |
Friends | |
| class | Sites |
Encapsulation of primitive site definition, with associated connections, elements, and pins.
Definition at line 30 of file PrimitiveDef.hpp.
|
protected |
Imported type name.
Definition at line 35 of file PrimitiveDef.hpp.
|
protected |
Map of pin names to pin indexes for a primitive element.
Definition at line 38 of file PrimitiveDef.hpp.
|
protected |
Imported type name.
Definition at line 36 of file PrimitiveDef.hpp.
|
inline |
Null constructor. This constructor should only be used by containers.
Definition at line 59 of file PrimitiveDef.hpp.
|
inline |
Returns the pin index corresponding to the given pin name, or PinIndex::undefined() if the pin name does not exist. inName The pin name to find.
Definition at line 64 of file PrimitiveDef.hpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Returns a constant array of primitive connection shared pointers.
Definition at line 77 of file PrimitiveDef.hpp.
Here is the caller graph for this function:
|
inline |
Returns a constant array of primitive elements.
Definition at line 75 of file PrimitiveDef.hpp.
Here is the caller graph for this function:
|
inline |
Returns the name of the primitive.
Definition at line 71 of file PrimitiveDef.hpp.
Here is the caller graph for this function:
|
inlineprotected |
Returns a non-constant array of element pins. This function should only be used by the Sites class during database iniialization.
Definition at line 54 of file PrimitiveDef.hpp.
Here is the caller graph for this function:
|
inline |
Returns a constant array of primitive pins.
Definition at line 73 of file PrimitiveDef.hpp.
|
friend |
Definition at line 33 of file PrimitiveDef.hpp.
|
protected |
The primitive internal connections.
Definition at line 47 of file PrimitiveDef.hpp.
|
protected |
The primitive elements.
Definition at line 45 of file PrimitiveDef.hpp.
|
protected |
The primitive name.
Definition at line 41 of file PrimitiveDef.hpp.
|
protected |
The map of pin names to pin indexes.
Definition at line 49 of file PrimitiveDef.hpp.
|
protected |
The primitive pins.
Definition at line 43 of file PrimitiveDef.hpp.