PandA-2024.02
Public Member Functions | Private Attributes
multi_unbounded_obj Class Reference

class modeling a register object More...

#include <multi_unbounded_obj.hpp>

Inheritance diagram for multi_unbounded_obj:
Inheritance graph
[legend]
Collaboration diagram for multi_unbounded_obj:
Collaboration graph
[legend]

Public Member Functions

 multi_unbounded_obj (vertex _fsm_state, const CustomOrderedSet< vertex > &_ops, const std::string &_name)
 This is the constructor of the multi_unbounded_obj class, with a given id. More...
 
 ~multi_unbounded_obj () override=default
 Destructor. More...
 
vertex get_fsm_state () const
 
const CustomOrderedSet< vertex > & get_ops ()
 
generic_objRef get_mu_enable () const
 Gets the write enable object for the given register. More...
 
void set_mu_enable (const generic_objRef &mu_en)
 Sets the write enable for given register. 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

vertex fsm_state
 
CustomOrderedSet< vertexops
 
generic_objRef mu_enable
 

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_objectSM
 structural_object associated to element More...
 
Wrefcount< structural_objectout_sign
 output signal associated to element. More...
 
std::string name
 connection obj id More...
 

Detailed Description

class modeling a register object

Definition at line 55 of file multi_unbounded_obj.hpp.

Constructor & Destructor Documentation

◆ multi_unbounded_obj()

multi_unbounded_obj::multi_unbounded_obj ( vertex  _fsm_state,
const CustomOrderedSet< vertex > &  _ops,
const std::string &  _name 
)
inlineexplicit

This is the constructor of the multi_unbounded_obj class, with a given id.

Parameters
_nameis the name of the multi_unbounded_obj

Definition at line 66 of file multi_unbounded_obj.hpp.

References ~multi_unbounded_obj().

Here is the call graph for this function:

◆ ~multi_unbounded_obj()

multi_unbounded_obj::~multi_unbounded_obj ( )
overridedefault

Destructor.

Referenced by multi_unbounded_obj().

Here is the caller graph for this function:

Member Function Documentation

◆ get_fsm_state()

vertex multi_unbounded_obj::get_fsm_state ( ) const
inline
Returns
the all done object associated with a multi-unbounded controller

Definition at line 79 of file multi_unbounded_obj.hpp.

References fsm_state.

◆ get_mu_enable()

generic_objRef multi_unbounded_obj::get_mu_enable ( ) const
inline

Gets the write enable object for the given register.

Returns
a set of sets where each of them can enable register write (when all conditions contained are true)

Definition at line 93 of file multi_unbounded_obj.hpp.

References mu_enable.

◆ get_ops()

const CustomOrderedSet<vertex>& multi_unbounded_obj::get_ops ( )
inline

Definition at line 84 of file multi_unbounded_obj.hpp.

References ops.

◆ set_mu_enable()

void multi_unbounded_obj::set_mu_enable ( const generic_objRef mu_en)
inline

Sets the write enable for given register.

Definition at line 101 of file multi_unbounded_obj.hpp.

Field Documentation

◆ fsm_state

vertex multi_unbounded_obj::fsm_state
private

Definition at line 57 of file multi_unbounded_obj.hpp.

Referenced by get_fsm_state().

◆ mu_enable

generic_objRef multi_unbounded_obj::mu_enable
private

Definition at line 59 of file multi_unbounded_obj.hpp.

Referenced by get_mu_enable().

◆ ops

CustomOrderedSet<vertex> multi_unbounded_obj::ops
private

Definition at line 58 of file multi_unbounded_obj.hpp.

Referenced by get_ops().


The documentation for this class was generated from the following file:

Generated on Mon Feb 12 2024 13:03:58 for PandA-2024.02 by doxygen 1.8.13