ForSyDe::CT::traceSig Class Reference

Process constructor for a trace process. More...

#include <ct_process_constructors.hpp>

Inheritance diagram for ForSyDe::CT::traceSig:
Collaboration diagram for ForSyDe::CT::traceSig:

Public Member Functions

 traceSig (sc_module_name _name, const sc_time &sample_period)
 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

CT_in iport1
 port for the input 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

Process constructor for a trace process.

This class is used to build a sink process which only has an input. Its main purpose is to be used in test-benches.

The resulting process prints the sampled data as a trace in an output ".dat" file which can be plotted using gaw or gwave.

Constructor & Destructor Documentation

ForSyDe::CT::traceSig::traceSig ( sc_module_name  _name,
const sc_time &  sample_period 
)
inline

The constructor requires the module name.

It creates an SC_THREAD which runs the user-imlpemented function in each cycle.

Parameters
_nameProcess name
sample_periodSampling time

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