|
torc-master
|
Encapsulation of a primitive element pin's name, flags, and element pointer. Primitive element pins are sub-site inputs or outputs. More...
#include <PrimitiveElementPin.hpp>
Inheritance diagram for torc::architecture::PrimitiveElementPin:
Collaboration diagram for torc::architecture::PrimitiveElementPin:Public Types | |
| enum | EPinDirection { ePinDirectionNone = 0, ePinDirectionInput = 2, ePinDirectionOutput = 4 } |
Public Member Functions | |
| const PrimitiveElement * | getElementPtr (void) const |
| Returns a pointer to the primitive element that owns this pin. More... | |
| const string & | getName (void) const |
| Returns the pin name. More... | |
| PinFlags | getFlags (void) const |
| Returns the pin direction flags. More... | |
| const PrimitiveConnSharedPtr | getPrimitiveConn (void) const |
| Returns the primitive connection that includes this pin. More... | |
| PrimitiveElementPin (void) | |
| Null constructor. This constructor should only be used by containers. More... | |
| bool | isInput (void) const |
| Returns true if this pin is a primitive input. More... | |
| bool | isOutput (void) const |
| Returns true if this pin is a primitive output. More... | |
Protected Types | |
| typedef xilinx::PinFlags | PinFlags |
| Imported type name. More... | |
| typedef std::string | string |
| Imported type name. More... | |
Protected Member Functions | |
| PrimitiveElementPin (const PrimitiveElement *inElementPtr, const std::string &inName, PinFlags inFlags) | |
| Protected constructor. inElementPtr The primitive element that owns this pin. inName The pin name. inFlags The pin direction flags. More... | |
Protected Attributes | |
| const PrimitiveElement * | mElementPtr |
| The primitive element that owns this pin. More... | |
| string | mName |
| The pin name. More... | |
| PinFlags | mFlags |
| The pin direction flags. More... | |
| const PrimitiveConnSharedPtr | mPrimitiveConn |
| The primitive connection that includes this pin. More... | |
Friends | |
| class | Sites |
| The Sites class has access to our internals. More... | |
| class | torc::architecture::architecture::PrimitiveElementPinUnitTest |
| Our unit test class has access to our internals. More... | |
Encapsulation of a primitive element pin's name, flags, and element pointer. Primitive element pins are sub-site inputs or outputs.
Definition at line 41 of file PrimitiveElementPin.hpp.
|
protected |
Imported type name.
Definition at line 49 of file PrimitiveElementPin.hpp.
|
protected |
Imported type name.
Definition at line 50 of file PrimitiveElementPin.hpp.
|
inherited |
| Enumerator | |
|---|---|
| ePinDirectionNone | |
| ePinDirectionInput | |
| ePinDirectionOutput | |
Definition at line 37 of file architecture/PrimitivePin.hpp.
|
inlineprotected |
Protected constructor. inElementPtr The primitive element that owns this pin. inName The pin name. inFlags The pin direction flags.
Definition at line 66 of file PrimitiveElementPin.hpp.
|
inline |
Null constructor. This constructor should only be used by containers.
Definition at line 80 of file PrimitiveElementPin.hpp.
|
inline |
Returns a pointer to the primitive element that owns this pin.
Definition at line 71 of file PrimitiveElementPin.hpp.
Here is the caller graph for this function:
|
inline |
Returns the pin direction flags.
Definition at line 75 of file PrimitiveElementPin.hpp.
Here is the caller graph for this function:
|
inline |
Returns the pin name.
Definition at line 73 of file PrimitiveElementPin.hpp.
Here is the caller graph for this function:
|
inline |
Returns the primitive connection that includes this pin.
Definition at line 77 of file PrimitiveElementPin.hpp.
Here is the caller graph for this function:
|
inline |
Returns true if this pin is a primitive input.
Definition at line 82 of file PrimitiveElementPin.hpp.
Here is the caller graph for this function:
|
inline |
Returns true if this pin is a primitive output.
Definition at line 84 of file PrimitiveElementPin.hpp.
Here is the caller graph for this function:
|
friend |
The Sites class has access to our internals.
Definition at line 45 of file PrimitiveElementPin.hpp.
|
friend |
Our unit test class has access to our internals.
Definition at line 47 of file PrimitiveElementPin.hpp.
|
protected |
The primitive element that owns this pin.
Definition at line 53 of file PrimitiveElementPin.hpp.
|
protected |
The pin direction flags.
Definition at line 58 of file PrimitiveElementPin.hpp.
|
protected |
The pin name.
Definition at line 55 of file PrimitiveElementPin.hpp.
|
protected |
The primitive connection that includes this pin.
Definition at line 60 of file PrimitiveElementPin.hpp.