#include <network.h>
Public Member Functions | |
Env () | |
~Env () | |
void | make_nodeinfo (char *filename) |
int | initialize (int, char **) |
int | initialize (void) |
void | execute () |
void | finalize () |
void | print_log () |
uint032_t | entry2id (int) |
int | id2entry (uint032_t) |
int | id2entry (int, int) |
int | id2id (int, int) |
const char * | int2type (int type) |
void | print_flit (flit_t *) |
int | finishcond () |
void | core_update () |
void | memory_update () |
void | incc_update () |
void | router_update () |
void | router_switching () |
void | comm_update () |
void | post_update () |
Data Fields | |
Core * | core |
Router * | router |
Incc32 * | incc32 |
Incc64 * | incc64 |
Node * | node |
GMemory * | gmem |
Nodeinfo * | nodeinfo |
uint032_t * | prev_pc |
int | add_module |
int | incc_activity |
FILE * | plot |
int | noc_col |
int | noc_row |
int | rank_x |
int | rank_y |
int | nocrank |
int | nr_node |
int | nr_node_comp |
uint | debug_mode |
uint | log_mode |
uint | quiet_mode |
uint | server_mode |
ullint | maxcycle |
ullint | cycle |
char * | logfile |
int | multicycle |
char | path_prefix [128] |
Env::Env | ( | ) |
Env constructor
Env::~Env | ( | ) |
Env destructor
void Env::make_nodeinfo | ( | char * | filename | ) |
int Env::initialize | ( | int | argc, | |
char ** | argv | |||
) |
initialize simulation
int Env::initialize | ( | void | ) |
void Env::execute | ( | ) |
main loop of the simulation
void Env::finalize | ( | ) |
finalize simulation
void Env::print_log | ( | ) |
uint032_t Env::entry2id | ( | int | i | ) |
convert array entry to node id
i | array entry |
int Env::id2entry | ( | uint032_t | id | ) |
convert 16bit node id to array entry
id | 16bit node id |
int Env::id2entry | ( | int | idx, | |
int | idy | |||
) |
convert x-coordinate and y-coordinate to array entry
idx | x-coordinate | |
idy | y-coordinate |
int Env::id2id | ( | int | idx, | |
int | idy | |||
) |
get node id as 16 bit format
idx | x-coordinate | |
idy | y-coordinate |
const char * Env::int2type | ( | int | type | ) |
void Env::print_flit | ( | flit_t * | flit | ) |
int Env::finishcond | ( | ) |
return condition if simulation should be finished or not
void Env::core_update | ( | ) |
void Env::memory_update | ( | ) |
void Env::incc_update | ( | ) |
void Env::router_update | ( | ) |
void Env::router_switching | ( | ) |
void Env::comm_update | ( | ) |
void Env::post_update | ( | ) |
uint032_t* Env::prev_pc |
int Env::add_module |
FILE* Env::plot |
int Env::noc_col |
int Env::noc_row |
int Env::rank_x |
int Env::rank_y |
int Env::nocrank |
int Env::nr_node |
uint Env::debug_mode |
uint Env::log_mode |
uint Env::quiet_mode |
uint Env::server_mode |
ullint Env::maxcycle |
ullint Env::cycle |
char* Env::logfile |
int Env::multicycle |
char Env::path_prefix[128] |