CGRA-ME
cgrame.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 // internal
12 #include <CGRA/Mapper.h>
13 #include <CGRA/Mapping.h>
14 #include <CGRA/MappingProcedures.h>
15 #include <CGRA/MRRGProcedures.h>
17 
18 // standard library
19 #include <string>
20 
21 void generateVerilog(
22  std::shared_ptr<CGRA> arch,
23  std::string verilog_gen_output_path,
24  std::string verilog_opts,
25  VerilogType verilog_gen_type,
26  int contexts);
27 
29  std::string load_mapping_filename,
30  std::string* cpp_arch_id,
31  std::string* arch_opts,
32  int *II
33 );
34 
36  std::shared_ptr<CGRA>* arch,
37  std::string cpp_arch_id,
38  std::string arch_opts,
39  ConfigStore* arch_attrs,
40  UserArchs* userarchs,
41  int II
42 );
43 
44 
45 void createTestbench(
46  std::shared_ptr<CGRA> arch,
47  Mapping mapping_result,
48  int II
49 );
50 
51 
53  const std::string& ini_str,
54  const std::string& mapper_opts,
55  const std::string& cpp_arch_id,
56  const int verbosity
57 );
VerilogType
VerilogType
Definition: Module.h:150
UserArchs.h
ConfigGraph
Definition: ConfigGraph.h:72
ConfigStore
Definition: ConfigStore.h:76
createTestbench
void createTestbench(std::shared_ptr< CGRA > arch, Mapping mapping_result, int II)
Definition: cgrame.cpp:704
createArchitectureCPP
void createArchitectureCPP(std::shared_ptr< CGRA > *arch, std::string cpp_arch_id, std::string arch_opts, ConfigStore *arch_attrs, UserArchs *userarchs, int II)
Definition: cgrame.cpp:663
Mapping
Definition: Mapping.h:31
parseMapperConfig
ConfigStore parseMapperConfig(const std::string &ini_str, const std::string &mapper_opts, const std::string &cpp_arch_id, const int verbosity)
Definition: cgrame.cpp:536
generateVerilog
void generateVerilog(std::shared_ptr< CGRA > arch, std::string verilog_gen_output_path, std::string verilog_opts, VerilogType verilog_gen_type, int contexts)
Definition: cgrame.cpp:590
MappingProcedures.h
UserArchs
Definition: UserArchs.h:43
Mapping.h
MRRGProcedures.h
Mapper.h
loadMapping
ConfigGraph loadMapping(std::string load_mapping_filename, std::string *cpp_arch_id, std::string *arch_opts, int *II)
Definition: cgrame.cpp:638