CGRA-ME
|
Go to the source code of this file.
Functions | |
void | buildComp (ofstream &myfile, std::vector< std::string > ports, int mem_size) |
void | buildControl (ofstream &myfile, vector< vector< string >> io_port, vector< vector< string >> mem_port, string *parameter, string *input, string *logic, int mem_index) |
void | buildRam (ofstream &myfile, int mem_num, string *parameter, string *input, string *logic, int mem_size) |
bool | IsPowerOfTwo (int x) |
void | buildHybridHeader (ofstream &header, vector< string > memPort, vector< string > ioPort) |
void buildComp | ( | ofstream & | myfile, |
std::vector< std::string > | ports, | ||
int | mem_size | ||
) |
Definition at line 10 of file Control.cpp.
void buildControl | ( | ofstream & | myfile, |
vector< vector< string >> | io_port, | ||
vector< vector< string >> | mem_port, | ||
string * | parameter, | ||
string * | input, | ||
string * | logic, | ||
int | mem_index | ||
) |
Definition at line 96 of file Control.cpp.
void buildHybridHeader | ( | ofstream & | header, |
vector< string > | memPort, | ||
vector< string > | ioPort | ||
) |
Definition at line 745 of file Control.cpp.
void buildRam | ( | ofstream & | myfile, |
int | mem_num, | ||
string * | parameter, | ||
string * | input, | ||
string * | logic, | ||
int | mem_size | ||
) |
Definition at line 413 of file Control.cpp.
bool IsPowerOfTwo | ( | int | x | ) |
Definition at line 740 of file Control.cpp.