sdf_process.hpp
Go to the documentation of this file.
1 /**********************************************************************
2  * sdf_process.hpp -- The SDF MoC process *
3  * *
4  * Author: Hosein Attarzadeh (shan2@kth.se) *
5  * *
6  * Purpose: Providing the primitives for the SDF MoC *
7  * *
8  * Usage: This file is included automatically *
9  * *
10  * License: BSD3 *
11  *******************************************************************/
12 
13 #ifndef SDF_PROCESS_HPP
14 #define SDF_PROCESS_HPP
15 
23 #include "abssemantics.hpp"
24 
25 namespace ForSyDe
26 {
27 
28 namespace SDF
29 {
30 
31 using namespace sc_core;
32 
34 template <typename T>
35 class SDF2SDF: public UT::UT2UT<T>
36 {
37 public:
38  SDF2SDF() : UT::UT2UT<T>() {}
39  SDF2SDF(sc_module_name name, unsigned size) : UT::UT2UT<T>(name, size) {}
40 #ifdef FORSYDE_INTROSPECTION
41 
42  virtual std::string moc() const
43  {
44  return "SDF";
45  }
46 #endif
47 };
48 
50 template <typename T>
52 
54 template <typename T>
56 
58 template <typename T>
60 
62 template <typename T>
64 
66 template <typename T>
68 
71 
72 }
73 }
74 
75 #endif
The SDF2SDF signal used to inter-connect SDF processes.
Definition: sdf_process.hpp:35
The namespace for ForSyDe.
Definition: abssemantics.hpp:30
The UT2UT signal used to inter-connect UT processes.
Definition: ut_process.hpp:35
ForSyDe::process sdf_process
Abstract semantics of a process in the SY MoC.
Definition: sdf_process.hpp:70
The UT_out port is used for output ports of UT processes.
Definition: ut_process.hpp:68
The process constructor which defines the abstract semantics of execution.
Definition: abssemantics.hpp:212
The UT_in port is used for input ports of UT processes.
Definition: ut_process.hpp:55
The common abstract semantics for all MoCs.