forked from scalesim-project/scale-sim-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuffet_collection_RF.yaml
More file actions
95 lines (95 loc) · 2.69 KB
/
Copy pathbuffet_collection_RF.yaml
File metadata and controls
95 lines (95 loc) · 2.69 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
compound_components:
version: 0.3
classes:
- name: buffet_collection_RF
attributes:
technology: 40nm
memory_depth: 12
memory_width: 16
n_rdwr_ports: 2
n_banks: 1
n_buffets: 1
scoreboard_depth: 12
subcomponents:
- name: buffet[0..n_buffets-1]
class: buffet
attributes:
technology: technology
depth: memory_depth
width: memory_width
scoreboard_depth: scoreboard_depth
- name: storage
class: regfile
attributes:
technology: technology
width: memory_width
depth: memory_depth
n_rdwr_ports: n_rdwr_ports
n_banks: n_banks
actions:
- name: fill
arguments:
data_delta: 0..1
address_delta: 0..n_banks
subcomponents:
- name: buffet[0]
actions:
- name: fill
arguments:
address_delta: round(address_delta/n_banks)
data_delta: data_delta
- name: storage
actions:
- name: access
arguments:
data_delta: data_delta
address_delta: address_delta
action_latency_cycles: 1
- name: read
arguments:
data_delta: 0..1
address_delta: 0..n_banks
subcomponents:
- name: buffet[0]
actions:
- name: read
arguments:
address_delta: round(address_delta/n_banks)
data_delta: data_delta
- name: storage
actions:
- name: access
arguments:
data_delta: data_delta
address_delta: address_delta
action_latency_cycles: 1
- name: update
arguments:
data_delta: 0..1
address_delta: 0..n_banks
subcomponents:
- name: buffet[0]
actions:
- name: update
arguments:
address_delta: round(address_delta/n_banks)
data_delta: data_delta
- name: storage
actions:
- name: access
arguments:
data_delta: data_delta
address_delta: address_delta
action_latency_cycles: 1
- name: idle
subcomponents:
- name: buffet[0..n_buffets-1]
actions:
- name: idle
- name: storage
actions:
- name: leak
arguments:
data_delta: 0
address_delta: 0
action_latency_cycles: 1