Class IConstants

java.lang.Object
  extended by IConstants

public class IConstants
extends java.lang.Object

This class contains all configuration variables.

Version:
1.0

Field Summary
static boolean ASYNCHRONOUS
          Asycnchronous/Synchronous mode.
static int AVG_INTER_ARRIVAL
          Average message generation interval in cycles
static int AVG_MESSAGE_LENGTH
          Average message length in bytes
static int BOTTOM_NODE
           
static int CUR_CYCLE
          Current simulation cycle
static int CURRENT_ADJ_SWITCH
          Number of maximum adjacent switches in the Mesh/Torus Network
static int CURRENT_LINK_COUNT
          Number of maximum physical links per switch
static int CURRENT_NET
          Type of the current network topology
static int CURRENT_VC_COUNT
          Number of virtual channels per physical link
static int DATA_FLIT
          Type of the Data Flit
static int DEFAULT_VC_COUNT
          Default number of virtual channels per physical channel
static int FAT_NUM_ADDR_BITS
          Number of bits required to encode the address of a node in the Fat Tree Network
static int FAT_NUM_ADJ_CHILD
          Number of adjacent child nodes/switches in the Fat Tree Network
static int FAT_NUM_ADJ_PARENT
          Number of adjacent parent switches in the Fat Tree Network
static int FAT_NUM_ADJ_SIBLING
          Number of adjacent sibling switches in the Extended Fat Tree Network
static int FAT_NUM_INDEX_BIT
          Number of bits required to encode the index of the nodes the Fat Tree Network
static int FAT_NUM_SWITCH
          Number of switches that come into consideration in the Fat Tree Network
static boolean FIXED_MESSAGE_LENGTH
          Type of the message size.
static int FLIT_LENGTH
          Flit length in bits
static int HEADER_FLIT
          Type of the Header Flit
static int INT_SIZE
          Number of bits in an integer value
static int LEFT_NODE
           
static int MAX_MESSAGE_NUMBER
          Maximum number of packet storage in the Node's internal buffer.
static int MESH_ADJ_NODE
          Number of adjacent nodes per switch in the Mesh/Torus Network
static int MESH_COL
          Number of columns in the Mesh/Torus Network
static int MESH_COL_BITS
          Number of bits required to encode the column information in the Mesh/Torus Network
static int MESH_NODE_BITS_REQ
          Number of bits required to encode the adjacent node index in the Mesh/Torus Network
static int MESH_ROW
          Number of rows in the Mesh/Torus Network
static int MESH_ROW_BITS
          Number of bits required to encode the row information in the Mesh/Torus Network
static int NET_EX_FAT_TREE
          Type of the Extended Fat Tree Network
static int NET_FAT_TREE
          Type of the Fat Tree Network
static int NET_MESH
          Type of the Mesh Network
static int NET_OCTAL
          Type of the Octal Network
static int NET_TORUS
          Type of the Torus Network
static int NULL_FLIT
          Type of the NULL Flit
static int NUM_ADDR_BITS
          Number of bits required to encode the address of a node.
static int NUM_CYCLE
          Number of simulation cycles.
static int NUM_FLIT_PER_BUFFER
          Number of flits per buffer for a virtual channel
static int NUM_FLIT_TYPE_BITS
          Number of bits required to encode the type of the flit.
static int NUM_FLITS_BITS
          Number of bits requird in the header flit to encode the total number of flits per packet
static int NUM_RUN
          Number of total simulation runs
static int NUM_VCID_BITS
          Number of bits required to encode the virtual channel.
static int NUMBER_OF_IP_NODE
          Number of IP nodes in the network
static int NUMBER_OF_SWITCH
          Number of switches in the network
static int[][] OCTAL_ADJ
           
static int OCTAL_ADJ_NODE
           
static double OCTAL_LOCAL_TRAFFIC_PROBABILITY
           
static int OCTAL_MID_NODE_1
           
static int OCTAL_MID_NODE_2
           
static int OCTAL_NODE_BITS_REQ
           
static int OCTAL_NUM_ADDR_BITS
           
static int[][] OCTAL_RC
           
static int OCTAL_SWITCH_MID_1
           
static int OCTAL_SWITCH_MID_2
           
static int OCTAL_UNIT_COL
           
static int OCTAL_UNIT_COL_BITS_REQ
           
static int OCTAL_UNIT_ROW
           
