
GR716-DS-UM, May 2019, Version 1.29
132
www.cobham.com/gaisler
GR716
16.6.3 ASR20, Alternative window register
This register allows access to the alternative window pointer.
Table 123.
LEON3 alternative window register (%asr20)
31
26
25
21
20
16
RESERVED
STWIN
CWPMAX
0
0
30
r
rw
rw
15
5
4
0
RESERVED
WCWP
AWP
0
-
*
r
w
rw
31:26
Reserved for future implementations
25:21
Starting window (STWIN) - Starting window of partition.
20:16
Maximum value of current window pointer (CWPMAX) - Partition size minus 1. Reset value is
number of windows minus 1, which with STWIN=0 maps whole register file into partition. If this
field is written with value 0, STWIN and CWPMAX fields are unmodified.
15:5
Reserved for future implementations
5
Write CWP - If written with 1, then the CWP field in PSR will simultaneously be written with the
value written to AWP.
4:0
Alternative Window Pointer (AWP). Continuously updated with the value of CWP when the alterna-
tive window feature is disabled.