配置文件 default_config.yaml 解析 | Noxim
本文最后更新于:2020年2月20日
# 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"
评论系统采用 utterances ,加载有延迟,请稍等片刻。