PandA-2024.02
|
This class is used to specify the type of a connection object: UINT. More...
#include <conv_conn_obj.hpp>
Public Member Functions | |
u_assign_conn_obj (const std::string &_name) | |
Constructor. More... | |
~u_assign_conn_obj () override=default | |
Destructor. More... | |
void | add_bitsize (unsigned int _bitsize) |
add a size to the component More... | |
unsigned int | get_bitsize () const |
return the maximum bitsize associated with the component More... | |
Public Member Functions inherited from generic_obj | |
generic_obj (const resource_type t, const std::string &_name) | |
This is the constructor of the object class. More... | |
virtual | ~generic_obj ()=default |
Destructor. More... | |
void | print (std::ostream &os) const |
Prints elements into given stream. More... | |
const std::string | get_string () const |
Returns the name associated with the element. More... | |
unsigned int | get_type () const |
Return generic_obj type. More... | |
void | set_structural_obj (const structural_objectRef &SM_) |
Sets structural_object associated to this object. More... | |
void | set_out_sign (const structural_objectRef &out_sign_) |
Sets structural_object of output signal associated to this object. More... | |
const structural_objectRef | get_structural_obj () const |
Gets structural_object associated to this object. More... | |
const structural_objectRef | get_out_sign () const |
Gets structural_object of output signal associated to this object. More... | |
bool | operator< (const generic_obj &other) const |
Private Attributes | |
unsigned int | bitsize |
number of bit of in/out ports More... | |
Additional Inherited Members | |
Public Types inherited from generic_obj | |
enum | resource_type { FUNCTIONAL_UNIT = 0, REGISTER, MULTI_UNBOUNDED_OBJ, COMMAND_PORT, DATA_PORT, CONNECTION_ELEMENT, ADDER_CONN_OBJ, UU_CONV_CONN_OBJ, UI_CONV_CONN_OBJ, IU_CONV_CONN_OBJ, II_CONV_CONN_OBJ, FF_CONV_CONN_OBJ, I_ASSIGN_CONN_OBJ, U_ASSIGN_CONN_OBJ, F_ASSIGN_CONN_OBJ } |
Admissible resource types. More... | |
Protected Attributes inherited from generic_obj | |
const resource_type | type |
type of resource More... | |
Wrefcount< structural_object > | SM |
structural_object associated to element More... | |
Wrefcount< structural_object > | out_sign |
output signal associated to element. More... | |
std::string | name |
connection obj id More... | |
This class is used to specify the type of a connection object: UINT.
Definition at line 303 of file conv_conn_obj.hpp.
|
inline |
Constructor.
Definition at line 312 of file conv_conn_obj.hpp.
|
overridedefault |
Destructor.
|
inline |
add a size to the component
Definition at line 324 of file conv_conn_obj.hpp.
References uu_conv_conn_obj::bitsize.
|
inline |
return the maximum bitsize associated with the component
Definition at line 332 of file conv_conn_obj.hpp.
References uu_conv_conn_obj::bitsize.
|
private |
number of bit of in/out ports
Definition at line 306 of file conv_conn_obj.hpp.