Bitstream Interpretation Library (BIL)
0.1
|
A programmable interface point. More...
#include <xdlrc/model/PIP.hpp>
Public Member Functions | |
PIP () | |
Constructs a new PIP instance. | |
void | startWireIndex (unsigned short index) |
Sets index of start wire. | |
unsigned short | startWireIndex () const |
Gets index of start wire. | |
void | endWireIndex (unsigned short index) |
Sets index of end wire. | |
unsigned short | endWireIndex () const |
Gets index of end wire. | |
void | direction (PIPDirection::direction_t dir) |
Sets direction. | |
PIPDirection::direction_t | direction () const |
Gets direction. | |
void | clear () |
Resets all properties to default values. |
Friends | |
bool | operator== (const PIP &pip1, const PIP &pip2) |
Tests two PIP instances for memberwise equality. | |
bool | operator< (const PIP &pip1, const PIP &pip2) |
Tests two PIP instances for memberwise <. | |
void | writeBinary (const PIP &data, std::ostream &outputStream) |
Writes data from a PIP into a binary stream. | |
void | readBinary (PIP &data, std::istream &inputStream) |
Reads data into a PIP from a binary stream. |
A programmable interface point.
This class describes a programmable interface point, in short PIP. PIPs are located on tiles and represent a connection between a start and an end wire, that can be activated or not by configuration. The direction of the connection can vary. (In an XDLRC file, PIPs that connect an input/output pin pair by connecting the corresponding pin wires are marked as route- through, as they allow routing to go through a primitive site. Since this information is redundant, it is omitted here. Because of similar reasons the location of the PIP is omitted, too.)
void PIP::startWireIndex | ( | unsigned short | index | ) |
unsigned short PIP::startWireIndex | ( | ) | const |
void PIP::endWireIndex | ( | unsigned short | index | ) |
unsigned short PIP::endWireIndex | ( | ) | const |
void PIP::direction | ( | PIPDirection::direction_t | dir | ) |
PIPDirection::direction_t PIP::direction | ( | ) | const |
|
friend |
|
friend |