ZSIM Commands
8-27
For zsim400 simulator
zsim{1}>
show dcache
R13 - D$[ 0]: ------ I ------ ------ ------ ------
R13 - D$[ 1]: ------ I ------ ------ ------ ------
R13 - D$[ 2]: ------ I ------ ------ ------ ------
R14 - D$[ 3]: ------ I ------ ------ ------ ------
R14 - D$[ 4]: ------ I ------ ------ ------ ------
R14 - D$[ 5]: ------ I ------ ------ ------ ------
R15 - D$[ 6]: ------ I ------ ------ ------ ------
R15 - D$[ 7]: ------ I ------ ------ ------ ------
R15 - D$[ 8]: ------ I ------ ------ ------ ------
UL - D$[ 9]: ------ I ------ ------ ------ ------
UL - D$[10]: ------ I ------ ------ ------ ------
UL - D$[11]: ------ I ------ ------ ------ ------
UL - D$[12]: ------ I ------ ------ ------ ------
UL - D$[13]: ------ I ------ ------ ------ ------
UL - D$[14]: ------ I ------ ------ ------ ------
UL - D$[15]: ------ I ------ ------ ------ ------
UL - D$[16]: ------ I ------ ------ ------ ------
The first 9 lines are dedicated for linked load of r13, 14,
and 15 register respectively. The next 8 lines are used for
any unlinked load. The first “------” column is showing the
address of the line. The next column indicates the line
invalid ‘I’ or valid. The next 4 columns are showing the
data contains in that line.
For zsimg2
> zsim{1}> show dcache
D$[ 0]
0x000001
------ ------ lru[0]
D$[ 1]
0x000001
------ ------
D$[ 2]
0x000001
------ ------
D$[ 3]
0x000001
------ ------
D$[ 4]
0x000001
------ ------
D$[ 5]
0x000001
------ ------
D$[ 6]
0x000001
------ ------
D$[ 7]
0x000001
------ ------
D$[ 8]
0x000001
------ ------
------ ------ ------ ------ ------ ------
------ ------ ------ ------ ------ ------
------ ------ ------ ------ ------ ------
------ ------ ------ ------ ------ ------
------ ------ ------ ------ ------ ------
------ ------ ------ ------ ------ ------
------ ------ ------ ------ ------ ------
------ ------ ------ ------ ------ ------
------ ------ ------ ------ ------ ------