ForSyDe::SY::gdbwrap< T0, T1 > Class Template Reference

Process constructor for a GDB wrapper with one input and one output. More...

#include <sy_wrappers.hpp>

Inheritance diagram for ForSyDe::SY::gdbwrap< T0, T1 >:
Collaboration diagram for ForSyDe::SY::gdbwrap< T0, T1 >:

Public Member Functions

 gdbwrap (const sc_module_name &_name, const std::string &exec_name)
 The constructor requires the module name. More...
 
std::string forsyde_kind () const
 Specifying from which process constructor is the module built.
 
- Public Member Functions inherited from ForSyDe::process
 process (sc_module_name _name)
 The constructor requires the module name. More...
 

Public Attributes

SY_in< T1 > iport1
 port for the input channel
 
SY_out< T0 > oport1
 port for the output channel
 

Additional Inherited Members

- Protected Member Functions inherited from ForSyDe::process
void end_of_simulation ()
 This hook is used to run the clean stage.
 

Detailed Description

template<typename T0, typename T1>
class ForSyDe::SY::gdbwrap< T0, T1 >

Process constructor for a GDB wrapper with one input and one output.

This class is used to build GDB wrapper with one input and one output. It uses the GDB machine interface (GDB/MI) to communicate with an instance of GDB. The class is parameterized for input and output data-types.

Constructor & Destructor Documentation

template<typename T0 , typename T1 >
ForSyDe::SY::gdbwrap< T0, T1 >::gdbwrap ( const sc_module_name &  _name,
const std::string &  exec_name 
)
inline

The constructor requires the module name.

It creates an SC_THREAD which reads data from its input port, provides it to the external model, triggers the execution of the external model, collects the produced outputs and writes them using the output port

Parameters
_nameprocess name
exec_namename of the executable file

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