|
Bitstream Interpretation Library (BIL)
0.1
|
Attaches a tile wire to a pin of a primitive site. More...
#include <xdlrc/model/PinWire.hpp>
Public Member Functions | |
| PinWire () | |
| Constructs a new PinWire instance. | |
| void | wireIndex (unsigned short index) |
| Sets index of wire to connect to. | |
| unsigned short | wireIndex () const |
| Gets index of wire to connect to. | |
| void | pinIndex (unsigned short index) |
| Sets index of pin to connect to. | |
| unsigned short | pinIndex () const |
| Gets index of pin to connect to. | |
| void | clear () |
| Resets all properties to default values. | |
Friends | |
| bool | operator== (const PinWire &pw1, const PinWire &pw2) |
| Tests two PinWire instances for memberwise equality. | |
| void | writeBinary (const PinWire &data, std::ostream &outputStream) |
| Writes data from a PinWire into a binary stream. | |
| void | readBinary (PinWire &data, std::istream &inputStream) |
| Reads data into a PinWire from a binary stream. | |
Attaches a tile wire to a pin of a primitive site.
All pins of a primitive site are connected to the wires of containing tile with the help of this class.
Definition at line 22 of file PinWire.hpp.
| PinWire::PinWire | ( | ) |
Constructs a new PinWire instance.
Definition at line 11 of file PinWire.cpp.
| void PinWire::wireIndex | ( | unsigned short | index | ) |
Sets index of wire to connect to.
| index | Index of wire in superordinated TileType. |
Definition at line 19 of file PinWire.cpp.
| unsigned short PinWire::wireIndex | ( | ) | const |
Gets index of wire to connect to.
Definition at line 25 of file PinWire.cpp.
| void PinWire::pinIndex | ( | unsigned short | index | ) |
Sets index of pin to connect to.
| index | Index of pin in corresponding PrimitiveDefinition. |
Definition at line 31 of file PinWire.cpp.
| unsigned short PinWire::pinIndex | ( | ) | const |
Gets index of pin to connect to.
Definition at line 37 of file PinWire.cpp.
| void PinWire::clear | ( | ) |
Resets all properties to default values.
Definition at line 43 of file PinWire.cpp.
Tests two PinWire instances for memberwise equality.
Definition at line 92 of file PinWire.hpp.
|
friend |
|
friend |
1.8.1.1