NEORV32 Software Framework Documentation
The NEORV32 RISC-V Processor
Loading...
Searching...
No Matches
neorv32_cpu_csr.h
Go to the documentation of this file.
1// ================================================================================ //
2// The NEORV32 RISC-V Processor - https://github.com/stnolting/neorv32 //
3// Copyright (c) NEORV32 contributors. //
4// Copyright (c) 2020 - 2024 Stephan Nolting. All rights reserved. //
5// Licensed under the BSD-3-Clause license, see LICENSE for details. //
6// SPDX-License-Identifier: BSD-3-Clause //
7// ================================================================================ //
8
16#ifndef neorv32_cpu_csr_h
17#define neorv32_cpu_csr_h
18
19#include <stdint.h>
20
21
22/**********************************************************************/
26 /* floating-point unit control and status */
27 CSR_FFLAGS = 0x001,
28 CSR_FRM = 0x002,
29 CSR_FCSR = 0x003,
31 /* machine control and status */
32 CSR_MSTATUS = 0x300,
33 CSR_MISA = 0x301,
34 CSR_MIE = 0x304,
35 CSR_MTVEC = 0x305,
37 CSR_MSTATUSH = 0x310,
40 /* machine configuration */
41 CSR_MENVCFG = 0x30a,
42 CSR_MENVCFGH = 0x31a,
44 /* hardware performance monitors - event configuration */
59 /* machine trap control */
60 CSR_MSCRATCH = 0x340,
61 CSR_MEPC = 0x341,
62 CSR_MCAUSE = 0x342,
63 CSR_MTVAL = 0x343,
64 CSR_MIP = 0x344,
65 CSR_MTINST = 0x34a,
67 /* physical memory protection */
68 CSR_PMPCFG0 = 0x3a0,
69 CSR_PMPCFG1 = 0x3a1,
70 CSR_PMPCFG2 = 0x3a2,
71 CSR_PMPCFG3 = 0x3a3,
73 CSR_PMPADDR0 = 0x3b0,
74 CSR_PMPADDR1 = 0x3b1,
75 CSR_PMPADDR2 = 0x3b2,
76 CSR_PMPADDR3 = 0x3b3,
77 CSR_PMPADDR4 = 0x3b4,
78 CSR_PMPADDR5 = 0x3b5,
79 CSR_PMPADDR6 = 0x3b6,
80 CSR_PMPADDR7 = 0x3b7,
81 CSR_PMPADDR8 = 0x3b8,
82 CSR_PMPADDR9 = 0x3b9,
83 CSR_PMPADDR10 = 0x3ba,
84 CSR_PMPADDR11 = 0x3bb,
85 CSR_PMPADDR12 = 0x3bc,
86 CSR_PMPADDR13 = 0x3bd,
87 CSR_PMPADDR14 = 0x3be,
88 CSR_PMPADDR15 = 0x3bf,
90 /* on-chip debugger - hardware trigger module */
91 CSR_TSELECT = 0x7a0,
92 CSR_TDATA1 = 0x7a1,
93 CSR_TDATA2 = 0x7a2,
94 CSR_TINFO = 0x7a4,
96 /* CPU debug mode CSRs - not accessible by software running outside of debug mode */
97 CSR_DCSR = 0x7b0,
98 CSR_DPC = 0x7b1,
99 CSR_DSCRATCH0 = 0x7b2,
101 /* custom functions unit (CFU) registers */
102 CSR_CFUREG0 = 0x800,
103 CSR_CFUREG1 = 0x801,
104 CSR_CFUREG2 = 0x802,
105 CSR_CFUREG3 = 0x803,
107 /* machine counters and timers */
108 CSR_MCYCLE = 0xb00,
109 CSR_MINSTRET = 0xb02,
124 CSR_MCYCLEH = 0xb80,
140 /* user counters and timers */
141 CSR_CYCLE = 0xc00,
142 CSR_INSTRET = 0xc02,
144 CSR_CYCLEH = 0xc80,
145 CSR_INSTRETH = 0xc82,
147 /* machine information registers */
149 CSR_MARCHID = 0xf12,
150 CSR_MIMPID = 0xf13,
151 CSR_MHARTID = 0xf14,
153 CSR_MXISA = 0xfc0
155
156
157/**********************************************************************/
167
168
169/**********************************************************************/
176
177
178/**********************************************************************/
189
190
191/**********************************************************************/
228
229
230/**********************************************************************/
256
257
258/**********************************************************************/
284
285
286/**********************************************************************/
300
301
302/**********************************************************************/
341
342
343/**********************************************************************/
360
361
362/**********************************************************************/
373
374/**********************************************************************/
383
384
385/**********************************************************************/
390 TRAP_CODE_I_ACCESS = 0x00000001U,
391 TRAP_CODE_I_ILLEGAL = 0x00000002U,
392 TRAP_CODE_BREAKPOINT = 0x00000003U,
394 TRAP_CODE_L_ACCESS = 0x00000005U,
396 TRAP_CODE_S_ACCESS = 0x00000007U,
397 TRAP_CODE_UENV_CALL = 0x00000008U,
398 TRAP_CODE_MENV_CALL = 0x0000000bU,
399 TRAP_CODE_MSI = 0x80000003U,
400 TRAP_CODE_MTI = 0x80000007U,
401 TRAP_CODE_MEI = 0x8000000bU,
402 TRAP_CODE_FIRQ_0 = 0x80000010U,
403 TRAP_CODE_FIRQ_1 = 0x80000011U,
404 TRAP_CODE_FIRQ_2 = 0x80000012U,
405 TRAP_CODE_FIRQ_3 = 0x80000013U,
406 TRAP_CODE_FIRQ_4 = 0x80000014U,
407 TRAP_CODE_FIRQ_5 = 0x80000015U,
408 TRAP_CODE_FIRQ_6 = 0x80000016U,
409 TRAP_CODE_FIRQ_7 = 0x80000017U,
410 TRAP_CODE_FIRQ_8 = 0x80000018U,
411 TRAP_CODE_FIRQ_9 = 0x80000019U,
412 TRAP_CODE_FIRQ_10 = 0x8000001aU,
413 TRAP_CODE_FIRQ_11 = 0x8000001bU,
414 TRAP_CODE_FIRQ_12 = 0x8000001cU,
415 TRAP_CODE_FIRQ_13 = 0x8000001dU,
416 TRAP_CODE_FIRQ_14 = 0x8000001eU,
417 TRAP_CODE_FIRQ_15 = 0x8000001fU
419
420
421#endif // neorv32_cpu_csr_h
NEORV32_CSR_MIE_enum
Definition neorv32_cpu_csr.h:233
@ CSR_MIE_FIRQ9E
Definition neorv32_cpu_csr.h:248
@ CSR_MIE_FIRQ13E
Definition neorv32_cpu_csr.h:252
@ CSR_MIE_FIRQ5E
Definition neorv32_cpu_csr.h:244
@ CSR_MIE_MTIE
Definition neorv32_cpu_csr.h:235
@ CSR_MIE_FIRQ8E
Definition neorv32_cpu_csr.h:247
@ CSR_MIE_FIRQ7E
Definition neorv32_cpu_csr.h:246
@ CSR_MIE_FIRQ12E
Definition neorv32_cpu_csr.h:251
@ CSR_MIE_FIRQ4E
Definition neorv32_cpu_csr.h:243
@ CSR_MIE_FIRQ3E
Definition neorv32_cpu_csr.h:242
@ CSR_MIE_FIRQ14E
Definition neorv32_cpu_csr.h:253
@ CSR_MIE_FIRQ6E
Definition neorv32_cpu_csr.h:245
@ CSR_MIE_FIRQ0E
Definition neorv32_cpu_csr.h:239
@ CSR_MIE_FIRQ15E
Definition neorv32_cpu_csr.h:254
@ CSR_MIE_FIRQ1E
Definition neorv32_cpu_csr.h:240
@ CSR_MIE_MEIE
Definition neorv32_cpu_csr.h:236
@ CSR_MIE_FIRQ11E
Definition neorv32_cpu_csr.h:250
@ CSR_MIE_FIRQ2E
Definition neorv32_cpu_csr.h:241
@ CSR_MIE_MSIE
Definition neorv32_cpu_csr.h:234
@ CSR_MIE_FIRQ10E
Definition neorv32_cpu_csr.h:249
NEORV32_HPMCNT_EVENT_enum
Definition neorv32_cpu_csr.h:346
@ HPMCNT_EVENT_BRANCHED
Definition neorv32_cpu_csr.h:354
@ HPMCNT_EVENT_LOAD
Definition neorv32_cpu_csr.h:355
@ HPMCNT_EVENT_CY
Definition neorv32_cpu_csr.h:347
@ HPMCNT_EVENT_TRAP
Definition neorv32_cpu_csr.h:358
@ HPMCNT_EVENT_TM
Definition neorv32_cpu_csr.h:348
@ HPMCNT_EVENT_WAIT_LSU
Definition neorv32_cpu_csr.h:357
@ HPMCNT_EVENT_COMPR
Definition neorv32_cpu_csr.h:350
@ HPMCNT_EVENT_STORE
Definition neorv32_cpu_csr.h:356
@ HPMCNT_EVENT_BRANCH
Definition neorv32_cpu_csr.h:353
@ HPMCNT_EVENT_IR
Definition neorv32_cpu_csr.h:349
@ HPMCNT_EVENT_WAIT_DIS
Definition neorv32_cpu_csr.h:351
@ HPMCNT_EVENT_WAIT_ALU
Definition neorv32_cpu_csr.h:352
NEORV32_CSR_MIP_enum
Definition neorv32_cpu_csr.h:261
@ CSR_MIP_FIRQ12P
Definition neorv32_cpu_csr.h:279
@ CSR_MIP_FIRQ15P
Definition neorv32_cpu_csr.h:282
@ CSR_MIP_MSIP
Definition neorv32_cpu_csr.h:262
@ CSR_MIP_FIRQ13P
Definition neorv32_cpu_csr.h:280
@ CSR_MIP_MEIP
Definition neorv32_cpu_csr.h:264
@ CSR_MIP_FIRQ0P
Definition neorv32_cpu_csr.h:267
@ CSR_MIP_FIRQ10P
Definition neorv32_cpu_csr.h:277
@ CSR_MIP_FIRQ1P
Definition neorv32_cpu_csr.h:268
@ CSR_MIP_MTIP
Definition neorv32_cpu_csr.h:263
@ CSR_MIP_FIRQ11P
Definition neorv32_cpu_csr.h:278
@ CSR_MIP_FIRQ3P
Definition neorv32_cpu_csr.h:270
@ CSR_MIP_FIRQ5P
Definition neorv32_cpu_csr.h:272
@ CSR_MIP_FIRQ14P
Definition neorv32_cpu_csr.h:281
@ CSR_MIP_FIRQ7P
Definition neorv32_cpu_csr.h:274
@ CSR_MIP_FIRQ4P
Definition neorv32_cpu_csr.h:271
@ CSR_MIP_FIRQ9P
Definition neorv32_cpu_csr.h:276
@ CSR_MIP_FIRQ2P
Definition neorv32_cpu_csr.h:269
@ CSR_MIP_FIRQ8P
Definition neorv32_cpu_csr.h:275
@ CSR_MIP_FIRQ6P
Definition neorv32_cpu_csr.h:273
NEORV32_CSR_MCOUNTEREN_enum
Definition neorv32_cpu_csr.h:172
@ CSR_MCOUNTEREN_CY
Definition neorv32_cpu_csr.h:173
@ CSR_MCOUNTEREN_IR
Definition neorv32_cpu_csr.h:174
NEORV32_CSR_MSTATUS_enum
Definition neorv32_cpu_csr.h:181
@ CSR_MSTATUS_MPRV
Definition neorv32_cpu_csr.h:186
@ CSR_MSTATUS_MPP_H
Definition neorv32_cpu_csr.h:185
@ CSR_MSTATUS_MPIE
Definition neorv32_cpu_csr.h:183
@ CSR_MSTATUS_TW
Definition neorv32_cpu_csr.h:187
@ CSR_MSTATUS_MIE
Definition neorv32_cpu_csr.h:182
@ CSR_MSTATUS_MPP_L
Definition neorv32_cpu_csr.h:184
NEORV32_PMP_MODES_enum
Definition neorv32_cpu_csr.h:377
@ PMP_OFF
Definition neorv32_cpu_csr.h:378
@ PMP_TOR
Definition neorv32_cpu_csr.h:379
@ PMP_NA4
Definition neorv32_cpu_csr.h:380
@ PMP_NAPOT
Definition neorv32_cpu_csr.h:381
NEORV32_CSR_MCOUNTINHIBIT_enum
Definition neorv32_cpu_csr.h:194
@ CSR_MCOUNTINHIBIT_HPM15
Definition neorv32_cpu_csr.h:210
@ CSR_MCOUNTINHIBIT_HPM9
Definition neorv32_cpu_csr.h:204
@ CSR_MCOUNTINHIBIT_HPM30
Definition neorv32_cpu_csr.h:225
@ CSR_MCOUNTINHIBIT_HPM26
Definition neorv32_cpu_csr.h:221
@ CSR_MCOUNTINHIBIT_HPM31
Definition neorv32_cpu_csr.h:226
@ CSR_MCOUNTINHIBIT_HPM21
Definition neorv32_cpu_csr.h:216
@ CSR_MCOUNTINHIBIT_CY
Definition neorv32_cpu_csr.h:195
@ CSR_MCOUNTINHIBIT_HPM5
Definition neorv32_cpu_csr.h:200
@ CSR_MCOUNTINHIBIT_HPM28
Definition neorv32_cpu_csr.h:223
@ CSR_MCOUNTINHIBIT_HPM19
Definition neorv32_cpu_csr.h:214
@ CSR_MCOUNTINHIBIT_HPM7
Definition neorv32_cpu_csr.h:202
@ CSR_MCOUNTINHIBIT_HPM4
Definition neorv32_cpu_csr.h:199
@ CSR_MCOUNTINHIBIT_HPM27
Definition neorv32_cpu_csr.h:222
@ CSR_MCOUNTINHIBIT_IR
Definition neorv32_cpu_csr.h:196
@ CSR_MCOUNTINHIBIT_HPM16
Definition neorv32_cpu_csr.h:211
@ CSR_MCOUNTINHIBIT_HPM24
Definition neorv32_cpu_csr.h:219
@ CSR_MCOUNTINHIBIT_HPM23
Definition neorv32_cpu_csr.h:218
@ CSR_MCOUNTINHIBIT_HPM17
Definition neorv32_cpu_csr.h:212
@ CSR_MCOUNTINHIBIT_HPM12
Definition neorv32_cpu_csr.h:207
@ CSR_MCOUNTINHIBIT_HPM10
Definition neorv32_cpu_csr.h:205
@ CSR_MCOUNTINHIBIT_HPM29
Definition neorv32_cpu_csr.h:224
@ CSR_MCOUNTINHIBIT_HPM18
Definition neorv32_cpu_csr.h:213
@ CSR_MCOUNTINHIBIT_HPM14
Definition neorv32_cpu_csr.h:209
@ CSR_MCOUNTINHIBIT_HPM8
Definition neorv32_cpu_csr.h:203
@ CSR_MCOUNTINHIBIT_HPM11
Definition neorv32_cpu_csr.h:206
@ CSR_MCOUNTINHIBIT_HPM6
Definition neorv32_cpu_csr.h:201
@ CSR_MCOUNTINHIBIT_HPM13
Definition neorv32_cpu_csr.h:208
@ CSR_MCOUNTINHIBIT_HPM20
Definition neorv32_cpu_csr.h:215
@ CSR_MCOUNTINHIBIT_HPM25
Definition neorv32_cpu_csr.h:220
@ CSR_MCOUNTINHIBIT_HPM22
Definition neorv32_cpu_csr.h:217
@ CSR_MCOUNTINHIBIT_HPM3
Definition neorv32_cpu_csr.h:198
NEORV32_PMPCFG_ATTRIBUTES_enum
Definition neorv32_cpu_csr.h:365
@ PMPCFG_L
Definition neorv32_cpu_csr.h:371
@ PMPCFG_A_MSB
Definition neorv32_cpu_csr.h:370
@ PMPCFG_W
Definition neorv32_cpu_csr.h:367
@ PMPCFG_A_LSB
Definition neorv32_cpu_csr.h:369
@ PMPCFG_R
Definition neorv32_cpu_csr.h:366
@ PMPCFG_X
Definition neorv32_cpu_csr.h:368
NEORV32_CSR_enum
Definition neorv32_cpu_csr.h:25
@ CSR_MCONFIGPTR
Definition neorv32_cpu_csr.h:152
@ CSR_PMPCFG3
Definition neorv32_cpu_csr.h:71
@ CSR_MIMPID
Definition neorv32_cpu_csr.h:150
@ CSR_MHPMEVENT15
Definition neorv32_cpu_csr.h:57
@ CSR_PMPCFG2
Definition neorv32_cpu_csr.h:70
@ CSR_DSCRATCH0
Definition neorv32_cpu_csr.h:99
@ CSR_MHPMCOUNTER12
Definition neorv32_cpu_csr.h:119
@ CSR_MCOUNTEREN
Definition neorv32_cpu_csr.h:36
@ CSR_MHPMCOUNTER9
Definition neorv32_cpu_csr.h:116
@ CSR_MHPMEVENT6
Definition neorv32_cpu_csr.h:48
@ CSR_MHPMCOUNTER10H
Definition neorv32_cpu_csr.h:133
@ CSR_MHPMCOUNTER15
Definition neorv32_cpu_csr.h:122
@ CSR_PMPCFG1
Definition neorv32_cpu_csr.h:69
@ CSR_PMPADDR12
Definition neorv32_cpu_csr.h:85
@ CSR_MHPMEVENT10
Definition neorv32_cpu_csr.h:52
@ CSR_MHPMEVENT5
Definition neorv32_cpu_csr.h:47
@ CSR_MHPMCOUNTER3H
Definition neorv32_cpu_csr.h:126
@ CSR_MCYCLEH
Definition neorv32_cpu_csr.h:124
@ CSR_MCAUSE
Definition neorv32_cpu_csr.h:62
@ CSR_MHPMEVENT7
Definition neorv32_cpu_csr.h:49
@ CSR_MHPMCOUNTER4H
Definition neorv32_cpu_csr.h:127
@ CSR_PMPADDR13
Definition neorv32_cpu_csr.h:86
@ CSR_MCYCLE
Definition neorv32_cpu_csr.h:108
@ CSR_MHPMCOUNTER12H
Definition neorv32_cpu_csr.h:135
@ CSR_CFUREG1
Definition neorv32_cpu_csr.h:103
@ CSR_MXISA
Definition neorv32_cpu_csr.h:153
@ CSR_MCOUNTINHIBIT
Definition neorv32_cpu_csr.h:38
@ CSR_PMPADDR11
Definition neorv32_cpu_csr.h:84
@ CSR_CFUREG2
Definition neorv32_cpu_csr.h:104
@ CSR_MENVCFGH
Definition neorv32_cpu_csr.h:42
@ CSR_MHPMCOUNTER6H
Definition neorv32_cpu_csr.h:129
@ CSR_MHPMEVENT3
Definition neorv32_cpu_csr.h:45
@ CSR_MTINST
Definition neorv32_cpu_csr.h:65
@ CSR_PMPADDR9
Definition neorv32_cpu_csr.h:82
@ CSR_MHPMCOUNTER10
Definition neorv32_cpu_csr.h:117
@ CSR_MHPMCOUNTER8
Definition neorv32_cpu_csr.h:115
@ CSR_MEPC
Definition neorv32_cpu_csr.h:61
@ CSR_MHPMCOUNTER13H
Definition neorv32_cpu_csr.h:136
@ CSR_FCSR
Definition neorv32_cpu_csr.h:29
@ CSR_FFLAGS
Definition neorv32_cpu_csr.h:27
@ CSR_PMPADDR15
Definition neorv32_cpu_csr.h:88
@ CSR_PMPADDR1
Definition neorv32_cpu_csr.h:74
@ CSR_MHARTID
Definition neorv32_cpu_csr.h:151
@ CSR_DCSR
Definition neorv32_cpu_csr.h:97
@ CSR_MHPMCOUNTER9H
Definition neorv32_cpu_csr.h:132
@ CSR_MHPMCOUNTER5H
Definition neorv32_cpu_csr.h:128
@ CSR_MTVAL
Definition neorv32_cpu_csr.h:63
@ CSR_FRM
Definition neorv32_cpu_csr.h:28
@ CSR_MHPMEVENT11
Definition neorv32_cpu_csr.h:53
@ CSR_MHPMCOUNTER11H
Definition neorv32_cpu_csr.h:134
@ CSR_TDATA1
Definition neorv32_cpu_csr.h:92
@ CSR_INSTRET
Definition neorv32_cpu_csr.h:142
@ CSR_MHPMCOUNTER11
Definition neorv32_cpu_csr.h:118
@ CSR_PMPADDR0
Definition neorv32_cpu_csr.h:73
@ CSR_PMPADDR3
Definition neorv32_cpu_csr.h:76
@ CSR_MHPMEVENT13
Definition neorv32_cpu_csr.h:55
@ CSR_MHPMCOUNTER7
Definition neorv32_cpu_csr.h:114
@ CSR_PMPADDR14
Definition neorv32_cpu_csr.h:87
@ CSR_MHPMEVENT14
Definition neorv32_cpu_csr.h:56
@ CSR_MINSTRET
Definition neorv32_cpu_csr.h:109
@ CSR_INSTRETH
Definition neorv32_cpu_csr.h:145
@ CSR_MHPMCOUNTER4
Definition neorv32_cpu_csr.h:111
@ CSR_MHPMCOUNTER13
Definition neorv32_cpu_csr.h:120
@ CSR_MENVCFG
Definition neorv32_cpu_csr.h:41
@ CSR_MHPMCOUNTER8H
Definition neorv32_cpu_csr.h:131
@ CSR_PMPADDR2
Definition neorv32_cpu_csr.h:75
@ CSR_CYCLEH
Definition neorv32_cpu_csr.h:144
@ CSR_MTVEC
Definition neorv32_cpu_csr.h:35
@ CSR_TSELECT
Definition neorv32_cpu_csr.h:91
@ CSR_CYCLE
Definition neorv32_cpu_csr.h:141
@ CSR_MHPMEVENT4
Definition neorv32_cpu_csr.h:46
@ CSR_MHPMCOUNTER7H
Definition neorv32_cpu_csr.h:130
@ CSR_MSTATUSH
Definition neorv32_cpu_csr.h:37
@ CSR_MHPMCOUNTER14H
Definition neorv32_cpu_csr.h:137
@ CSR_MIE
Definition neorv32_cpu_csr.h:34
@ CSR_PMPADDR4
Definition neorv32_cpu_csr.h:77
@ CSR_TDATA2
Definition neorv32_cpu_csr.h:93
@ CSR_MSTATUS
Definition neorv32_cpu_csr.h:32
@ CSR_MHPMEVENT8
Definition neorv32_cpu_csr.h:50
@ CSR_MHPMEVENT12
Definition neorv32_cpu_csr.h:54
@ CSR_MARCHID
Definition neorv32_cpu_csr.h:149
@ CSR_PMPADDR10
Definition neorv32_cpu_csr.h:83
@ CSR_PMPADDR5
Definition neorv32_cpu_csr.h:78
@ CSR_MHPMCOUNTER14
Definition neorv32_cpu_csr.h:121
@ CSR_MIP
Definition neorv32_cpu_csr.h:64
@ CSR_MISA
Definition neorv32_cpu_csr.h:33
@ CSR_MHPMCOUNTER3
Definition neorv32_cpu_csr.h:110
@ CSR_CFUREG0
Definition neorv32_cpu_csr.h:102
@ CSR_MSCRATCH
Definition neorv32_cpu_csr.h:60
@ CSR_PMPADDR7
Definition neorv32_cpu_csr.h:80
@ CSR_PMPADDR8
Definition neorv32_cpu_csr.h:81
@ CSR_CFUREG3
Definition neorv32_cpu_csr.h:105
@ CSR_MHPMCOUNTER5
Definition neorv32_cpu_csr.h:112
@ CSR_PMPCFG0
Definition neorv32_cpu_csr.h:68
@ CSR_DPC
Definition neorv32_cpu_csr.h:98
@ CSR_PMPADDR6
Definition neorv32_cpu_csr.h:79
@ CSR_MVENDORID
Definition neorv32_cpu_csr.h:148
@ CSR_MHPMCOUNTER15H
Definition neorv32_cpu_csr.h:138
@ CSR_MHPMCOUNTER6
Definition neorv32_cpu_csr.h:113
@ CSR_MHPMEVENT9
Definition neorv32_cpu_csr.h:51
@ CSR_TINFO
Definition neorv32_cpu_csr.h:94
@ CSR_MINSTRETH
Definition neorv32_cpu_csr.h:125
NEORV32_EXCEPTION_CODES_enum
Definition neorv32_cpu_csr.h:388
@ TRAP_CODE_I_MISALIGNED
Definition neorv32_cpu_csr.h:389
@ TRAP_CODE_FIRQ_0
Definition neorv32_cpu_csr.h:402
@ TRAP_CODE_FIRQ_12
Definition neorv32_cpu_csr.h:414
@ TRAP_CODE_MTI
Definition neorv32_cpu_csr.h:400
@ TRAP_CODE_S_MISALIGNED
Definition neorv32_cpu_csr.h:395
@ TRAP_CODE_MEI
Definition neorv32_cpu_csr.h:401
@ TRAP_CODE_MENV_CALL
Definition neorv32_cpu_csr.h:398
@ TRAP_CODE_L_ACCESS
Definition neorv32_cpu_csr.h:394
@ TRAP_CODE_BREAKPOINT
Definition neorv32_cpu_csr.h:392
@ TRAP_CODE_FIRQ_9
Definition neorv32_cpu_csr.h:411
@ TRAP_CODE_FIRQ_3
Definition neorv32_cpu_csr.h:405
@ TRAP_CODE_FIRQ_10
Definition neorv32_cpu_csr.h:412
@ TRAP_CODE_FIRQ_5
Definition neorv32_cpu_csr.h:407
@ TRAP_CODE_L_MISALIGNED
Definition neorv32_cpu_csr.h:393
@ TRAP_CODE_I_ACCESS
Definition neorv32_cpu_csr.h:390
@ TRAP_CODE_S_ACCESS
Definition neorv32_cpu_csr.h:396
@ TRAP_CODE_FIRQ_13
Definition neorv32_cpu_csr.h:415
@ TRAP_CODE_FIRQ_6
Definition neorv32_cpu_csr.h:408
@ TRAP_CODE_FIRQ_14
Definition neorv32_cpu_csr.h:416
@ TRAP_CODE_FIRQ_11
Definition neorv32_cpu_csr.h:413
@ TRAP_CODE_UENV_CALL
Definition neorv32_cpu_csr.h:397
@ TRAP_CODE_FIRQ_15
Definition neorv32_cpu_csr.h:417
@ TRAP_CODE_FIRQ_4
Definition neorv32_cpu_csr.h:406
@ TRAP_CODE_FIRQ_8
Definition neorv32_cpu_csr.h:410
@ TRAP_CODE_FIRQ_2
Definition neorv32_cpu_csr.h:404
@ TRAP_CODE_FIRQ_1
Definition neorv32_cpu_csr.h:403
@ TRAP_CODE_MSI
Definition neorv32_cpu_csr.h:399
@ TRAP_CODE_FIRQ_7
Definition neorv32_cpu_csr.h:409
@ TRAP_CODE_I_ILLEGAL
Definition neorv32_cpu_csr.h:391
NEORV32_CSR_XISA_enum
Definition neorv32_cpu_csr.h:305
@ CSR_MXISA_ZKNE
Definition neorv32_cpu_csr.h:321
@ CSR_MXISA_ZKS
Definition neorv32_cpu_csr.h:328
@ CSR_MXISA_ZKT
Definition neorv32_cpu_csr.h:311
@ CSR_MXISA_ZBKX
Definition neorv32_cpu_csr.h:319
@ CSR_MXISA_CLKGATE
Definition neorv32_cpu_csr.h:334
@ CSR_MXISA_ZICNTR
Definition neorv32_cpu_csr.h:314
@ CSR_MXISA_ZKSED
Definition neorv32_cpu_csr.h:327
@ CSR_MXISA_ZBS
Definition neorv32_cpu_csr.h:331
@ CSR_MXISA_FASTMUL
Definition neorv32_cpu_csr.h:336
@ CSR_MXISA_ZKND
Definition neorv32_cpu_csr.h:320
@ CSR_MXISA_ZFINX
Definition neorv32_cpu_csr.h:312
@ CSR_MXISA_SDTRIG
Definition neorv32_cpu_csr.h:318
@ CSR_MXISA_ZKSH
Definition neorv32_cpu_csr.h:326
@ CSR_MXISA_ZKNH
Definition neorv32_cpu_csr.h:322
@ CSR_MXISA_RFHWRST
Definition neorv32_cpu_csr.h:335
@ CSR_MXISA_SMPMP
Definition neorv32_cpu_csr.h:315
@ CSR_MXISA_ZIFENCEI
Definition neorv32_cpu_csr.h:308
@ CSR_MXISA_ZMMUL
Definition neorv32_cpu_csr.h:309
@ CSR_MXISA_ZBB
Definition neorv32_cpu_csr.h:330
@ CSR_MXISA_IS_SIM
Definition neorv32_cpu_csr.h:339
@ CSR_MXISA_ZICOND
Definition neorv32_cpu_csr.h:313
@ CSR_MXISA_SDEXT
Definition neorv32_cpu_csr.h:317
@ CSR_MXISA_ZIHPM
Definition neorv32_cpu_csr.h:316
@ CSR_MXISA_ZBKC
Definition neorv32_cpu_csr.h:324
@ CSR_MXISA_ZICSR
Definition neorv32_cpu_csr.h:307
@ CSR_MXISA_FASTSHIFT
Definition neorv32_cpu_csr.h:337
@ CSR_MXISA_ZKN
Definition neorv32_cpu_csr.h:325
@ CSR_MXISA_ZBKB
Definition neorv32_cpu_csr.h:323
@ CSR_MXISA_ZALRSC
Definition neorv32_cpu_csr.h:332
@ CSR_MXISA_ZBA
Definition neorv32_cpu_csr.h:329
@ CSR_MXISA_ZXCFU
Definition neorv32_cpu_csr.h:310
NEORV32_CSR_FFLAGS_enum
Definition neorv32_cpu_csr.h:160
@ CSR_FFLAGS_DZ
Definition neorv32_cpu_csr.h:164
@ CSR_FFLAGS_NV
Definition neorv32_cpu_csr.h:165
@ CSR_FFLAGS_OF
Definition neorv32_cpu_csr.h:163
@ CSR_FFLAGS_NX
Definition neorv32_cpu_csr.h:161
@ CSR_FFLAGS_UF
Definition neorv32_cpu_csr.h:162
NEORV32_CSR_MISA_enum
Definition neorv32_cpu_csr.h:289
@ CSR_MISA_E
Definition neorv32_cpu_csr.h:292
@ CSR_MISA_X
Definition neorv32_cpu_csr.h:296
@ CSR_MISA_M
Definition neorv32_cpu_csr.h:294
@ CSR_MISA_I
Definition neorv32_cpu_csr.h:293
@ CSR_MISA_C
Definition neorv32_cpu_csr.h:291
@ CSR_MISA_MXL_LO
Definition neorv32_cpu_csr.h:297
@ CSR_MISA_U
Definition neorv32_cpu_csr.h:295
@ CSR_MISA_B
Definition neorv32_cpu_csr.h:290
@ CSR_MISA_MXL_HI
Definition neorv32_cpu_csr.h:298