EasyManua.ls Logo

COBHAM GRMON3 - Page 104

COBHAM GRMON3
239 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
GRMON3-UM
June 2019, Version 3.1.0
104 www.cobham.com/gaisler
14. dcache - syntax
NAME
dcache - Show, enable or disable data cache
SYNOPSIS
dcache ?boolean? ?cpu#?
dcache diag ?windex? ?lindex? ?cpu#?
dcache flush ?cpu#?
dcache way windex ?lindex? ?cpu#?
dcache tag windex lindex ?value? ?tbmask? ?cpu#?
DESCRIPTION
In all forms of the dcache command, the optional parameter ?cpu#? specifies which CPU to operate on. The
active CPU will be used if parameter is omitted.
dcache ?boolean? ?cpu#?
If ?boolean? is not given then show the content of all ways. If ?boolean? is present, then enable or
disable the data cache.
dcache diag ?windex? ?lindex? ?cpu#?
Check if the data cache is consistent with the memory. Optionally a specific way or line can be checked.
dcache flush ?cpu#?
Flushes the data cache
dcache way windex ?lindex? ?cpu#?
Show the contents of specified way windex or optionally a specific line ?lindex?.
dcache tag windex lindex ?value? ?tbmask? ?cpu#?
Read or write a raw data cache tag value. Way and line is selected with windex and lindex. The param-
eter value, if given, is written to the tag. The optional parameter tbmask is xor-ed with the test check
bits generated by the cache controller during the write.
RETURN VALUE
Command dcache diag returns a list of all inconsistent entries. Each element of the list contains CPU id, way id,
line id, word id, physical address, cached data and the data from the memory.
Command dcache tag returns the tag value on read.
The other dcache commands have no return value.
SEE ALSO
Section 3.4.15, “CPU cache support”
icache

Table of Contents