
5.3.1 Machine Status Register (mstatus)..................................................................17
5.3.2 Machine nterrupt Enable Register (mie)............................................................17
5.3.3 Machine nterrupt Pending (mip).......................................................................18
5.3.4 Machine Cause Register (mcause)....................................................................18
5.3.5 Machine Trap Vector (mtvec)............................................................................20
5.4 nterrupt Priorities ..................................................................................................... 21
5.5 nterrupt Latency....................................................................................................... 21
6 Core Local Interruptor (CLINT).....................................................................22
6.1 CL NT Memory Map.................................................................................................. 22
6.2 MS P Registers......................................................................................................... 22
6.3 Timer Registers ........................................................................................................ 23
7 Platform-Level Interrupt Controller (PLIC) .............................................24
7.1 Memory Map ............................................................................................................ 24
7.2 nterrupt Sources ...................................................................................................... 25
7.3 nterrupt Priorities ..................................................................................................... 26
7.4 nterrupt Pending Bits................................................................................................26
7.5 nterrupt Enables ...................................................................................................... 27
7.6 Priority Thresholds .................................................................................................... 28
7.7 nterrupt Claim Process .............................................................................................28
7.8 nterrupt Completion.................................................................................................. 28
8 Debug......................................................................................................................... 30
8.1 Debug CSRs ............................................................................................................ 30
8.1.1 Trace and Debug Register Select (tselect)......................................................30
8.1.2 Trace and Debug Data Registers (tdata1-3)....................................................31
8.1.3 Debug Control and Status Register (dcsr).........................................................32
8.1.4 Debug PC dpc.................................................................................................32
8.1.5 Debug Scratch dscratch ................................................................................32
8.2 Breakpoints .............................................................................................................. 32
8.2.1 Breakpoint Match Control Register mcontrol ....................................................32
8.2.2 Breakpoint Match Address Register (maddress)................................................34
2