![]() |
PandA-2024.02
|
constraint functor used by get_attribute_of_fu_per_op More...
#include <allocation_information.hpp>
Public Member Functions | |
| unsigned int | operator() (const unsigned int name) const |
| Required functor function used to compute the number of resources associated with the given resource. More... | |
| void | update (const unsigned int name, int delta) |
| Function used to update the copy of the technology constraints. More... | |
| updatecopy_HLS_constraints_functor (const AllocationInformationRef allocation_information) | |
| Constructor. More... | |
| ~updatecopy_HLS_constraints_functor ()=default | |
| Destructor. More... | |
Private Attributes | |
| std::vector< unsigned int > | tech |
| copy of the technology constraints More... | |
constraint functor used by get_attribute_of_fu_per_op
Definition at line 1062 of file allocation_information.hpp.
|
explicit |
Constructor.
| ALL | is the reference to allocation class where technology constraints are stored |
Definition at line 1813 of file allocation_information.cpp.
|
default |
Destructor.
| unsigned int updatecopy_HLS_constraints_functor::operator() | ( | const unsigned int | name | ) | const |
Required functor function used to compute the number of resources associated with the given resource.
| name | is the name of the resource |
Definition at line 1799 of file allocation_information.cpp.
References tech.
| void updatecopy_HLS_constraints_functor::update | ( | const unsigned int | name, |
| int | delta | ||
| ) |
Function used to update the copy of the technology constraints.
| name | is the id of the resource |
| the | number of delta resources |
Definition at line 1804 of file allocation_information.cpp.
References INFINITE_UINT, and tech.
|
private |
copy of the technology constraints
Definition at line 1091 of file allocation_information.hpp.
Referenced by operator()(), and update().
1.8.13