-
Notifications
You must be signed in to change notification settings - Fork 4
/
fazyrv.core
100 lines (89 loc) · 2.21 KB
/
fazyrv.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
CAPI=2:
name: ::fazyrv:0.1.0
description: FazyRV Core
filesets:
core:
files:
- rtl/fazyrv_hadd.v:
file_type: verilogSource
- rtl/fazyrv_fadd.v:
file_type: verilogSource
- rtl/fazyrv_cmp.v:
file_type: verilogSource
- rtl/fazyrv_alu.sv
- rtl/fazyrv_decode.sv
- rtl/fazyrv_decode_mem1.sv
- rtl/fazyrv_shftreg.sv
- rtl/fazyrv_ram_dp.sv
- rtl/fazyrv_ram_sp.sv
- rtl/fazyrv_csr.sv
- rtl/fazyrv_rf_lut.sv
- rtl/fazyrv_rf.sv
- rtl/fazyrv_pc.sv
- rtl/fazyrv_cntrl.sv
- rtl/fazyrv_spm_a.sv
- rtl/fazyrv_spm_d.sv
- rtl/fazyrv_core.sv
- rtl/fazyrv_top.sv
file_type: systemVerilogSource
targets:
default: &default
filesets:
- core
parameters:
- CHUNKSIZE
- CONF
- MTVAL
- BOOTADR
- RFTYPE
- RISCV_FORMAL
toplevel: ["is_toplevel? (fazyrv_top)"]
lintslang:
<<: *default
description: Lint the design with Slang
default_tool: slang
tools:
slang:
mode:
- lint
toplevel: fazyrv_top
lintsv:
<<: *default
description: Lint the design with Verilator
default_tool: verilator
tools:
verilator:
mode: lint-only
verilator_options:
- "-Wall"
- "-Wno-GENUNNAMED"
- "-Wno-WIDTHEXPAND"
- "-Wno-UNUSEDPARAM"
- "-Wno-UNUSEDSIGNAL"
- "-Wno-WIDTHTRUNC"
- "-Wno-CASEOVERLAP"
toplevel: fazyrv_top
parameters:
CHUNKSIZE:
datatype : int
description : Bit width of the data path; either 1, 2, 4, 8.
paramtype : vlogparam
CONF:
datatype : str
description : Feature set of the core; either "MIN", "INT", or "STR".
paramtype : vlogparam
MTVAL:
datatype : int
description : Initial value of the MTVAL CSR.
paramtype : vlogparam
BOOTADR:
datatype : int
description : First PC value to the fetched.
paramtype : vlogparam
RFTYPE:
datatype : str
description : Implementation of regfile; either "LOGIC", "BRAM", "BRAM_BP", "BRAM_DP", or "BRAM_DP_BP"
paramtype : vlogparam
RISCV_FORMAL:
datatype : bool
paramtype : vlogdefine