◆ DFlib_Impl()
| DFlib_Impl::DFlib_Impl |
( |
const string & |
filename | ) |
|
Constructor from a file.
- Parameters
-
| filename | Name of the file (dot format). |
◆ add()
| bool DFlib_Impl::add |
( |
const string & |
filename | ) |
|
Adds new functions to the library.
- Parameters
-
| filename | Name of the file (dot format). |
- Returns
- True if successful, and false if an error is produced.
◆ getError() [1/2]
| const std::string& Dataflow::DFlib_Impl::getError |
( |
| ) |
const |
|
inline |
- Returns
- The error message associated to the netlist.
◆ getError() [2/2]
| std::string& Dataflow::DFlib_Impl::getError |
( |
| ) |
|
|
inline |
- Returns
- The error message associated to the netlist.
◆ getFuncID()
| funcID Dataflow::DFlib_Impl::getFuncID |
( |
const string & |
fname | ) |
const |
|
inline |
Gets a funcID from a name function.
- Parameters
-
| fname | Name of the function. |
- Returns
- The funcID (invalidDataflowID if it does not exist).
◆ hasError()
| bool Dataflow::DFlib_Impl::hasError |
( |
| ) |
const |
|
inline |
Indicates whether there is an error.
- Returns
- True if there is an error and false otherwise.
◆ numFuncs()
| int Dataflow::DFlib_Impl::numFuncs |
( |
| ) |
const |
|
inline |
- Returns
- The number of functions of the library.
◆ operator[]() [1/4]
| DFnetlist& Dataflow::DFlib_Impl::operator[] |
( |
const string & |
fname | ) |
|
|
inline |
Returns a reference to the dataflow netlist of a function.
- Parameters
-
| fname | Name of the function. |
- Returns
- A reference to the dataflow netlist of the function.
◆ operator[]() [2/4]
| const DFnetlist& Dataflow::DFlib_Impl::operator[] |
( |
const string & |
fname | ) |
const |
|
inline |
Returns a const reference to the dataflow netlist of a function.
- Parameters
-
| fname | Name of the function. |
- Returns
- A const reference to the dataflow netlist of the function.
◆ operator[]() [3/4]
| DFnetlist& Dataflow::DFlib_Impl::operator[] |
( |
funcID |
id | ) |
|
|
inline |
Returns a reference to the dataflow netlist of a function.
- Parameters
-
- Returns
- A reference to the dataflow netlist of the function.
◆ operator[]() [4/4]
| const DFnetlist& Dataflow::DFlib_Impl::operator[] |
( |
funcID |
id | ) |
const |
|
inline |
Returns a const reference to the dataflow netlist of a function.
- Parameters
-
- Returns
- A const reference to the dataflow netlist of the function.
◆ setError()
| void Dataflow::DFlib_Impl::setError |
( |
const std::string & |
err | ) |
|
|
inline |
Sets an error message for the library.
- Parameters
-
◆ writeDot() [1/2]
| bool Dataflow::DFlib_Impl::writeDot |
( |
const std::string & |
filename = "" | ) |
|
Writes the dataflow library in dot format.
- Parameters
-
| filename | The name of the file. In case the filename is empty, it is written into cout. |
- Returns
- true if successful, and false otherwise.
◆ writeDot() [2/2]
| bool Dataflow::DFlib_Impl::writeDot |
( |
std::ostream & |
s | ) |
|
Writes the dataflow library in dot format.
- Parameters
-
- Returns
- True if successful, and false otherwise.
The documentation for this class was generated from the following files:
- /home/dynamatic/Dynamatic/etc/dhls/Buffers/inc/DFnetlist.h
- /home/dynamatic/Dynamatic/etc/dhls/Buffers/src/DFlib.cpp