forked from olofk/serv
-
Notifications
You must be signed in to change notification settings - Fork 1
/
serv.core
97 lines (82 loc) · 2.1 KB
/
serv.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
CAPI=2:
name : ::serv:1.2.1
filesets:
core:
files:
- "tool_verilator? (data/verilator_waiver.vlt)" : {file_type: vlt}
- rtl/serv_bufreg.v
- rtl/serv_bufreg2.v
- rtl/serv_alu.v
- rtl/serv_csr.v
- rtl/serv_ctrl.v
- rtl/serv_decode.v
- rtl/serv_immdec.v
- rtl/serv_mem_if.v
- rtl/serv_rf_if.v
- rtl/serv_rf_ram_if.v
- rtl/serv_rf_ram.v
- rtl/serv_state.v
- rtl/serv_top.v
- rtl/serv_rf_top.v
- rtl/serv_aligner.v
- rtl/serv_compdec.v
file_type : verilogSource
openlane:
files:
- data/params.tcl : {file_type : tclSource}
- rtl/serv_synth_wrapper.v : {file_type : verilogSource}
targets:
default:
filesets : [core]
parameters :
- "is_toplevel? (ALIGN)"
- "is_toplevel? (COMPRESSED)"
- "is_toplevel? (MDU)"
- "is_toplevel? (PRE_REGISTER)"
- "is_toplevel? (RESET_STRATEGY)"
- RISCV_FORMAL
- SERV_CLEAR_RAM
- "is_toplevel? (WITH_CSR)"
toplevel : ["is_toplevel? (serv_rf_top)"]
lint:
default_tool : verilator
filesets : [core]
tools:
verilator:
mode : lint-only
verilator_options:
- "-Wall"
toplevel : serv_rf_top
sky130:
default_tool : openlane
filesets : [core, openlane]
toplevel : serv_synth_wrapper
parameters:
MDU:
datatype : int
description: Enables interface for RISC-V standard M-extension
paramtype : vlogparam
PRE_REGISTER:
datatype : int
description : Register signals before or after the decoder
paramtype : vlogparam
RESET_STRATEGY:
datatype : str
paramtype : vlogparam
RISCV_FORMAL:
datatype : bool
paramtype : vlogdefine
SERV_CLEAR_RAM:
datatype : bool
paramtype : vlogdefine
WITH_CSR:
datatype : int
paramtype : vlogparam
COMPRESSED:
datatype : int
description : Enable/Disable the support for Compressed instructions
paramtype : vlogparam
ALIGN:
datatype : int
paramtype : vlogparam
description : Enable/Disable the support of misaligned instructions