forked from openhwgroup/cva6
-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathBender.yml
246 lines (220 loc) · 10 KB
/
Bender.yml
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
package:
name: cva6
authors:
- "Florian Zaruba <[email protected]>"
- "Michael Schaffner <[email protected]>"
- "Andreas Kuster <[email protected]>"
# WT_DCACHE
dependencies:
axi: { git: "https://github.com/pulp-platform/axi.git", version: 0.31.0 }
common_cells:
{ git: "https://github.com/pulp-platform/common_cells", version: 1.23.0 }
fpnew: { git: "https://github.com/pulp-platform/cvfpu.git", rev: pulp-v0.2.3 }
tech_cells_generic:
{ git: "https://github.com/pulp-platform/tech_cells_generic.git", version: 0.2.13 }
export_include_dirs:
- core/include
- core/cache_subsystem/hpdcache/rtl/include
sources:
- include_dirs:
- core/include
- common/local/util
files:
- core/include/config_pkg.sv
# Pick the right configuration by passing the right bender flag.
- target: cv64a6_imafdcv_sv39
files:
- core/include/cv64a6_imafdcv_sv39_config_pkg.sv
- target: cv64a6_imafdc_sv39
files:
- core/include/cv64a6_imafdc_sv39_config_pkg.sv
- target: cv64a6_imafdchsclic_sv39
files:
- core/include/cv64a6_imafdchsclic_sv39_config_pkg.sv
- target: cv64a6_imafdc_sv39_hpdcache
files:
- core/include/cv64a6_imafdc_sv39_hpdcache_config_pkg.sv
- target: cv64a6_imafdchsclic_sv39_hpdcache
files:
- core/include/cv64a6_imafdchsclic_sv39_hpdcache_config_pkg.sv
- target: cv64a6_imafdc_sv39_wb
files:
- core/include/cv64a6_imafdc_sv39_wb_config_pkg.sv
- target: cv64a6_imafdchsclic_sv39_wb
files:
- core/include/cv64a6_imafdchsclic_sv39_wb_config_pkg.sv
- target: cv64a6_imafdch_sv39
files:
- core/include/cv64a6_imafdch_sv39_config_pkg.sv
- target: cv64a6_imafdch_sv39_wb
files:
- core/include/cv64a6_imafdch_sv39_wb_config_pkg.sv
- target: cv32a6_imac_sv0
files:
- core/include/cv32a6_imac_sv0_config_pkg.sv
- target: cv32a6_imac_sv32
files:
- core/include/cv32a6_imac_sv32_config_pkg.sv
- target: cv32a6_imafc_sv32
files:
- core/include/cv32a6_imafc_sv32_config_pkg.sv
# General config infrastructure
- core/include/riscv_pkg.sv
- core/include/ariane_pkg.sv
- core/include/build_config_pkg.sv
- target: not(exclude_first_pass_decoder)
files:
- core/cva6_accel_first_pass_decoder_stub.sv
# CLIC controller
- target: any(cv64a6_imafdchsclic_sv39, cv64a6_imafdchsclic_sv39_hpdcache, cv64a6_imafdchsclic_sv39_wb)
files:
- core/cva6_clic_controller.sv
# MMU
- target: any(cv64a6_imafdcv_sv39, cv64a6_imafdc_sv39, cv64a6_imafdchsclic_sv39, cv64a6_imafdc_sv39_hpdcache, cv64a6_imafdchsclic_sv39_hpdcache, cv64a6_imafdc_sv39_wb, cv64a6_imafdchsclic_sv39_wb, cv64a6_imafdch_sv39, cv64a6_imafdch_sv39_wb, cv32a6_imac_sv0, cv32a6_imac_sv32, cv32a6_imafc_sv32)
files:
- core/cva6_mmu/cva6_tlb.sv
- core/cva6_mmu/cva6_shared_tlb.sv
- core/cva6_mmu/cva6_mmu.sv
- core/cva6_mmu/cva6_ptw.sv
# Packages
- core/include/wt_cache_pkg.sv
- core/include/std_cache_pkg.sv
# Extension Interface
- core/cvxif_example/include/cvxif_instr_pkg.sv
- core/cvxif_fu.sv
- core/cvxif_issue_register_commit_if_driver.sv
- core/cvxif_compressed_if_driver.sv
- core/cvxif_example/cvxif_example_coprocessor.sv
- core/cvxif_example/instr_decoder.sv
# Tracing
- core/cva6_rvfi_probes.sv
- core/cva6_fifo_v3.sv
# Top-level source files (not necessarily instantiated at the top of the cva6).
# - corev_apu/tb/ariane.sv
- core/cva6.sv
- core/alu.sv
- core/fpu_wrap.sv # depends on fpnew_pkg, above
- core/branch_unit.sv
- core/compressed_decoder.sv
- core/controller.sv
- core/csr_buffer.sv
- core/csr_regfile.sv
- core/decoder.sv
- core/ex_stage.sv
- core/acc_dispatcher.sv
- core/instr_realign.sv
- core/macro_decoder.sv
- core/id_stage.sv
- core/issue_read_operands.sv
- core/issue_stage.sv
- core/load_unit.sv
- core/load_store_unit.sv
- core/lsu_bypass.sv
- core/mult.sv
- core/multiplier.sv
- core/serdiv.sv
- core/perf_counters.sv
- core/ariane_regfile_ff.sv
- core/ariane_regfile_fpga.sv
- core/scoreboard.sv
- core/store_buffer.sv
- core/amo_buffer.sv
- core/store_unit.sv
- core/commit_stage.sv
- core/axi_shim.sv
# Frontend (i.e., fetch, decode, dispatch)
- core/frontend/btb.sv
- core/frontend/bht.sv
- core/frontend/ras.sv
- core/frontend/instr_scan.sv
- core/frontend/instr_queue.sv
- core/frontend/frontend.sv
# Cache subsystem(s)
- core/cache_subsystem/wt_dcache_ctrl.sv
- core/cache_subsystem/wt_dcache_mem.sv
- core/cache_subsystem/wt_dcache_missunit.sv
- core/cache_subsystem/wt_dcache_wbuffer.sv
- core/cache_subsystem/wt_dcache.sv
- core/cache_subsystem/wt_cache_subsystem.sv
- core/cache_subsystem/wt_axi_adapter.sv
- core/cache_subsystem/cva6_icache.sv
- core/cache_subsystem/tag_cmp.sv
- core/cache_subsystem/cache_ctrl.sv
- core/cache_subsystem/amo_alu.sv
# - core/cache_subsystem/wt_l15_adapter.sv
- core/cache_subsystem/axi_adapter.sv
- core/cache_subsystem/miss_handler.sv
- core/cache_subsystem/std_nbdcache.sv
- core/cache_subsystem/cva6_icache_axi_wrapper.sv
- core/cache_subsystem/std_cache_subsystem.sv
# HPDCache sources
- core/cache_subsystem/hpdcache/rtl/src/hpdcache_pkg.sv
- core/cache_subsystem/hpdcache/rtl/src/utils/hpdcache_mem_resp_demux.sv
- core/cache_subsystem/hpdcache/rtl/src/utils/hpdcache_mem_to_axi_read.sv
- core/cache_subsystem/hpdcache/rtl/src/utils/hpdcache_mem_to_axi_write.sv
- core/cache_subsystem/hpdcache/rtl/src/utils/hpdcache_mem_req_read_arbiter.sv
- core/cache_subsystem/hpdcache/rtl/src/utils/hpdcache_mem_req_write_arbiter.sv
- core/cache_subsystem/hpdcache/rtl/src/common/hpdcache_demux.sv
- core/cache_subsystem/hpdcache/rtl/src/common/hpdcache_lfsr.sv
- core/cache_subsystem/hpdcache/rtl/src/common/hpdcache_sync_buffer.sv
- core/cache_subsystem/hpdcache/rtl/src/common/hpdcache_fifo_reg.sv
- core/cache_subsystem/hpdcache/rtl/src/common/hpdcache_fifo_reg_initialized.sv
- core/cache_subsystem/hpdcache/rtl/src/common/hpdcache_fxarb.sv
- core/cache_subsystem/hpdcache/rtl/src/common/hpdcache_rrarb.sv
- core/cache_subsystem/hpdcache/rtl/src/common/hpdcache_mux.sv
- core/cache_subsystem/hpdcache/rtl/src/common/hpdcache_decoder.sv
- core/cache_subsystem/hpdcache/rtl/src/common/hpdcache_1hot_to_binary.sv
- core/cache_subsystem/hpdcache/rtl/src/common/hpdcache_prio_1hot_encoder.sv
- core/cache_subsystem/hpdcache/rtl/src/common/hpdcache_sram.sv
- core/cache_subsystem/hpdcache/rtl/src/common/hpdcache_sram_wbyteenable.sv
- core/cache_subsystem/hpdcache/rtl/src/common/hpdcache_sram_wmask.sv
- core/cache_subsystem/hpdcache/rtl/src/common/hpdcache_regbank_wbyteenable_1rw.sv
- core/cache_subsystem/hpdcache/rtl/src/common/hpdcache_regbank_wmask_1rw.sv
- core/cache_subsystem/hpdcache/rtl/src/common/hpdcache_data_downsize.sv
- core/cache_subsystem/hpdcache/rtl/src/common/hpdcache_data_upsize.sv
- core/cache_subsystem/hpdcache/rtl/src/common/hpdcache_data_resize.sv
- core/cache_subsystem/hpdcache/rtl/src/hwpf_stride/hwpf_stride_pkg.sv
- core/cache_subsystem/hpdcache/rtl/src/hwpf_stride/hwpf_stride.sv
- core/cache_subsystem/hpdcache/rtl/src/hwpf_stride/hwpf_stride_arb.sv
- core/cache_subsystem/hpdcache/rtl/src/hwpf_stride/hwpf_stride_wrapper.sv
- core/cache_subsystem/hpdcache/rtl/src/hpdcache.sv
- core/cache_subsystem/hpdcache/rtl/src/hpdcache_amo.sv
- core/cache_subsystem/hpdcache/rtl/src/hpdcache_cmo.sv
- core/cache_subsystem/hpdcache/rtl/src/hpdcache_core_arbiter.sv
- core/cache_subsystem/hpdcache/rtl/src/hpdcache_ctrl.sv
- core/cache_subsystem/hpdcache/rtl/src/hpdcache_ctrl_pe.sv
- core/cache_subsystem/hpdcache/rtl/src/hpdcache_memctrl.sv
- core/cache_subsystem/hpdcache/rtl/src/hpdcache_miss_handler.sv
- core/cache_subsystem/hpdcache/rtl/src/hpdcache_mshr.sv
- core/cache_subsystem/hpdcache/rtl/src/hpdcache_rtab.sv
- core/cache_subsystem/hpdcache/rtl/src/hpdcache_uncached.sv
- core/cache_subsystem/hpdcache/rtl/src/hpdcache_victim_plru.sv
- core/cache_subsystem/hpdcache/rtl/src/hpdcache_victim_random.sv
- core/cache_subsystem/hpdcache/rtl/src/hpdcache_victim_sel.sv
- core/cache_subsystem/hpdcache/rtl/src/hpdcache_wbuf.sv
- core/cache_subsystem/hpdcache/rtl/src/hpdcache_flush.sv
# HPDCache integration
- core/cache_subsystem/cva6_hpdcache_if_adapter.sv
- core/cache_subsystem/cva6_hpdcache_subsystem_axi_arbiter.sv
- core/cache_subsystem/cva6_hpdcache_subsystem.sv
- core/cache_subsystem/cva6_hpdcache_wrapper.sv
# `tc_sram` wrappers for HPDCache macros
- core/cache_subsystem/hpdcache_tc_sram.sv
# Physical Memory Protection
- core/pmp/src/pmp.sv
- core/pmp/src/pmp_entry.sv
- core/pmp/src/pmp_data_if.sv
# FPGA support stubs: these should never be instantiated (and will throw assertions)
- vendor/pulp-platform/fpga-support/fpga-support-stubs.sv
# SRAM Wrappers stay tech-independent; we leave technology mapping to tc_sram
- common/local/util/tc_sram_wrapper.sv
- common/local/util/tc_sram_wrapper_cache_techno.sv
- common/local/util/sram_pulp.sv
- common/local/util/sram_cache.sv
- target: not(synthesis)
files:
# Tracer (behavioral code, not RTL)
- core/include/instr_tracer_pkg.sv
- common/local/util/instr_tracer.sv
- common/local/util/instr_trace_item.svh
- common/local/util/ex_trace_item.svh