-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtopoconfig.h
38 lines (38 loc) · 1.06 KB
/
topoconfig.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef TOPOCONFIG_H_TEMPLATE_
#define TOPOCONFIG_H_TEMPLATE_
//***********topology parameters***********
#define PortNum 16
#define ProcessorNum 1024
#define LinkNum 6144
#define PacketSize 128
#define FlitSize 4
#define FlitLength 32
#define VC 3
#define BufferDepth 4 * FlitLength
#define ProcessorBufferDepth 4 * FlitLength
#define FREQ 3500000000.0
#define OutBufferDepth 1751
#define RecordStartTime 1.000003
//*************unchangable variable***************
#define CLK_CYCLE 1/FREQ
#define Sim_Start_Time 1
#define TimeScale 0.1
//*************injection mode***************
#define UNIFORM
#define LAMBDA 7
#define INJECTION_RATE 0.3
//*************debug infomation***************
#define Verbose 1
#define VERBOSE_DEBUG_MESSAGES 1
#define VERBOSE_DETAIL_DEBUG_MESSAGES 2
//************power infomation***************
#define LVT 1
#define NVT 2
#define HVT 3
#define VDD 1.0
#define PARM(x) PARM_ ## x
#define PARM_TECH_POINT 45
#define PARM_TRANSISTOR_TYPE NVT
#define FlitWidth FlitSize * 8
//***********end of parameter definition*****
#endif /* TOPOCONFIG_H_TEMPLATE_ */