-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathmdu.core
67 lines (56 loc) · 1.17 KB
/
mdu.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
CAPI=2:
name : ::mdu:1.0.0
description: M-extension for RISC-V cores
filesets:
core:
files:
- rtl/mdu_top.v
file_type : verilogSource
verilator_tb:
files:
- bench/verilator_tb.cpp
file_type : cppSource
targets:
default:
filesets : [core]
parameters :
- "is_toplevel? (WIDTH)"
toplevel : ["is_toplevel? (mdu_top)"]
lint:
default_tool : verilator
filesets : [core]
tools:
verilator:
mode : lint-only
verilator_options:
- "-Wall"
toplevel : mdu_top
verilator_tb:
default_tool : verilator
filesets : [core, verilator_tb]
parameters:
- WIDTH
- timeout
- vcd
- vcd_start
tools:
verilator:
verilator_options:
- '--trace'
- '-Wall'
toplevel : mdu_top
parameters:
WIDTH:
datatype : int
description : Set WIDTH of the module signals
paramtype : vlogparam
timeout:
datatype : int
paramtype : plusarg
vcd:
datatype : bool
paramtype : plusarg
vcd_start:
datatype : int
description : Delay start of VCD dumping until the specified time
paramtype : plusarg