![]() |
PandA-2024.02
|
#include <area_info.hpp>

Public Types | |
| using | value_t = enum { REGISTERS, SLICE, SLICE_LUTS, LUT_FF_PAIRS, ALMS, LOGIC_ELEMENTS, FUNCTIONAL_ELEMENTS, LOGIC_AREA, DSP, BRAM, DRAM, POWER, URAM } |
| type of resources More... | |
Public Member Functions | |
| void | print (std::ostream &os) const |
| Print method. More... | |
| void | set_area_value (const double &_area_) |
| Set the nominal value for the area of the component. More... | |
| double | get_area_value () const |
| Return the nominal value for the area of the component. More... | |
| void | set_resource_value (value_t val, double num) |
| bool | is_used_resource (value_t val) const |
| double | get_resource_value (value_t val) const |
Constructors and Destructors. | |
| area_info (const ParameterConstRef &_Param) | |
| Constructor. More... | |
| ~area_info () | |
| Destructor. More... | |
Static Public Member Functions | |
| static area_infoRef | factory (const ParameterConstRef &Param) |
| Factory method. More... | |
Static Public Attributes | |
| static const double | area_DEFAULT = 1.0 |
| default area value More... | |
Private Attributes | |
| double | area |
| a double value representing the area of the component More... | |
| std::map< value_t, double > | used_resources |
| resources required for the component More... | |
| const ParameterConstRef | Param |
| class containing all the parameters More... | |
Definition at line 51 of file area_info.hpp.
| using area_info::value_t = enum { REGISTERS, SLICE, SLICE_LUTS, LUT_FF_PAIRS, ALMS, LOGIC_ELEMENTS, FUNCTIONAL_ELEMENTS, LOGIC_AREA, DSP, BRAM, DRAM, POWER, URAM } |
type of resources
Definition at line 69 of file area_info.hpp.
|
explicit |
Constructor.
Definition at line 46 of file area_info.cpp.
References ~area_info().
Referenced by factory().


|
default |
|
static |
Factory method.
Definition at line 52 of file area_info.cpp.
References area_info().
Referenced by OmpAllocation::AddPandaPthreadMutex(), RTLCharacterization::AnalyzeCell(), AlteraBackendFlow::CheckSynthesisResults(), LatticeBackendFlow::CheckSynthesisResults(), BashBackendFlow::CheckSynthesisResults(), NanoXploreBackendFlow::CheckSynthesisResults(), XilinxBackendFlow::CheckSynthesisResults(), ModuleGeneratorManager::create_generic_module(), InterfaceInfer::create_resource_array(), InterfaceInfer::create_resource_m_axi(), InterfaceInfer::create_resource_Read_simple(), InterfaceInfer::create_resource_Write_simple(), FunctionalUnitStep::create_template_instance(), add_library::InternalExec(), ModuleGeneratorManager::specialize_fu(), functional_unit::xload(), XilinxBackendFlow::xparse_map_utilization(), XilinxBackendFlow::xparse_xst_utilization(), and RTLCharacterization::xwrite_characterization().


| double area_info::get_area_value | ( | ) | const |
Return the nominal value for the area of the component.
Definition at line 57 of file area_info.cpp.
References area.
Referenced by SynthesisEvaluation::Exec(), AllocationInformation::get_area(), functional_unit::print(), and functional_unit::xwrite().

| double area_info::get_resource_value | ( | value_t | val | ) | const |
Definition at line 77 of file area_info.cpp.
References is_used_resource(), and used_resources.
Referenced by SynthesisEvaluation::Exec(), AllocationInformation::get_area(), allocation::get_compliant_pipelined_unit(), AllocationInformation::get_DSPs(), AllocationInformation::InitializeMuxDB(), and functional_unit::xwrite().


Definition at line 72 of file area_info.cpp.
References used_resources.
Referenced by get_resource_value().

| void area_info::print | ( | std::ostream & | os | ) | const |
| void area_info::set_area_value | ( | const double & | _area_ | ) |
Set the nominal value for the area of the component.
Definition at line 62 of file area_info.cpp.
References area.
Referenced by XilinxBackendFlow::CheckSynthesisResults(), functional_unit::xload(), XilinxBackendFlow::xparse_map_utilization(), and XilinxBackendFlow::xparse_xst_utilization().

| void area_info::set_resource_value | ( | value_t | val, |
| double | num | ||
| ) |
Definition at line 67 of file area_info.cpp.
References used_resources.
Referenced by XilinxBackendFlow::CheckSynthesisResults(), XilinxBackendFlow::parse_DSPs(), functional_unit::xload(), XilinxBackendFlow::xparse_map_utilization(), and XilinxBackendFlow::xparse_xst_utilization().

|
private |
a double value representing the area of the component
Definition at line 73 of file area_info.hpp.
Referenced by get_area_value(), and set_area_value().
|
static |
default area value
Definition at line 118 of file area_info.hpp.
|
private |
class containing all the parameters
Definition at line 79 of file area_info.hpp.
resources required for the component
Definition at line 76 of file area_info.hpp.
Referenced by get_resource_value(), is_used_resource(), print(), and set_resource_value().
1.8.13