Get the name of the connection bound to a particular socket.
- Parameters
-
- Returns
- Connection name
Implemented in TestbenchIn< Ni >.
Get incoming data pointer.
- Parameters
-
- Returns
- 2D pointer to the incoming data structure
Implemented in TestbenchIn< Ni >.
Get incoming data pointer.
- Parameters
-
| connectionName | Name of the connection bound to the socket |
- Returns
- 2D pointer to the incoming data structure
Implemented in TestbenchIn< Ni >.
Get input socket id by the name of the connection.
- Parameters
-
- Returns
- Socket ID
Implemented in TestbenchIn< Ni >.
Get testbench instance name.
- Returns
- string representation of testbench instance name
Implemented in TestbenchIn< Ni >.
Get the number of transactions processed by every socket.
- Returns
- number of transactions
Implemented in TestbenchIn< Ni >.
template<int Ni>
| virtual const int Testbench_in_interface< Ni >::TB_IF_get_nb_transactions_received_per_socket |
( |
int |
socketID | ) |
const |
|
pure virtual |
Get the number of transactions processed per socket.
- Parameters
-
- Returns
- number of transactions
Implemented in TestbenchIn< Ni >.
template<int Ni>
| virtual const int Testbench_in_interface< Ni >::TB_IF_get_nb_transactions_received_per_socket |
( |
string |
channelName | ) |
const |
|
pure virtual |
Get the number of transactions processed per socket.
- Parameters
-
| channelName | Name of the connection linked to the socket |
- Returns
- number of transactions
Implemented in TestbenchIn< Ni >.
Get socket packet size.
- Parameters
-
- Returns
- Packet size (in 32-bit words)
Implemented in TestbenchIn< Ni >.
Get a list of the sockets that received a new transaction since last function call. WARNING: Calling this function will reset the vector stored within the testbench and hence should be stored in a new vector within the algorithm thread.
- Returns
- Vector of sockets IDs
Implemented in TestbenchIn< Ni >.
Get testbench full name.
- Returns
- Constant char* representation of testbench full name
Implemented in TestbenchIn< Ni >.
Notifies simulation controller about success/failure of the simulation (e.g. data corruption).
- Parameters
-
| success | whether the simulation is successfull or not |
Implemented in TestbenchIn< Ni >.
Get the event launched when a transaction has been received.
- Returns
- constant reference to the event launched
Implemented in TestbenchIn< Ni >.
The documentation for this class was generated from the following file:
- C:/App/eclipse/TOOLS/fortress_management/fortress_dev/ref-simulation/Config_1/simulation/RecoSim/src/testbench_in_interface.h