73 funit_obj(
const std::string& _name,
unsigned int _type,
unsigned int _index)
103 fuOpSelectors.insert(std::make_pair(op_name, new_sel));
112 return fuOpSelectors[op_name];
void add_selector_op(const generic_objRef &new_sel, const std::string &op_name)
Add selector to list.
funit_obj(const std::string &_name, unsigned int _type, unsigned int _index)
This is the constructor of the object class, with a given id.
const unsigned int index
instance number of the unit
unsigned int get_fu() const
Get funit name.
Base class for all resources into datapath.
const unsigned int fu_type
type of the functional unit
Generic class managing all resources into datapath.
Class representing functional units in the datapath.
Template definition of refcount.
std::map< std::string, generic_objRef > fuOpSelectors
generic_objRef GetSelector_op(const std::string &op_name)
Get selector object.
unsigned int get_index() const
Get funit index.