#include <iostream>
#include <fstream>
#include <vector>
Go to the source code of this file.
|
void | buildComp (std::ofstream &myfile, std::vector< std::string > ports, int mem_size) |
|
void | buildControl (std::ofstream &myfile, std::vector< std::vector< std::string >> io_port, std::vector< std::vector< std::string >> mem_port, std::string *parameter, std::string *input, std::string *logic, int mem_index) |
|
void | buildRam (std::ofstream &myfile, int mem_num, std::string *parameter, std::string *input, std::string *logic, int mem_size) |
|
void | buildHybridHeader (std::ofstream &header, std::vector< std::string > memPort, std::vector< std::string > ioPort) |
|
bool | IsPowerOfTwo (int x) |
|
◆ buildComp()
void buildComp |
( |
std::ofstream & |
myfile, |
|
|
std::vector< std::string > |
ports, |
|
|
int |
mem_size |
|
) |
| |
◆ buildControl()
void buildControl |
( |
std::ofstream & |
myfile, |
|
|
std::vector< std::vector< std::string >> |
io_port, |
|
|
std::vector< std::vector< std::string >> |
mem_port, |
|
|
std::string * |
parameter, |
|
|
std::string * |
input, |
|
|
std::string * |
logic, |
|
|
int |
mem_index |
|
) |
| |
◆ buildHybridHeader()
void buildHybridHeader |
( |
std::ofstream & |
header, |
|
|
std::vector< std::string > |
memPort, |
|
|
std::vector< std::string > |
ioPort |
|
) |
| |
◆ buildRam()
void buildRam |
( |
std::ofstream & |
myfile, |
|
|
int |
mem_num, |
|
|
std::string * |
parameter, |
|
|
std::string * |
input, |
|
|
std::string * |
logic, |
|
|
int |
mem_size |
|
) |
| |
◆ IsPowerOfTwo()
bool IsPowerOfTwo |
( |
int |
x | ) |
|