CGRA-ME
Namespaces | Functions
cgrame.cpp File Reference
#include <CGRA/dotparse.h>
#include <CGRA/Exception.h>
#include <CGRA/Mapper.h>
#include <CGRA/Mapping.h>
#include <CGRA/MappingProcedures.h>
#include <CGRA/MRRGProcedures.h>
#include <CGRA/OpGraphProcedures.h>
#include <CGRA/PerfEngine.h>
#include <CGRA/user-inc/UserArchs.h>
#include <CGRA/Util.h>
#include <CGRA/utility/CodeProfiling.h>
#include <CGRA/Visual.h>
#include <CGRA/cgrame.h>
#include <cxxopts.hpp>
#include <mini.hpp>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <memory>
#include <sstream>
#include <streambuf>
#include <string>
#include <libgen.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>

Go to the source code of this file.

Namespaces

 cxxopts
 
 cxxopts::values
 

Functions

int inner_main (int argc, char *argv[])
 
int main (int argc, char *argv[])
 
template<>
void cxxopts::values::parse_value (const std::string &text, VerilogType &value)
 
ConfigStore parseMapperConfig (const std::string &ini_str, const std::string &mapper_opts, const std::string &cpp_arch_id, const int verbosity)
 
void generateVerilog (std::shared_ptr< CGRA > arch, std::string verilog_gen_output_path, std::string verilog_opts, VerilogType verilog_gen_type, int contexts)
 
ConfigGraph loadMapping (std::string load_mapping_filename, std::string *cpp_arch_id, std::string *arch_opts, int *II)
 
void createArchitectureCPP (std::shared_ptr< CGRA > *arch, std::string cpp_arch_id, std::string arch_opts, ConfigStore *arch_attrs, UserArchs *userarchs, int II)
 
void createTestbench (std::shared_ptr< CGRA > arch, Mapping mapping_result, int II)
 

Function Documentation

◆ 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 at line 663 of file cgrame.cpp.

◆ createTestbench()

void createTestbench ( std::shared_ptr< CGRA arch,
Mapping  mapping_result,
int  II 
)

Definition at line 704 of file cgrame.cpp.

◆ 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 at line 590 of file cgrame.cpp.

◆ inner_main()

int inner_main ( int  argc,
char *  argv[] 
)

Definition at line 80 of file cgrame.cpp.

◆ loadMapping()

ConfigGraph loadMapping ( std::string  load_mapping_filename,
std::string *  cpp_arch_id,
std::string *  arch_opts,
int *  II 
)

Definition at line 638 of file cgrame.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 53 of file cgrame.cpp.

◆ parseMapperConfig()

ConfigStore parseMapperConfig ( const std::string &  ini_str,
const std::string &  mapper_opts,
const std::string &  cpp_arch_id,
const int  verbosity 
)

Definition at line 536 of file cgrame.cpp.