A primitive site.
More...
#include <xdlrc/model/PrimitiveSite.hpp>
List of all members.
Public Member Functions |
| | PrimitiveSite () |
| | Constructs a new PrimitiveSite instance.
|
| std::string & | name () |
| | Gets name.
|
| const std::string & | name () const |
| | Gets name read only.
|
| void | isBonded (bool flag) |
| | Sets bonded/unbonded flag.
|
| bool | isBonded () const |
| | Gets pin bonded/unbonded flag.
|
| void | clear () |
| | Resets all properties to default values.
|
Detailed Description
A primitive site.
The primitive site entity in XDLRC is broken up into two classes: PrimitiveSite and PrimitiveSiteType. The PrimitiveSite stores data of a distinct primitive site on a tile: its name and its bonded flag.
Definition at line 24 of file PrimitiveSite.hpp.
Constructor & Destructor Documentation
| PrimitiveSite::PrimitiveSite |
( |
| ) |
|
Member Function Documentation
| std::string & PrimitiveSite::name |
( |
| ) |
|
| const std::string & PrimitiveSite::name |
( |
| ) |
const |
| void PrimitiveSite::isBonded |
( |
bool |
flag | ) |
|
Sets bonded/unbonded flag.
- Parameters:
-
| flag | Flag denoting if this site connects out of the FPGA. |
Definition at line 31 of file PrimitiveSite.cpp.
| bool PrimitiveSite::isBonded |
( |
| ) |
const |
Gets pin bonded/unbonded flag.
- Returns:
- Flag denoting if this site connects out of the FPGA.
Definition at line 37 of file PrimitiveSite.cpp.
| void PrimitiveSite::clear |
( |
| ) |
|
Friends And Related Function Documentation
| void writeBinary |
( |
const PrimitiveSite & |
data, |
|
|
std::ostream & |
outputStream |
|
) |
| |
|
friend |
Writes data from a PrimitiveSite into a binary stream.
- Parameters:
-
| data | The PrimitiveSite to write. |
| outputStream | The stream to write into. |
- Exceptions:
-
| void readBinary |
( |
PrimitiveSite & |
data, |
|
|
std::istream & |
inputStream |
|
) |
| |
|
friend |
Reads data into a PrimitiveSite from a binary stream.
- Parameters:
-
| data | The PrimitiveSite to read into. |
| inputStream | The stream to read from. |
- Exceptions:
-
The documentation for this class was generated from the following files: