配置文件 default_config.yaml 解析 | Noxim

Noxim 配置项说明。

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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# Simple default config of a 4x4 mesh
# Each parameter is overwritten when corresponding command line value is set
#
# NOC & WIRED CONFIGURATION NOC基本设置
#
# Topologies:
# MESH
# BUTTERFLY
# BASELINE
# OMEGA
#
# BUTTERFLY, BASELINE, and OMEGA are Delta Network topologies
# topology: MESH
# X and Y mesh sizes 以MESH方式排布的PE的数量
mesh_dim_x: 4 # 列数
mesh_dim_y: 4 # 行数
# number of flits for each router buffer 未知
buffer_depth: 4
# size of flits, in bits 每个包可以分成多个flit,每个flit的bit数
flit_size: 32
# lenght in mm of router to hub connection router到hub的距离
r2h_link_length: 2.0
# lenght in mm of router to router connection router到router的距离
r2r_link_length: 1.0
# 未知
n_virtual_channels: 1

# Routing algorithms:
# XY
# DELTA
# WEST_FIRST
# NORTH_LAST
# NEGATIVE_FIRST
# ODD_EVEN
# DYAD
# TABLE_BASED
# Each of the above labels should match a corresponding
# implementation in the routingAlgorithms source code directory
routing_algorithm: XY
routing_table_filename: ""

# Routing specific parameters
# dyad_threshold: double dyad路由算法的参数
dyad_threshold: 0.6

# Selection Strategies:
# RANDOM
# BUFFER_LEVEL
# NOP
# Each of the above labels should match a corresponding
# implementation in the selectionStrategies source code directory 未知
selection_strategy: RANDOM

#
# WIRELESS CONFIGURATION 无线通信相关,暂不考虑
#
Hubs:
defaults:
# channels from which Hub can receive/transmit
rx_radio_channels: [0]
tx_radio_channels: [0]
# list of node tiles attached to the hub
attached_nodes: []
# size of buffers connecting the hub to tiles
to_tile_buffer_size: 4
from_tile_buffer_size: 4
# size of antenna tx/rx
rx_buffer_size: 4
tx_buffer_size: 4

# for each hub, the same parameters specified above can be customized
# If not specified, the above default values will be used
# What is usually needed to be customized specifically for each hub is
# the set of nodes that are connected to it. In this simple topology
# we have 4 hubs (0-3) connected to the four nodes of the 2x2
# sub-meshes

0:
attached_nodes: [0,1,4,5]

1:
attached_nodes: [2,3,6,7]

2:
attached_nodes: [8,9,12,13]

3:
attached_nodes: [10,11,14,15]

# Transmission channels configuration
# each channel modelizes the transmission over a given frequency that
# can be used by a set of communicating hubs
RadioChannels:
defaults:
# data rate in Gb/s affect the number of cycles required for a
# flit transmission
data_rate: 16
# bit error rate (CURRENTLY UNSUPPORTED)
ber: [0, 0]
# mac policies:

# who has the token releas only when a complete packet has
# been sent
#[TOKEN_PACKET]

# who has the token, release only after a fixed number of
# cycles, even no transmission is occurring
#[TOKEN_HOLD, num_hold_cycles]

# who has the token, holds the packet until needed for
# transmissions, until a max number of cycles is reached
#[TOKEN_MAX_HOLD, max_hold_cycles]
mac_policy: [TOKEN_PACKET]


# SIMULATION PARAMETERS 模拟器参数
#
# 每秒时钟周期数
clock_period_ps: 1000
# duration of reset signal assertion, expressed in cycles 未知
reset_time: 1000
# overal simulation lenght, expressed in cycles 模拟器运行的周期数
simulation_time: 10000
# collect stats after a given number of cycles 采集状态的间隔周期数
stats_warm_up_time: 1000
# power breakdown, nodes communication details 是否输出详细信息
detailed: false
# stop after a given amount of load has been processed 未知
max_volume_to_be_drained: 0
# 未知
show_buffer_stats: false

# Winoc
# enable wireless, when false, all wireless channel configuration is ignored 无线通信相关,暂不考虑
use_winoc: false
# experimental power saving strategy
use_wirxsleep: false

# Verbosity level:
# VERBOSE_OFF
# VERBOSE_LOW
# VERBOSE_MEDIUM
# VERBOSE_HIGH
verbose_mode: VERBOSE_OFF

# Trace
trace_mode: false
trace_filename: ""

min_packet_size: 8 # 每个packet的最小flit数
max_packet_size: 8 # 每个packet的最大flit数
packet_injection_rate: 0.01 # 未知
probability_of_retransmission: 0.01 # 未知

# Traffic distribution:
# TRAFFIC_RANDOM
# TRAFFIC_TRANSPOSE1
# TRAFFIC_TRANSPOSE2
# TRAFFIC_HOTSPOT
# TRAFFIC_TABLE_BASED
# TRAFFIC_BIT_REVERSAL
# TRAFFIC_SHUFFLE
# TRAFFIC_BUTTERFLY
traffic_distribution: TRAFFIC_RANDOM
# when traffic table based is specified, use the following
# configuration file
traffic_table_filename: "t.txt"

配置文件 default_config.yaml 解析 | Noxim

http://www.zh0ngtian.tech/posts/67fa6a5a.html

作者

zhongtian

发布于

2019-12-24

更新于

2023-12-16

许可协议

评论