Bitstream Interpretation Library (BIL)
0.1
|
References a pin on a distinct primitive site. More...
#include <xdl/model/PinRef.hpp>
Public Member Functions | |
PinRef () | |
Constructs a new PinRef instance. | |
void | instanceIndex (size_t index) |
Sets the Instance the pin is on. | |
size_t | instanceIndex () const |
Gets the Instance the pin is on. | |
void | pinIndex (size_t index) |
Sets the target pin. | |
size_t | pinIndex () const |
Gets the target pin. | |
void | clear () |
Resets all properties to default values. |
References a pin on a distinct primitive site.
In a XDL design this class is used to attach nets to the pins of primitive sites. The primitive site is (implicitly) denoted by an index to an Instance in the Design. The pin is denoted by an index to a Pin in the corresponding PrimitiveType of a Device.
Definition at line 24 of file PinRef.hpp.
PinRef::PinRef | ( | ) |
Constructs a new PinRef instance.
Definition at line 11 of file PinRef.cpp.
void PinRef::instanceIndex | ( | size_t | index | ) |
Sets the Instance the pin is on.
Definition at line 19 of file PinRef.cpp.
size_t PinRef::instanceIndex | ( | ) | const |
Gets the Instance the pin is on.
Definition at line 25 of file PinRef.cpp.
void PinRef::pinIndex | ( | size_t | index | ) |
Sets the target pin.
index | Index of pin in corresponding PrimitiveType. |
Definition at line 31 of file PinRef.cpp.
size_t PinRef::pinIndex | ( | ) | const |
Gets the target pin.
Definition at line 37 of file PinRef.cpp.
void PinRef::clear | ( | ) |
Resets all properties to default values.
Definition at line 43 of file PinRef.cpp.