static int OCTAL_UNIT_ROW_BITS_REQ
           
static java.lang.String OUT_FILE
          Output file name
static java.lang.String PARAM_FILE
          Input file name
static int RIGHT_NODE
           
static int SWITCH_BOTTOM
          Link no for the switch to the bottom
static int SWITCH_LEFT
          Link no for the switch to the left
static int SWITCH_RIGHT
          Link no for the switch to the right
static int SWITCH_TOP
          Link no for the switch to the top
static int TOP_NODE
           
static boolean TRACE
          Trace-on variable.
static java.lang.String TRACE_FILE
          Debug file name
static int TRAFFIC_LOCAL
          Type of the Local Traffic Distribution
static int TRAFFIC_TYPE
          Type of the Traffic
static int TRAFFIC_UNIFORM
          Type of the Union Traffic Distribution
static int WARM_UP_CYCLE
          Number of warm up cycles.
 
Constructor Summary
IConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_FILE

public static java.lang.String PARAM_FILE
Input file name


OUT_FILE

public static java.lang.String OUT_FILE
Output file name


TRACE_FILE

public static java.lang.String TRACE_FILE
Debug file name


HEADER_FLIT

public static int HEADER_FLIT
Type of the Header Flit


DATA_FLIT

public static int DATA_FLIT
Type of the Data Flit


NULL_FLIT

public static int NULL_FLIT
Type of the NULL Flit


MESH_ROW

public static int MESH_ROW
Number of rows in the Mesh/Torus Network


MESH_COL

public static int MESH_COL
Number of columns in the Mesh/Torus Network


MESH_ROW_BITS

public static int MESH_ROW_BITS
Number of bits required to encode the row information in the Mesh/Torus Network


MESH_COL_BITS

public static int MESH_COL_BITS
Number of bits required to encode the column information in the Mesh/Torus Network


MESH_ADJ_NODE

public static int MESH_ADJ_NODE
Number of adjacent nodes per switch in the Mesh/Torus Network


MESH_NODE_BITS_REQ

public static int MESH_NODE_BITS_REQ
Number of bits required to encode the adjacent node index in the Mesh/Torus Network


INT_SIZE

public static int INT_SIZE
Number of bits in an integer value


SWITCH_LEFT

public static int SWITCH_LEFT
Link no for the switch to the left


SWITCH_TOP

public static int SWITCH_TOP
Link no for the switch to the top


SWITCH_RIGHT

public static int SWITCH_RIGHT
Link no for the switch to the right


SWITCH_BOTTOM

public static int SWITCH_BOTTOM
Link no for the switch to the bottom


NUM_ADDR_BITS

public static int NUM_ADDR_BITS
Number of bits required to encode the address of a node.


NUM_VCID_BITS

public static int NUM_VCID_BITS
Number of bits required to encode the virtual channel.


NUM_FLITS_BITS

public static int NUM_FLITS_BITS
Number of bits requird in the header flit to encode the total number of flits per packet


NUM_FLIT_TYPE_BITS

public static int NUM_FLIT_TYPE_BITS
Number of bits required to encode the type of the flit.


CUR_CYCLE

public static int CUR_CYCLE
Current simulation cycle


MAX_MESSAGE_NUMBER

public static int MAX_MESSAGE_NUMBER
Maximum number of packet storage in the Node's internal buffer.


DEFAULT_VC_COUNT

public static int DEFAULT_VC_COUNT
Default number of virtual channels per physical channel


TRAFFIC_TYPE

public static int TRAFFIC_TYPE
Type of the Traffic


TRAFFIC_UNIFORM

public static int TRAFFIC_UNIFORM
Type of the Union Traffic Distribution


TRAFFIC_LOCAL

public static int TRAFFIC_LOCAL
Type of the Local Traffic Distribution


FIXED_MESSAGE_LENGTH

public static boolean FIXED_MESSAGE_LENGTH
Type of the message size. If true, then message size is uniform, else exponentially distributed


FAT_NUM_INDEX_BIT

public static int FAT_NUM_INDEX_BIT
Number of bits required to encode the index of the nodes the Fat Tree Network


FAT_NUM_ADJ_CHILD

public static int FAT_NUM_ADJ_CHILD
Number of adjacent child nodes/switches in the Fat Tree Network


FAT_NUM_ADJ_PARENT

