19.1
PWM Overview
....................................................................................................... 94
19.2
PWM Instances in FE310-G000
............................................................................... 95
19.3
PWM Memory Map
................................................................................................. 95
19.4
PWM Count Register (
pwmcount
)
............................................................................ 96
19.5
PWM Configuration Register (
pwmcfg
)
.....................................................................97
19.6
Scaled PWM Count Register (
pwms
)
......................................................................... 98
19.7
PWM Compare Registers (
pwmcmp0
–
pwmcmp3
)
........................................................99
19.8
Deglitch and Sticky Circuitry
................................................................................... 100
19.9
Generating Left- or Right-Aligned PWM Waveforms
.................................................101
19.10
Generating Center-Aligned (Phase-Correct) PWM Waveforms
................................101
19.11
Generating Arbitrary PWM Waveforms using Ganging
............................................103
19.12
Generating One-Shot Waveforms
......................................................................... 103
19.13
PWM Interrupts
................................................................................................... 103
20
Debug
.................................................................................................................... 104
20.1
Debug CSRs
........................................................................................................ 104
20.1.1
Trace and Debug Register Select (
tselect
)
..................................................105
20.1.2
Trace and Debug Data Registers (
tdata1-3
)
................................................105
20.1.3
Debug Control and Status Register (
dcsr
)
.....................................................106
20.1.4
Debug PC
dpc
............................................................................................. 106
20.1.5
Debug Scratch
dscratch
............................................................................. 106
20.2
Breakpoints
.......................................................................................................... 106
20.2.1
Breakpoint Match Control Register
mcontrol
................................................107
20.2.2
Breakpoint Match Address Register (
maddress
)
.............................................109
20.2.3
Breakpoint Execution
.................................................................................... 109
20.2.4
Sharing Breakpoints Between Debug and Machine Mode
................................109
20.3
Debug Memory Map
.............................................................................................. 110
20.3.1
Component Signal Registers (
0x100
–
0x1FF
)
.................................................110
20.3.2
Debug RAM (
0x400
–
0x43f
)
........................................................................ 111
20.3.3
Debug ROM (
0x800
–
0xFFF
)
........................................................................ 111
21
Debug Interface
................................................................................................ 112
21.1
JTAG TAPC State Machine
.................................................................................... 112
SiFive FE310-G000 Manual: v3p2
© SiFive, Inc.
Page 6