Go to the source code of this file.
Defines | |
#define | CURRENT_TIME sc_simulation_time() |
current time | |
#define | NUM_VCS 1 |
number of virtual channels | |
#define | MAX_NUM_ROWS 9 |
maximum number of rows | |
#define | MAX_NUM_COLS 9 |
maximum number of columns | |
#define | MAX_NUM_TILES MAX_NUM_ROWS * MAX_NUM_COLS |
maximum number of tiles | |
#define | NUM_NB 4 |
number of neighbors of a general tile in mesh/torus | |
#define | NUM_IC 5 |
number of input channels in a general tile in mesh/torus | |
#define | NUM_OC 5 |
number of output channels in a general tile in mesh/torus | |
#define | NUM_NB_C 2 |
number of neighbors of a corner tile in mesh | |
#define | NUM_IC_C 3 |
number of input channels in a corner tile in mesh | |
#define | NUM_OC_C 3 |
number of output channels in a corner tile in mesh | |
#define | NUM_NB_B 3 |
number of neighbors of a border tile in mesh | |
#define | NUM_IC_B 4 |
number of input channels in a border tile in mesh | |
#define | NUM_OC_B 4 |
number of output channels in a border tile in mesh | |
#define | N 0 |
North direction. | |
#define | S 1 |
South direction. | |
#define | E 2 |
East direction. | |
#define | W 3 |
West direction. | |
#define | C 4 |
Core direction. | |
#define | ND 5 |
not defined | |
#define | BUF_BITSIZE 4 |
#define | MAX_NUM_BUFS 16 |
maximum buffer depth | |
#define | ADDR_SIZE 32 |
#define | VCS_BITSIZE 2 |
#define | UI unsigned int |
#define | UL unsigned long |
#define | ULL unsigned long long |
#define | borderN(ID) ((ID) < num_cols) |
#define | borderS(ID) ((ID) >= num_tiles - num_cols) |
#define | borderE(ID) (((ID) + 1) % num_cols == 0) |
#define | borderW(ID) (((ID) % num_cols) == 0) |
#define | border(ID) (borderN(ID) || borderS(ID) || borderE(ID) || borderW(ID)) |
#define | cornerNW(ID) ((ID) == 0) |
#define | cornerNE(ID) ((ID) == num_cols - 1) |
#define | cornerSW(ID) ((ID) == num_tiles - num_cols) |
#define | cornerSE(ID) ((ID) == num_tiles - 1) |
#define | corner(ID) (cornerNW(ID) || cornerNE(ID) || cornerSW(ID) || cornerSE(ID)) |
Enumerations | |
enum | flit_type { HEAD, DATA, TAIL, HDT } |
enum | pkt_type { ANT, NOC } |
enum | ant_type { FORWARD, BACKWARD } |
enum | routing_type { SOURCE, XY, OE } |
enum | request_type { NONE, ROUTE, UPDATE } |
enum | topology { MESH, TORUS } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Core direction.
|
|
|
|
|
|
|
|
|
|
|
|
current time
|
|
East direction.
|
|
maximum buffer depth
|
|
maximum number of columns
|
|
maximum number of rows
|
|
maximum number of tiles
|
|
North direction.
|
|
not defined
|
|
number of input channels in a general tile in mesh/torus
|
|
number of input channels in a border tile in mesh
|
|
number of input channels in a corner tile in mesh
|
|
number of neighbors of a general tile in mesh/torus
|
|
number of neighbors of a border tile in mesh
|
|
number of neighbors of a corner tile in mesh
|
|
number of output channels in a general tile in mesh/torus
|
|
number of output channels in a border tile in mesh
|
|
number of output channels in a corner tile in mesh
|
|
number of virtual channels
|
|
South direction.
|
|
|
|
|
|
|
|
|
|
West direction.
|
|
types of ant packets: FORWARD, BACKWARD |
|
types of flits: HEAD, DATA, TAIL, HDT |
|
types of packets: ANT, NOC |
|
types of request to controller |
|
types of routing algorithms: SOURCE, XY, OE |
|
types of topology: MESH, TORUS |