CGRA-ME
UserModules.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * The software programs comprising "CGRA-ME" and the documentation provided
3  * with them are copyright by its authors and the University of Toronto. Only
4  * non-commercial, not-for-profit use of this software is permitted without ex-
5  * plicit permission. This software is provided "as is" with no warranties or
6  * guarantees of support. See the LICENCE for more details. You should have re-
7  * ceived a copy of the full licence along with this software. If not, see
8  * <http://cgra-me.ece.utoronto.ca/license/>.
9  ******************************************************************************/
10 
11 #ifndef __USERMODULES__H__
12 #define __USERMODULES__H__
13 
14 #include <CGRA/Module.h>
15 #include <CGRA/ModuleComposites.h>
16 #include <CGRA/ModuleElastic.h>
17 #include <CGRA/ModuleFPUnit.h>
18 
19 
20 class AdresPE : public Module
21 {
22  public:
23  std::string fu_type;
24  int num_inputs;
25  AdresPE(std::string name, int num_inputs, std::string fu_type, int fu_II, int latency, int II, Location Loc, bool use_op_div = false, bool predExist = false, bool reg_bypass = false, bool extra_mem = false, std::string pred_scheme = "");
26  virtual std::string GenericName();
27  virtual ~AdresPE() {}
28 };
29 
30 class RIKEN_PE_Elastic: public Module
31 {
32  public:
36  RIKEN_PE_Elastic(std::string name, int pe_conn_in, int pe_conn_out, int II, int latency, Location Loc, int type, int buffer_depth = 2, bool eb_enable = true, int contexts = 1, bool pred = false, std::string pred_type = "full");
37  virtual std::string GenericName();
38  virtual ~RIKEN_PE_Elastic() {}
39 };
40 
41 class HyCUBEPE: public Module
42 {
43  public:
44  bool predExist;
49  HyCUBEPE(std::string name, bool predExist, int pe_conn_in, int pe_conn_out,
50  int pred_conn_in, int pre_conn_out, int fu_II, int II, int latency, Location Loc, std::string pred_scheme = "");
51  virtual std::string GenericName();
52  virtual ~HyCUBEPE() {}
53 };
54 
55 #endif
56 
Module::name
std::string name
Definition: Module.h:341
ModuleComposites.h
RIKEN_PE_Elastic::buffer_depth
int buffer_depth
Definition: UserModules.h:35
Location
Definition: Module.h:156
RIKEN_PE_Elastic
Definition: UserModules.h:30
HyCUBEPE::pred_conn_in
int pred_conn_in
Definition: UserModules.h:47
ModuleElastic.h
RIKEN_PE_Elastic::pe_conn_out
int pe_conn_out
Definition: UserModules.h:34
Module.h
AdresPE::fu_type
std::string fu_type
Definition: UserModules.h:31
AdresPE::~AdresPE
virtual ~AdresPE()
Definition: UserModules.h:35
ModuleFPUnit.h
HyCUBEPE::predExist
bool predExist
Definition: UserModules.h:44
HyCUBEPE::GenericName
virtual std::string GenericName()
Definition: HyCUBEPE.cpp:24
AdresPE::AdresPE
AdresPE(std::string name, int num_inputs, std::string fu_type, int fu_II, int latency, int II, Location Loc, bool use_op_div=false, bool predExist=false, bool reg_bypass=false, bool extra_mem=false, std::string pred_scheme="")
Definition: AdresPE.cpp:19
HyCUBEPE::pe_conn_in
int pe_conn_in
Definition: UserModules.h:45
AdresPE::num_inputs
int num_inputs
Definition: UserModules.h:32
RIKEN_PE_Elastic::GenericName
virtual std::string GenericName()
Definition: RIKENPE_Elastic.cpp:24
Module
Definition: Module.h:163
HyCUBEPE::pred_conn_out
int pred_conn_out
Definition: UserModules.h:48
HyCUBEPE::~HyCUBEPE
virtual ~HyCUBEPE()
Definition: UserModules.h:52
RIKEN_PE_Elastic::~RIKEN_PE_Elastic
virtual ~RIKEN_PE_Elastic()
Definition: UserModules.h:38
HyCUBEPE
Definition: UserModules.h:41
HyCUBEPE::pe_conn_out
int pe_conn_out
Definition: UserModules.h:46
AdresPE::GenericName
virtual std::string GenericName()
Definition: AdresPE.cpp:14
RIKEN_PE_Elastic::pe_conn_in
int pe_conn_in
Definition: UserModules.h:33
HyCUBEPE::HyCUBEPE
HyCUBEPE(std::string name, bool predExist, int pe_conn_in, int pe_conn_out, int pred_conn_in, int pre_conn_out, int fu_II, int II, int latency, Location Loc, std::string pred_scheme="")
Definition: HyCUBEPE.cpp:40
RIKEN_PE_Elastic::RIKEN_PE_Elastic
RIKEN_PE_Elastic(std::string name, int pe_conn_in, int pe_conn_out, int II, int latency, Location Loc, int type, int buffer_depth=2, bool eb_enable=true, int contexts=1, bool pred=false, std::string pred_type="full")
Definition: RIKENPE_Elastic.cpp:35
AdresPE
Definition: UserModules.h:20