52 tree_target(overall_target),
generic_objRef get_final_target()
Returns the object which will receive the mux tree result.
generic_objRef target
reference to generic_obj associated with the multiplexer
generic_objRef tree_target
reference to generic_obj target of the mux tree's dataflow
mux_obj(const generic_objRef first, const generic_objRef second, unsigned int level, const std::string &name, const generic_objRef overall_target)
This is the constructor of the object class.
unsigned int get_level() const
Return the level of the multiplexer.
~mux_obj() override
Destructor.
Base class for multiplexer into datapath.
unsigned int level
depth level of the mux
Generic class managing all resources into datapath.
unsigned int get_bitsize() const
return the maximum bitsize associated with the component
unsigned int bitsize
number of bit of in/out ports
void set_target(const generic_objRef tgt)
Sets target object for multiplexer.
generic_objRef GetSelector() const
Gets the selector.
generic_objRef selector
selector object. It can be both a port or the root of a logic gate
void set_selector(const generic_objRef sel)
Sets the element representing the selector.