SimNow Simulator User's Manual

AMD Confidential
User Manual November 21
st
, 2008
Contents v
7.22.1 Using XTR .............................................................................................. 111
7.22.1.1 Recoding XTR Trace ................................................................... 111
7.22.1.2 Stop XTR Record ......................................................................... 111
7.22.1.3 XTR Playback ............................................................................... 111
7.22.1.4 Stop XTR Playback ...................................................................... 112
7.22.2 XTR Structure ......................................................................................... 114
7.22.2.1 XML Structure ............................................................................... 114
7.22.2.2 XTR Binary File Contents ........................................................... 116
7.22.3 ModeFlags............................................................................................... 116
7.22.4 Limitations .............................................................................................. 117
7.22.5 Example XTR XML File ........................................................................ 117
7.23 JumpDrive Device .......................................................................................... 123
7.24 E1000 Network Adapter Device ..................................................................... 124
7.24.1 Simulated Link Negotiation .................................................................... 125
7.24.2 The Mediator Daemon ............................................................................ 126
7.24.3 MAC Addresses for use with the Adapter .............................................. 127
7.24.4 Example Configurations ......................................................................... 127
7.24.4.1 Absolute NIC ................................................................................. 127
7.24.4.2 Client-Server simulated network ................................................ 128
7.24.4.3 Isolated Client-Server simulated network (Same process) ... 128
7.24.5 Visibility Diagram .................................................................................. 129
7.25 Plug and Play Monitor Device ........................................................................ 130
7.26 ATI SB400/SB600/SB700 Southbridge Devices............................................ 132
7.27 ATI RS480/RS780/RD790/RD890 Northbridge Devices .............................. 134
7.28 AMD “Istanbul” Device ................................................................................. 135
7.29 AMD “Sao Paulo” Device .............................................................................. 136
7.30 AMD “Magny-Cours” Device ........................................................................ 137
8 PCI Configuration Viewer ...................................................................................... 139
8.1 Scanning PCI Buses ........................................................................................ 140
8.2 Modifying the PCI Configuration contents..................................................... 140
9 Logging ................................................................................................................... 141
9.1 Message Log ................................................................................................... 141
9.2 Error Log ......................................................................................................... 143
9.3 I/O Logging ..................................................................................................... 144
10 CPU Debugger .................................................................................................... 147
10.1 Using the CPU Debugger................................................................................ 147
10.1.1 Setting a Breakpoint ................................................................................ 147
10.1.2 Single Stepping the Simulation ............................................................... 148
10.1.3 Stepping Over an Instruction .................................................................. 148
10.1.4 Skipping an Instruction ........................................................................... 149
10.1.5 Viewing a Memory Region ..................................................................... 149
10.1.6 Reading PCI Configuration Registers ..................................................... 150
10.1.7 Reading CPU MSR Contents .................................................................. 150
10.1.8 Find Pattern in Memory .......................................................................... 151
10.2 Debugger Command Reference ...................................................................... 151
11 Debug Interface ................................................................................................... 155