GD32W51x User Manual
126
4.4.
Register definition
ICACHE secure access base address: 0x5008 0000
ICACHE non-secure access base address: 0x4008 0000
4.4.1.
Control register (ICACHE_CTL)
Address offset: 0x00
Reset value: 0x0000 0004
This register has to be accessed by word (32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
MMRST HMRST
MMEN
HMEN
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
BSTT
AMSEL
INVAL
EN
rw
rw
w
rw
Bits
Fields
Descriptions
31:20
Reserved
Must be kept at reset value
19
MMRST
Miss monitor reset
0: no effect
1: reset cache miss monitor
18
HMRST
Hit monitor reset
0: no effect
1: reset cache hit monitor
17
MMEN
Miss monitor enable
0: sw itch off cache miss monitor, stopping the monitor and does not reset.
1: cache miss monitor enabled
16
HMEN
Hit monitor enable
0: sw itch off cache hit monitor, stopping the monitor and does not reset.
1: cache hit monitor enabled
15:4
Reserved
Must be kept at reset value
3
BSTT
Burst type for fast bus
0: WRAP4
1: INCR4
2
AMSEL
Cache set-associativity mode selection
Configure set-associativity mode w hen cache is disabled, softw are w rite.
0: no effect
1: 2-w ay set associative cache (reset value)
1
INVAL
Cache invalidation, Set by softw are and cleared by hardw are (BUSYF flag is set )
0: no effect