RecoSim  1.0
 All Classes Files Functions Variables Enumerations
Public Member Functions | List of all members
Manager_interface Class Referenceabstract
Inheritance diagram for Manager_interface:
Task_to_schedule_interface Task_priority_comparator_interface Module< Ni, No >

Public Member Functions

virtual vector
< ModuleImplementation
get_implementation_vector (void) const =0
 Get task implementations (HW and SW implementations are merged) More...
 
virtual void set_current_implementation (string implementationName)=0
 Set current implementation for the module, based on its name ('implementationName'). More...
 
virtual string get_current_implementation_fullname (void)=0
 Get current implementation ID. More...
 
virtual ModuleImplementation get_current_implementation (void)=0
 Get current implementation. More...
 
virtual bool has_current_implementation (void)=0
 Check if exist a current implementation. More...
 
virtual bool is_static (void) const =0
 Check if the module has been defined static (i.e. always implemented on the FPGA) More...
 
virtual void set_request_time (void)=0
 Set the time at which a configuration request has been made in order to update deadlines.
 
virtual int get_nb_processed_transactions (void) const =0
 Get the number of transactions processed so far. More...
 
virtual void updateLists (int offset)=0
 Update lists after the entire application has been defined. Called once by the reconfiguration manager. More...
 
virtual void update_algorithm_execution_mode (string mode)=0
 Transmit algorithm execution mode from issued by the testbench to the module (e.g. change algorithm implementation to 'VHDL'. More...
 
virtual bool use_context_switch_mode (string implementationName)=0
 Check if context switch mode is enabled for the implementation named 'implementationName'. In this mode, specific to HW implementations, a context switch is performed each time the task is being replaced on a reconfigurable zone (not only when the task is being preempted). More...
 
virtual void send_start_algorithm_event (void)=0
 Send a notification to the module in order to start the user algorithm.
 
virtual int get_nb_transient_channels (void)=0
 Get number of transient channels within the module. More...
 
- Public Member Functions inherited from Task_to_schedule_interface
virtual bool has_implementation (TaskImplementation &impl) const =0
 Check if task has the implementation passed as parameter. More...
 
virtual bool fits (RZ *rz)=0
 Check if task fits a reconfigurable zone (verifying every hardware implementations defined for the module) More...
 
virtual string getName (void) const =0
 Return module name. More...
 
virtual sc_time get_new_period_start_time (void) const =0
 Retrieve time of the beginning for next period. More...
 
virtual void set_task_priority (int priority)=0
 Change the task priority. More...
 
virtual vector< int > getFollowingList (void) const =0
 Get a list of tasks following this one in the block diagram. If an ID of vector is -1, the following task is a testbench. More...
 
virtual vector< int > getPrecedingList (void) const =0
 Get a list of tasks preceding this one in the block diagram. If an ID of vector is -1, the preceding task is a testbench. More...
 
- Public Member Functions inherited from Task_priority_comparator_interface
virtual sc_core::sc_time get_deadline_time (void) const =0
 Get task deadline (as the maximum acceptable time for one task execution) More...
 
virtual sc_core::sc_time get_task_deadline (void) const =0
 Get task deadline (absolute time representation) More...
 
virtual sc_core::sc_time get_task_period (void) const =0
 Return task period. More...
 
virtual sc_core::sc_time get_task_offset (void) const =0
 Return task offset. More...
 
virtual int get_task_priority (void) const =0
 Return task priority. More...
 

Member Function Documentation

virtual ModuleImplementation Manager_interface::get_current_implementation ( void  )
pure virtual

Get current implementation.

Returns
Current implementation

Implements Task_to_schedule_interface.

Implemented in Module< Ni, No >.

virtual string Manager_interface::get_current_implementation_fullname ( void  )
pure virtual

Get current implementation ID.

Returns
Current implementation id

Implemented in Module< Ni, No >.

virtual vector<ModuleImplementation> Manager_interface::get_implementation_vector ( void  ) const
pure virtual

Get task implementations (HW and SW implementations are merged)

Returns
Vector containing module implementation (class ModuleImplementation)

Implemented in Module< Ni, No >.

virtual int Manager_interface::get_nb_processed_transactions ( void  ) const
pure virtual

Get the number of transactions processed so far.

Returns
Number of processed transactions

Implemented in Module< Ni, No >.

virtual int Manager_interface::get_nb_transient_channels ( void  )
pure virtual

Get number of transient channels within the module.

Returns
Number of transient channels

Implemented in Module< Ni, No >.

virtual bool Manager_interface::has_current_implementation ( void  )
pure virtual

Check if exist a current implementation.

Returns
return true if exists

Implements Task_to_schedule_interface.

Implemented in Module< Ni, No >.

virtual bool Manager_interface::is_static ( void  ) const
pure virtual

Check if the module has been defined static (i.e. always implemented on the FPGA)

Returns
true if module is static

Implemented in Module< Ni, No >.

virtual void Manager_interface::set_current_implementation ( string  implementationName)
pure virtual

Set current implementation for the module, based on its name ('implementationName').

Parameters
implementationNameCurrent implementation name

Implemented in Module< Ni, No >.

virtual void Manager_interface::update_algorithm_execution_mode ( string  mode)
pure virtual

Transmit algorithm execution mode from issued by the testbench to the module (e.g. change algorithm implementation to 'VHDL'.

Parameters
modeString representation of the execution mode

Implemented in Module< Ni, No >.

virtual void Manager_interface::updateLists ( int  offset)
pure virtual

Update lists after the entire application has been defined. Called once by the reconfiguration manager.

Parameters
offsetOffset to apply to IDs within lists

Implemented in Module< Ni, No >.

virtual bool Manager_interface::use_context_switch_mode ( string  implementationName)
pure virtual

Check if context switch mode is enabled for the implementation named 'implementationName'. In this mode, specific to HW implementations, a context switch is performed each time the task is being replaced on a reconfigurable zone (not only when the task is being preempted).

Parameters
implementationNameImplementation name
Returns
true if context switch mode is enabled

Implemented in Module< Ni, No >.


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