RecoSim  1.0
 All Classes Files Functions Variables Enumerations
Public Member Functions | List of all members
Testbench_out_interface< No > Class Template Referenceabstract
Inheritance diagram for Testbench_out_interface< No >:
TestbenchOut< No >

Public Member Functions

virtual const char * TB_IF_name (void) const =0
 Get testbench full name. More...
 
virtual string TB_IF_get_instance_name (void) const =0
 Get testbench instance name. More...
 
virtual int * TB_IF_get_data_out_ptr (int socketID) const =0
 Get pointer to ougoing data structure. More...
 
virtual int * TB_IF_get_data_out_ptr (string connectionName) const =0
 Get pointer to ougoing data structure. More...
 
virtual void TB_IF_nb_send_data (int socketID)=0
 Non-blocking data send through a given socket. More...
 
virtual void TB_IF_nb_send_data (string connectionName)=0
 Non-blocking data send through a given socket. More...
 
virtual void TB_IF_nb_send_all_data (void)=0
 Non-blocking data send through every socket.
 
virtual const sc_event & TB_IF_all_responses_received_event (void) const =0
 Watch the event issued once all TLM responses have been sent from following modules to testbench. More...
 
virtual void TB_IF_increment_current_transaction_id (void)=0
 Increments working transaction counter.
 
virtual string TB_IF_getApplicationName (void)=0
 Get application name (application in which this testbench has been instantiated). More...
 
virtual sc_time TB_IF_get_period (void) const =0
 Get testbench period. More...
 
virtual void TB_IF_add_execution_mode_command_to_queue (string module_name, string command, sc_time delay)=0
 Add an algorithm control command to the waiting queue. After the delay passed as parameter, testbench will notify module 'module_name' that its algorithm should go to mode 'command'. More...
 
virtual int TB_IF_get_packet_size (int ID) const =0
 Get socket packet size. More...
 
virtual int TB_IF_get_packet_size (string name) const =0
 Get socket packet size. More...
 
virtual int TB_IF_get_output_socket_id (string name) const =0
 Get input socket id by the name of the connection. More...
 

Member Function Documentation

template<int No>
virtual void Testbench_out_interface< No >::TB_IF_add_execution_mode_command_to_queue ( string  module_name,
string  command,
sc_time  delay 
)
pure virtual

Add an algorithm control command to the waiting queue. After the delay passed as parameter, testbench will notify module 'module_name' that its algorithm should go to mode 'command'.

Parameters
module_nameName of the targetted module, as displayed in FoRTReSS GUI
commandNew control command
delayTime before the command should be executed

Implemented in TestbenchOut< No >.

template<int No>
virtual const sc_event& Testbench_out_interface< No >::TB_IF_all_responses_received_event ( void  ) const
pure virtual

Watch the event issued once all TLM responses have been sent from following modules to testbench.

Returns
constant reference to the SystemC event involved

Implemented in TestbenchOut< No >.

template<int No>
virtual int* Testbench_out_interface< No >::TB_IF_get_data_out_ptr ( int  socketID) const
pure virtual

Get pointer to ougoing data structure.

Parameters
socketIDSocket ID
Returns
Pointer to the outgoing transactions data

Implemented in TestbenchOut< No >.

template<int No>
virtual int* Testbench_out_interface< No >::TB_IF_get_data_out_ptr ( string  connectionName) const
pure virtual

Get pointer to ougoing data structure.

Parameters
connectionNameName of the connection bound to the socket
Returns
Pointer to the outgoing transactions data

Implemented in TestbenchOut< No >.

template<int No>
virtual string Testbench_out_interface< No >::TB_IF_get_instance_name ( void  ) const
pure virtual

Get testbench instance name.

Returns
string representation of testbench instance name

Implemented in TestbenchOut< No >.

template<int No>
virtual int Testbench_out_interface< No >::TB_IF_get_output_socket_id ( string  name) const
pure virtual

Get input socket id by the name of the connection.

Parameters
nameConnection name
Returns
Socket ID

Implemented in TestbenchOut< No >.

template<int No>
virtual int Testbench_out_interface< No >::TB_IF_get_packet_size ( int  ID) const
pure virtual

Get socket packet size.

Parameters
idSocket ID
Returns
Packet size (in 32-bit words)

Implemented in TestbenchOut< No >.

template<int No>
virtual int Testbench_out_interface< No >::TB_IF_get_packet_size ( string  name) const
pure virtual

Get socket packet size.

Parameters
nameName of the connection bound to the socket
Returns
Packet size (in 32-bit words)

Implemented in TestbenchOut< No >.

template<int No>
virtual sc_time Testbench_out_interface< No >::TB_IF_get_period ( void  ) const
pure virtual

Get testbench period.

Returns
sc_time representation of testbench period

Implemented in TestbenchOut< No >.

template<int No>
virtual string Testbench_out_interface< No >::TB_IF_getApplicationName ( void  )
pure virtual

Get application name (application in which this testbench has been instantiated).

Returns
string representation of application name

Implemented in TestbenchOut< No >.

template<int No>
virtual const char* Testbench_out_interface< No >::TB_IF_name ( void  ) const
pure virtual

Get testbench full name.

Returns
Constant char* representation of testbench full name

Implemented in TestbenchOut< No >.

template<int No>
virtual void Testbench_out_interface< No >::TB_IF_nb_send_data ( int  socketID)
pure virtual

Non-blocking data send through a given socket.

Parameters
socketIDSocket ID

Implemented in TestbenchOut< No >.

template<int No>
virtual void Testbench_out_interface< No >::TB_IF_nb_send_data ( string  connectionName)
pure virtual

Non-blocking data send through a given socket.

Parameters
connectionNameName of the connection bound to the socket

Implemented in TestbenchOut< No >.


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