public static int FAT_NUM_ADJ_PARENT
Number of adjacent parent switches in the Fat Tree Network


FAT_NUM_ADJ_SIBLING

public static int FAT_NUM_ADJ_SIBLING
Number of adjacent sibling switches in the Extended Fat Tree Network


FAT_NUM_SWITCH

public static int FAT_NUM_SWITCH
Number of switches that come into consideration in the Fat Tree Network


FAT_NUM_ADDR_BITS

public static int FAT_NUM_ADDR_BITS
Number of bits required to encode the address of a node in the Fat Tree Network


NET_FAT_TREE

public static int NET_FAT_TREE
Type of the Fat Tree Network


NET_MESH

public static int NET_MESH
Type of the Mesh Network


NET_TORUS

public static int NET_TORUS
Type of the Torus Network


NET_EX_FAT_TREE

public static int NET_EX_FAT_TREE
Type of the Extended Fat Tree Network


NET_OCTAL

public static int NET_OCTAL
Type of the Octal Network


WARM_UP_CYCLE

public static int WARM_UP_CYCLE
Number of warm up cycles.


CURRENT_NET

public static int CURRENT_NET
Type of the current network topology


AVG_INTER_ARRIVAL

public static int AVG_INTER_ARRIVAL
Average message generation interval in cycles


AVG_MESSAGE_LENGTH

public static int AVG_MESSAGE_LENGTH
Average message length in bytes


FLIT_LENGTH

public static int FLIT_LENGTH
Flit length in bits


NUMBER_OF_IP_NODE

public static int NUMBER_OF_IP_NODE
Number of IP nodes in the network


NUMBER_OF_SWITCH

public static int NUMBER_OF_SWITCH
Number of switches in the network


CURRENT_ADJ_SWITCH

public static int CURRENT_ADJ_SWITCH
Number of maximum adjacent switches in the Mesh/Torus Network


CURRENT_LINK_COUNT

public static int CURRENT_LINK_COUNT
Number of maximum physical links per switch


CURRENT_VC_COUNT

public static int CURRENT_VC_COUNT
Number of virtual channels per physical link


NUM_FLIT_PER_BUFFER

public static int NUM_FLIT_PER_BUFFER
Number of flits per buffer for a virtual channel


NUM_CYCLE

public static int NUM_CYCLE
Number of simulation cycles. Statistics are collected only for these number of cycles, excluding the warm-up cycles.


NUM_RUN

public static int NUM_RUN
Number of total simulation runs


TRACE

public static boolean TRACE
Trace-on variable. If debug-mode is on, then it is true. Otherwise, false


ASYNCHRONOUS

public static boolean ASYNCHRONOUS
Asycnchronous/Synchronous mode. If asynchronous operation, then it is true. Otherwise, false


LEFT_NODE

public static int LEFT_NODE

TOP_NODE

public static int TOP_NODE

RIGHT_NODE

public static int RIGHT_NODE

BOTTOM_NODE

public static int BOTTOM_NODE

OCTAL_LOCAL_TRAFFIC_PROBABILITY

public static double OCTAL_LOCAL_TRAFFIC_PROBABILITY

OCTAL_NUM_ADDR_BITS

public static int OCTAL_NUM_ADDR_BITS

OCTAL_MID_NODE_1

public static int OCTAL_MID_NODE_1

OCTAL_MID_NODE_2

public static int OCTAL_MID_NODE_2

OCTAL_SWITCH_MID_1

public static int OCTAL_SWITCH_MID_1

OCTAL_SWITCH_MID_2

public static int OCTAL_SWITCH_MID_2

OCTAL_ADJ_NODE

public static int OCTAL_ADJ_NODE

OCTAL_UNIT_ROW

public static int OCTAL_UNIT_ROW

OCTAL_UNIT_COL

public static int OCTAL_UNIT_COL

OCTAL_NODE_BITS_REQ

public static int OCTAL_NODE_BITS_REQ

OCTAL_UNIT_ROW_BITS_REQ

public static int OCTAL_UNIT_ROW_BITS_REQ

OCTAL_UNIT_COL_BITS_REQ

public static int OCTAL_UNIT_COL_BITS_REQ

OCTAL_RC

public static int[][] OCTAL_RC

OCTAL_ADJ

public static int[][] OCTAL_ADJ
Constructor Detail

IConstants

public IConstants()