torc-master
|
Encapsulation of a primitive pin's name and flags. Primitive pins are logic site inputs or outputs. More...
#include <PrimitivePin.hpp>
Public Types | |
enum | EPinDirection { ePinDirectionNone = 0, ePinDirectionInput = 2, ePinDirectionOutput = 4 } |
Public Member Functions | |
const string & | getName (void) const |
Returns the pin name. More... | |
PinFlags | getFlags (void) const |
Returns the pin direction flags. More... | |
PrimitivePin (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 | |
PrimitivePin (const string &inName, PinFlags inFlags) | |
Protected constructor. inName The pin name. inFlags The pin direction flags. More... | |
Protected Attributes | |
string | mName |
The pin name. More... | |
PinFlags | mFlags |
The pin direction flags. More... | |
Friends | |
class | Sites |
The Sites class has access to our internals. More... | |
class | torc::architecture::architecture::PrimitivePinUnitTest |
Our unit test class has access to our internals. More... | |
Encapsulation of a primitive pin's name and flags. Primitive pins are logic site inputs or outputs.
Definition at line 43 of file architecture/PrimitivePin.hpp.
|
protected |
Imported type name.
Definition at line 51 of file architecture/PrimitivePin.hpp.
|
protected |
Imported type name.
Definition at line 52 of file architecture/PrimitivePin.hpp.
|
inherited |
Enumerator | |
---|---|
ePinDirectionNone | |
ePinDirectionInput | |
ePinDirectionOutput |
Definition at line 37 of file architecture/PrimitivePin.hpp.
|
inlineprotected |
Protected constructor. inName The pin name. inFlags The pin direction flags.
Definition at line 63 of file architecture/PrimitivePin.hpp.
|
inline |
Null constructor. This constructor should only be used by containers.
Definition at line 73 of file architecture/PrimitivePin.hpp.
|
inline |
Returns the pin direction flags.
Definition at line 70 of file architecture/PrimitivePin.hpp.
|
inline |
Returns the pin name.
Definition at line 68 of file architecture/PrimitivePin.hpp.
|
inline |
Returns true if this pin is a primitive input.
Definition at line 75 of file architecture/PrimitivePin.hpp.
|
inline |
Returns true if this pin is a primitive output.
Definition at line 77 of file architecture/PrimitivePin.hpp.
|
friend |
The Sites class has access to our internals.
Definition at line 47 of file architecture/PrimitivePin.hpp.
|
friend |
Our unit test class has access to our internals.
Definition at line 49 of file architecture/PrimitivePin.hpp.
|
protected |
The pin direction flags.
Definition at line 58 of file architecture/PrimitivePin.hpp.
|
protected |
The pin name.
Definition at line 55 of file architecture/PrimitivePin.hpp.