-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathnox.core
257 lines (238 loc) · 7.05 KB
/
nox.core
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
247
248
249
250
251
252
253
254
255
256
257
CAPI=2:
name: core:nox:v0.0.1
description: Nox RISC-V core
filesets:
rtl_nox:
files:
- bus_arch_sv_pkg/amba_axi_pkg.sv
- bus_arch_sv_pkg/amba_ahb_pkg.sv
- rtl/inc/nox_pkg.svh: {is_include_file: true}
- rtl/inc/core_bus_pkg.svh: {is_include_file: true}
- rtl/inc/riscv_pkg.svh: {is_include_file: true}
- rtl/inc/nox_utils_pkg.sv
- rtl/fetch.sv
- rtl/fifo_nox.sv
- rtl/nox.sv
- rtl/wb.sv
- rtl/reset_sync.sv
- rtl/csr.sv
- rtl/execute.sv
- rtl/cb_to_axi.sv
- rtl/cb_to_ahb.sv
- rtl/register_file.sv
- rtl/lsu.sv
- rtl/skid_buffer.sv
- rtl/decode.sv
file_type: systemVerilogSource
uart_axi:
files:
- xlnx/rtl/wbuart32/rtl/txuart.v
- xlnx/rtl/wbuart32/rtl/rxuartlite.v
- xlnx/rtl/wbuart32/rtl/rxuart.v
- xlnx/rtl/wbuart32/rtl/skidbuffer.v
- xlnx/rtl/wbuart32/rtl/ufifo.v
- xlnx/rtl/wbuart32/rtl/txuartlite.v
- xlnx/rtl/wbuart32/rtl/axiluart.v
- xlnx/rtl/wbuart32/rtl/wbuart.v
file_type: systemVerilogSource
verilog_axi:
files:
- xlnx/rtl/verilog-axi/rtl/axi_dma_rd.v
- xlnx/rtl/verilog-axi/rtl/axi_dma_wr.v
- xlnx/rtl/verilog-axi/rtl/axi_ram_wr_if.v
- xlnx/rtl/verilog-axi/rtl/axi_axil_adapter.v
- xlnx/rtl/verilog-axi/rtl/axi_adapter_rd.v
- xlnx/rtl/verilog-axi/rtl/axi_dma.v
- xlnx/rtl/verilog-axi/rtl/axi_register_wr.v
- xlnx/rtl/verilog-axi/rtl/priority_encoder.v
- xlnx/rtl/verilog-axi/rtl/axi_dp_ram.v
- xlnx/rtl/verilog-axi/rtl/axi_adapter_wr.v
- xlnx/rtl/verilog-axi/rtl/axi_ram.v
- xlnx/rtl/verilog-axi/rtl/axi_register_rd.v
- xlnx/rtl/verilog-axi/rtl/axil_register_wr.v
- xlnx/rtl/verilog-axi/rtl/axil_interconnect.v
- xlnx/rtl/verilog-axi/rtl/axi_crossbar_rd.v
- xlnx/rtl/verilog-axi/rtl/axil_adapter_rd.v
- xlnx/rtl/verilog-axi/rtl/axi_crossbar_wr.v
- xlnx/rtl/verilog-axi/rtl/axil_register_rd.v
- xlnx/rtl/verilog-axi/rtl/axi_crossbar.v
- xlnx/rtl/verilog-axi/rtl/axi_cdma.v
- xlnx/rtl/verilog-axi/rtl/axil_adapter_wr.v
- xlnx/rtl/verilog-axi/rtl/axi_cdma_desc_mux.v
- xlnx/rtl/verilog-axi/rtl/axil_dp_ram.v
- xlnx/rtl/verilog-axi/rtl/axi_fifo.v
- xlnx/rtl/verilog-axi/rtl/axil_register.v
- xlnx/rtl/verilog-axi/rtl/axi_adapter.v
- xlnx/rtl/verilog-axi/rtl/axil_adapter.v
- xlnx/rtl/verilog-axi/rtl/axi_fifo_wr.v
- xlnx/rtl/verilog-axi/rtl/axi_ram_rd_if.v
- xlnx/rtl/verilog-axi/rtl/axi_fifo_rd.v
- xlnx/rtl/verilog-axi/rtl/axi_crossbar_addr.v
- xlnx/rtl/verilog-axi/rtl/axi_ram_wr_rd_if.v
- xlnx/rtl/verilog-axi/rtl/arbiter.v
- xlnx/rtl/verilog-axi/rtl/axil_cdc_wr.v
- xlnx/rtl/verilog-axi/rtl/axil_ram.v
- xlnx/rtl/verilog-axi/rtl/axil_cdc.v
- xlnx/rtl/verilog-axi/rtl/axil_cdc_rd.v
- xlnx/rtl/verilog-axi/rtl/axi_axil_adapter_rd.v
- xlnx/rtl/verilog-axi/rtl/axi_interconnect.v
- xlnx/rtl/verilog-axi/rtl/axi_register.v
- xlnx/rtl/verilog-axi/rtl/axi_dma_desc_mux.v
- xlnx/rtl/verilog-axi/rtl/axi_axil_adapter_wr.v
file_type: verilogSource
coremark_nox:
files:
- xlnx/rtl/nox_coremark.sv
- xlnx/rtl/axi_rom_wrapper.sv
- sw/coremark/boot_rom.sv
- xlnx/rtl/axi_mem_wrapper_coremark.sv
file_type: systemVerilogSource
synth_nox:
files:
- xlnx/rtl/clk_mgmt.sv
- xlnx/rtl/nox_soc.sv
- xlnx/rtl/axi_interconnect_wrapper.sv
- xlnx/rtl/axi_crossbar_wrapper.sv
- xlnx/rtl/axi_rom_wrapper.sv
- xlnx/rtl/axi_uart_wrapper.sv
- sw/bootloader/output/boot_rom.sv
- xlnx/rtl/axi_mem_wrapper.sv
- xlnx/rtl/cdc_2ff_sync.sv
- xlnx/rtl/nox_wrapper.sv
- xlnx/rtl/rst_ctrl.sv
- xlnx/rtl/axi_gpio.sv
- xlnx/rtl/axi_spi_master.sv
- xlnx/rtl/cdc_async_fifo.sv
- xlnx/rtl/axi_mtimer.sv
file_type: systemVerilogSource
tb:
files:
- tb/axi_mem_wbp.sv
- tb/axi_mem.sv
file_type: systemVerilogSource
files_tcl:
files:
- xlnx/tcl/call_viv_hooks.tcl: { file_type: tclSource }
- xlnx/tcl/vivado_hook_synth_design_pre.tcl: { file_type: user, copyto: vivado_hook_synth_design_pre.tcl }
- xlnx/tcl/vivado_hook_write_bitstream_pre.tcl: { file_type: user, copyto: vivado_hook_write_bitstream_pre.tcl }
- xlnx/tcl/vivado_hook_opt_design_post.tcl: { file_type: user, copyto: vivado_hook_opt_design_post.tcl }
nexysV_constraints:
files:
- xlnx/xdc/nexys_video.xdc: {file_type: xdc}
k7_qmtech_constraints:
files:
- xlnx/xdc/kintex7_qmtech.xdc: {file_type: xdc}
kc705_constraints:
files:
- xlnx/xdc/kc705.xdc: {file_type: xdc}
arty7_constraints:
files:
- xlnx/xdc/arty_7.xdc: {file_type: xdc}
parameters:
DISPLAY_TEST:
datatype: bool
default : false
paramtype: vlogdefine
NEXYS_VIDEO_50MHz:
datatype: bool
default : true
paramtype: vlogdefine
QMTECH_KINTEX_7_100MHz:
datatype: bool
default : true
paramtype: vlogdefine
ARTY_A7_50MHz:
datatype: bool
default : true
paramtype: vlogdefine
KC705_KINTEX_7_100MHz:
datatype: bool
default : true
paramtype: vlogdefine
targets:
default: &default
filesets: [rtl_nox,verilog_axi,uart_axi]
toplevel: nox_soc
lint:
default_tool: verilator
filesets: [rtl_nox]
tools:
verilator:
mode: lint-only
verilator_options: ["--Wno-UNOPTFLAT"]
toplevel: nox_soc
nv_synth:
<<: *default
default_tool : vivado
parameters:
- NEXYS_VIDEO_50MHz
- DISPLAY_TEST
description : Nexys Video board synthesis
filesets_append:
- synth_nox
- nexysV_constraints
- files_tcl
tools:
vivado:
part : xc7a200tsbg484-1
toplevel: nox_soc
x7_synth:
<<: *default
default_tool : vivado
parameters:
- QMTECH_KINTEX_7_100MHz
- DISPLAY_TEST
description : Kintex 7 board synthesis
filesets_append:
- synth_nox
- k7_qmtech_constraints
- files_tcl
tools:
vivado:
part : xc7k325tffg676-1
toplevel: nox_soc
a7_synth:
<<: *default
default_tool : vivado
parameters:
- ARTY_A7_50MHz
- DISPLAY_TEST
description : Arty A7 - 35 board synthesis
filesets_append:
- synth_nox
- arty7_constraints
- files_tcl
tools:
vivado:
part : xc7a35ticsg324-1L
toplevel: nox_soc
coremark_synth:
<<: *default
default_tool : vivado
parameters:
- ARTY_A7_50MHz
- DISPLAY_TEST
description : Arty A7 - 35 board synthesis
filesets_append:
- coremark_nox
- arty7_constraints
- files_tcl
tools:
vivado:
part : xc7a35ticsg324-1L
toplevel: nox_coremark
kc705_synth:
<<: *default
default_tool : vivado
parameters:
- KC705_KINTEX_7_100MHz
- DISPLAY_TEST
description : Kintex 7 board synthesis
filesets_append:
- synth_nox
- kc705_constraints
- files_tcl
tools:
vivado:
part : xc7k325tffg900-2
toplevel: nox_soc