ForSyDe::CT::delay Class Reference

Process constructor for a delay element. More...

#include <ct_process_constructors.hpp>

Inheritance diagram for ForSyDe::CT::delay:
Collaboration diagram for ForSyDe::CT::delay:

Public Member Functions

 delay (sc_module_name _name, sc_time delay_time)
 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
 
CT_out 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

Process constructor for a delay element.

This class is used to build a process which delays the input CT signal. It operates by adding the specified delay value to the start and end times for ranges of every sub-signal element.

The resulting process does not buffer anything from the signal.

Constructor & Destructor Documentation

ForSyDe::CT::delay::delay ( sc_module_name  _name,
sc_time  delay_time 
)
inline

The constructor requires the module name.

It creates an SC_THREAD which inserts the initial element, reads data from its input port, and writes the results using the output port.

Parameters
_nameprocess name
delay_timedelay time

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