#include <NoC.h>
Inheritance diagram for NoC:
Public Member Functions | |
SC_HAS_PROCESS (NoC) | |
Constructor. | |
NoC (sc_module_name NoC, int num_rows, int num_cols) | |
void | entry () |
Keeps count of number of simulation cycles. | |
Public Attributes | |
sc_in< bool > | switch_cntrl |
Clock input port. | |
int | rows |
number of rows in topology | |
int | cols |
number of columns in topology | |
BaseNWTile * | nwtile [MAX_NUM_ROWS][MAX_NUM_COLS] |
A 2-d array of network tiles. | |
signals | sigs [MAX_NUM_ROWS][MAX_NUM_COLS] |
Signals to interconnect network tiles. |
This module represents the NoC. It implements an array of network tiles and connectivity among them.
|
Constructor to generate topology. It creates 2-d toroidal or non- toroidal mesh of m x n network tiles depending on input from user. Parameters:
|
|
Keeps count of number of simulation cycles. This thread keeps track of global simulation count. It also closes logfiles upon completion of simulation. |
|
Constructor.
|
|
number of columns in topology
|
|
A 2-d array of network tiles.
|
|
number of rows in topology
|
|
Signals to interconnect network tiles.
|
|
Clock input port.
|