59 return static_cast<double>(
area);
90 os <<
"LUT/FF pairs: " <<
used_resources.find(LUT_FF_PAIRS)->second << std::endl;
Collect information about resource area.
static const double area_DEFAULT
default area value
refcount< area_info > area_infoRef
refcount definition of the class
exceptions managed by PandA
void set_resource_value(value_t val, double num)
double get_resource_value(value_t val) const
double get_area_value() const
Return the nominal value for the area of the component.
bool is_used_resource(value_t val) const
area_info(const ParameterConstRef &_Param)
Constructor.
static area_infoRef factory(const ParameterConstRef &Param)
Factory method.
void print(std::ostream &os) const
Print method.
std::map< value_t, double > used_resources
resources required for the component
void set_area_value(const double &_area_)
Set the nominal value for the area of the component.
Template borrowed from the ANTLR library by Terence Parr (http://www.jGuru.com - Software rights: htt...
Generic device description.
enum { REGISTERS, SLICE, SLICE_LUTS, LUT_FF_PAIRS, ALMS, LOGIC_ELEMENTS, FUNCTIONAL_ELEMENTS, LOGIC_AREA, DSP, BRAM, DRAM, POWER, URAM } value_t
type of resources
const ParameterConstRef Param
class containing all the parameters
double area
a double value representing the area of the component