forked from scalesim-project/scale-sim-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathXY_NoC.yaml
More file actions
75 lines (72 loc) · 2.18 KB
/
Copy pathXY_NoC.yaml
File metadata and controls
75 lines (72 loc) · 2.18 KB
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
compound_components:
version: 0.3
classes:
- name: XY_NoC
attributes:
technology: 40nm
Y_comparator_width: 4 # compare rowID
X_comparator_width: 4 # compare colID
n_PE_rows: 12
n_PE_cols: 14
total_PEs: n_PE_cols * n_PE_rows
datawidth: 64
Y_X_wire_avg_length: 2mm
subcomponents:
- name: Y_memory_controller[0..n_PE_rows-1]
class: comparator
attributes:
technology: technology
datawidth: Y_comparator_width
- name: X_memory_controller[0..total_PEs-1]
class: comparator
attributes:
technology: technology
datawidth: X_comparator_width
- name: Y_X_wire
class: wire
attributes:
technology: technology
width: datawidth + X_comparator_width
length: Y_X_wire_avg_length
actions:
- name: transfer_random
arguments:
n_rows: 1..n_PE_rows
n_cols_per_row: 1..n_PE_cols
subcomponents:
- name: Y_memory_controller[0..n_rows-1]
actions:
- name: transfer_random
- name: X_memory_controller[0]
actions:
- name: transfer_random
repeat: n_cols_per_row * n_rows # alternative representation of repetitive actions of identical components
- name: Y_X_wire
actions:
- name: transfer_random
- name: transfer_repeated
arguments:
n_rows: 1..n_PE_rows
n_cols_per_row: 1..n_PE_cols
subcomponents:
- name: Y_memory_controller[0..n_rows-1]
actions:
- name: transfer_repeated
- name: X_memory_controller[0]
actions:
- name: transfer_repeated
repeat: n_cols_per_row * n_rows
- name: Y_X_wire
actions:
- name: idle
- name: idle
subcomponents:
- name: Y_memory_controller[0..n_PE_rows-1]
actions:
- name: idle
- name: X_memory_controller[0..total_PEs-1]
actions:
- name: idle
- name: Y_X_wire
actions:
- name: idle