-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKconfig
More file actions
105 lines (75 loc) · 2.15 KB
/
Copy pathKconfig
File metadata and controls
105 lines (75 loc) · 2.15 KB
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
mainmenu "NPC RISC-V public profiles"
menu "Design profile (immutable in a run)"
choice NPC_PROFILE
prompt "Public CPU profile"
default NPC_PROFILE_RV32IM_OOO_4K
config NPC_PROFILE_RV32IM_SINGLE_PERF
bool "RV32IM single-issue performance"
config NPC_PROFILE_RV32IMA_SV32_LINUX
bool "RV32IMA single-issue Sv32 Linux"
config NPC_PROFILE_RV32IM_OOO_4K
bool "RV32IM dual-issue out-of-order 4K"
endchoice
config NPC_PROFILE_ID
string
default "rv32im_single_perf" if NPC_PROFILE_RV32IM_SINGLE_PERF
default "rv32ima_sv32_linux" if NPC_PROFILE_RV32IMA_SV32_LINUX
default "rv32im_ooo_4k" if NPC_PROFILE_RV32IM_OOO_4K
config NPC_PROJECT_ID
string
default "npc-riscv-open"
config NPC_SNAPSHOT_ID
string
default "v0.1.0"
endmenu
menu "Runtime controls"
config NPC_IMAGE
string "Program image (optional; set at run time when possible)"
default ""
config NPC_WATCHDOG_CYCLES
int "Simulation watchdog cycles"
range 1 2147483647
default 20000000
config NPC_SEED
int "Deterministic simulation seed"
range 0 2147483647
default 1
config NPC_DIFFTEST
bool "Enable an external reference adapter"
default n
config NPC_REFERENCE_SO
string "External reference adapter shared object"
default ""
config NPC_VCD
bool "Write a VCD waveform"
default n
config NPC_VCD_PATH
string "VCD output path"
default "build/waves/sim.vcd"
config NPC_ITRACE
bool "Write the compact instruction trace"
default n
config NPC_ITRACE_PATH
string "Instruction trace output path"
default "build/traces/itrace.log"
endmenu
menu "ASIC implementation controls"
config NPC_ASIC_REGISTER_EXPANDED
bool "Enable the Nangate45 ASIC implementation control plane"
default n
config NPC_ASIC_MEMORY_MODE
string "ASIC memory binding (registers or sram)"
depends on NPC_ASIC_REGISTER_EXPANDED
default "registers"
endmenu
menu "Public verification stages"
config NPC_RUN_LINT
bool "Run Verilator lint"
default y
config NPC_RUN_SMOKE
bool "Run the bounded profile smoke"
default y
config NPC_RUN_REGRESSION
bool "Run the profile regression list"
default y
endmenu