AMD SimNow Simulator
Trademarks
Contents
2.5
22.1.1
Cpuid
223
Viii
Figures
7Graphics-Device VGA Sub Device Properties Dialog
Tables
Xii
Overview
Overview
Installation
Installation Procedure
System Requirements
Directory Structure and Executable
Setting up Linux for the Simulator
Configuration File
Updates and Questions
Tool Bar Buttons
Graphical User Interface
Graphical User Interface
Device Window
Device Window
Workspace Popup Menu
Add a New Device
Workspace Popup Menu
Add Connection
Disconnect Device
Configure Device
Delete Device
Example Computer Description
Symbol Device Short Description
Task Where to Find the Properties
Device Groups
Device Window Quick Reference
Terms
Concept Diagrams
Device Group 2 group devices 1 library device
Working with Device Groups
Device Tree
Shell Automation Commands for Device Groups
Enabled vs. Disabled vs. Mixed
Example 1GB DDR2 memory
Device Group Examples
12 Created Dimm Device Group
Example Quad-Core Node
ID file amd-xxxx.id Graphical User Interface
Example SuperIO device
Creating a Device Group GUI
Figure ?
Child Device Name External Port Names Internal
Creating a Device Group Automation Commands
We can modify an existing created device group‟s options
SimStats and Diagnostic Ports
Main Window
Ungrouping a created device group
CPU-Statistics Graphs
Translation Graph
Real Mips Graph
Invalidation Rate Graph
Exception Rate Graph
PIO Rate Graph
Simulated Video
Hard Disk and Floppy Display
Mmio Rate Graph
Using Hard Drive, DVD-/CD-ROM and Floppy Images
Registry Window
Image Type File Extension
24 Registry Window
Help, Problems and Bug Reports
Creating a Blank Hard-Drive Image
Disk Images
2shows the DiskTool shell window
New Image Size
DiskTool Operation Successful
Command-Line Arguments
Running the Simulator
Argument Description
Open a Simulation Definition File
Main Window BSD Loaded
Assigning Disk-Images
Installing an Operating System
AMD Confidential
Run The Simulation
Installing WindowsXP
Simulation Reset
Multi-Machine Support
Interaction with the Simulated Machine
Following command creates a new simulation machine
This example exits the simulated machine „1‟
This page is intentionally blank
Device Placement
Create a Simulated Computer
BSD Files
Create a Simulated Computer
Solo.bsd Device Configuration
Save and Run
PCI Bus Configuration dialog window
Symbol Device Public Release Full Release
Device Configuration
AMD Confidential
AweSim Processor Device
Initialization and Reset State
Contents of a BSD
Configuration Options
AweSim Processor-Type Properties
Difference from Real Hardware
Log Messages
Select View→Show Devices
Debugger Device
Dimm Device
AMD Opteron Processor Virtual Bank-Select Line Configuration
Initialization/Reset State
DIMM-Bank Options Properties Dialog
Dimm Module Properties Dialog
This device does not produce log messages
Emerald Graphics Device
VGA Sub Device Configuration
Frame Buffer Sub Device Configuration
3shows the supported custom Vesa mode numbers
Supported Vesa Bios Graphics Modes
Improve Graphics Performance
Ramdac
Matrox MGA-G400 PCI/AGP
Interfaces
10 Matrox G400 Information Property Dialog
11 Matrox G400 Configuration Properties
Supported 2D Features
Supported Graphics Modes
Supported DirectX 6.1 Features
Memory Interface
Supported Guest Operating Systems
Guest Operating System Device Driver Version Known Issues
Enabling Hardware Cursor Support
12 Enable Full Hardware Acceleration on WindowsXP guest
Super IO Devices Winbond W83627HF SIO / ITE 8712 SIO
∙ Floppy ∙ COM1 and COM2 ∙ LPT1 ∙ IR
Floppy Configuration Options
Memory Device
14 Memory Configuration Properties Dialog
Difference from Real Hardware
Interface
PCA9548 SMB Device
PCA9556 SMB Device
16 PCA9556 SMB Configuration Properties Dialog
AMD 8th Generation Integrated Northbridge Device
17and -18show configuration options for the Northbridge
17 Northbridge Logging Capabilities Properties Dialog
19 Northbridge DDR2 Training Properties Dialog
Differences from Real Hardware
AMD-8111 Southbridge Devices IO Hubs
Common Configuration Options
20 USB Properties Dialog AMD-8111 Southbridge
21 Cmos Properties Dialog AMD-8111 Southbridge
Device Options
23 Device Options Properties Dialog AMD-8111 chipset
24 Logging Options Properties Dialog AMD-8111 chipset
PCI BUS Device
25shows the PCI-Bus configuration options
25 PCI Bus Properties Dialog
AMD-8131 PCI-XController
26 AMD-8131 Device Hot Plug Configuration
AMD-8132 PCI-XController
27 AMD-8132 Device Hot Plug Configuration
100
101
PCI-X Test Device
29 AMD-8151 Device Properties Dialog
AMD-8151 AGP Bridge Device
103
Raid Device Compaq SmartArray
105
SMB Hub Device
106
107
19 AT24C Device
Exdi Server Device
109
USB Keyboard and USB Mouse Devices
XTR Device
XTR Playback
Using XTR
Recoding XTR Trace
Stop XTR Record
Init from Automation Script
Reset
Stop XTR Playback
Init from BSD
113
XML Structure
XTR Structure
115
Defines an IOR or IOW dormant event
ModeFlags
XTR Binary File Contents
Limitations
Example XTR XML File
117
118
119
120
Data Length=2 Value=40af / /Event
121
122
123
JumpDrive Device
32 Communication via Mediator
24 E1000 Network Adapter Device
125
Simulated Link Negotiation
Mediator Daemon
Switch Description
127
Example Configurations
MAC Addresses for use with the Adapter
Absolute NIC
Isolated Client-Server simulated network Same process
Client-Server simulated network
129
Visibility Diagram
Plug and Play Monitor Device
131
35 Plug and Play Monitor Device Configuration
ATI SB400/SB600/SB700 Southbridge Devices
133
36 ATI SB600 Sata Configuration Dialog
ATI RS480/RS780/RD790/RD890 Northbridge Devices
135
AMD Istanbul Device
AMD Sao Paulo Device
137
AMD Magny-Cours Device
138
139
PCI Configuration Viewer
Scanning PCI Buses
Modifying the PCI Configuration contents
Logging
Message Log
141
142
143
Error Log
I/O Logging
Log I/O Space Accesses
145
Log Fastpath Memory Requests when Logging
146
147
Using the CPU Debugger
Setting a Breakpoint
CPU Debugger
148
Command Description
Single Stepping the Simulation
Stepping Over an Instruction
Skipping an Instruction
Viewing a Memory Region
149
Reading CPU MSR Contents
Reading PCI Configuration Registers
Debugger Command Reference
Find Pattern in Memory
151
152
Debugger Command Definition
153
Address
154
Debug Interface
Kernel Debugger
155
GDB Interface
Simple Approach
156
Alternate Approach
Using Another Port on the Same Machine
Using Two Separate Machines
Linux Host Serial Port Communication
158
159
Command API
GetLastError
Exec
160
Syntax
Command-Line Mode
DiskTool
Option
162
GUI Mode
163
DiskTool GUI Window
164
DiskTool Progress Window
165
166
167
Bios Developer’s Quick Start Guide
Loading a Bios Image
Changing Dram Size
168
Changing SPD Data
Logging PCI Configuration Cycles
Clearing Cmos
169
170
Logging CPU Cycles
171
Creating a Floppy-Disk Image
172
173
Frequently Asked Questions FAQ
What devices are supported?
175
Why doesn’t the OS find a connected USB device?
176
Appendix
Format of Floppy and Hard-Drive Images
177
Bill of Material
Computer Platform Files BSD
Device Files *.BSL
Product Files *.ID
Image Files *.HDD, *.FDD, *.ROM, *.SPD, *.BIN
179
Memory SPD Files
181
Supported Guest Operating Systems
Cpuid
Cpuid Standard Feature Support Standard Function
183
Cpuid AMD Feature Support Extended Function
Known Issues
185
Notation
Instruction Reference
187
Opcode Syntax
189
General Purpose Instructions
Imm16 Reg/mem32,imm32
Reg/mem8,imm8
Reg/mem8
Imm8 Reg/mem16,imm16
191
By reg/mem16 Call reg/mem32
Call rel16off
Call rel32off
Call reg/mem16
193
Cmovnge reg64,reg/mem64
Cmovl reg64,reg/mem64
Cmovnge reg16,reg/mem16
Cmovnge reg32,reg/mem32
195
DEC reg/mem64
DEC reg/mem8
DEC reg/mem16
DEC reg/mem32
197
INC reg/mem64
INC reg/mem8
INC reg/mem16
INC reg/mem32
199
JPE rel16off
JP rel16off
JP rel32off
JPE rel8off
201
MOV reg/mem8,reg8
Loop rel8off
Loope rel8off
Loopz rel8off
203
Movsx reg32,reg/mem16
Movsx reg16,reg/mem8
Movsx reg32,reg/mem8
Movsx reg64,reg/mem8
205
POP reg16 +rw
POP reg/mem16
POP reg/mem32
POP reg/mem64
207
RCL reg/mem64,1
RCL reg/mem32,1
RCL reg/mem32,CL
RCL reg/mem32,imm8
209
ROR reg/imm64,1
ROR reg/imm32,1
ROR reg/mem32,CL
ROR reg/mem32,imm8
211
SBB reg/mem64,imm32
SBB reg/mem8,imm8
SBB reg/mem16,imm16
SBB reg/mem32,imm32
213
Shld reg/me326,reg32,CL
Shld reg/mem16,reg16,imm8
Shld reg/mem16,reg16,CL
Shld reg/mem32,reg32,imm8
215
SUB reg/mem64,imm32
SUB reg/mem8,imm8
SUB reg/mem16,imm16
SUB reg/mem32,imm32
217
Xadd reg/mem32,reg32
Test reg/mem64,reg64
Xadd reg/mem8,reg8
Xadd reg/mem16,reg16
219
System Instructions
221
Opcode Instruction Description
Virtualization Instruction Reference
5 64-Bit Media Instruction Reference
223
6 3DNow! Instruction Set
Extension to the 3DNow! Instruction Set
Prescott New Instructions
225
Setup Monitor Address
Monitor Wait
Movddup xmm1,xmm2/m64
227
Automation Commands
Shell
Automation Command Description
229
Automation Command Description
Tool Bar Buttons, on
231
Example, GetLogIO USB Jumpdrive returns
2 IDE
233
3 USB
Debug
Cmos
Acpi
Floppy
235
AMD-8151 AGP Bridge
9 VGA
Serial
„false‟
237
HyperTransport Technology Configuration
AMD-8111 Device
8th Generation Northbridge
239
Journal
240
Command Args Description
Emerald Graphics
241
Matrox MGA-G400 Graphics
PCI Bus
21 SIO
243
Memory Device
Raid
245
Dimm
Maximum range 0
Keyboard and Mouse
JumpDrive
Prefix Action
247
To initialize the JumpDrive, and copy data to it
249
28 XTR
27 E1000
ATI SB400/SB600/SB700
ATI RS480
251
ATI RS780
ATI RD790/RD780/RX780
ATI RD890S/RD890/RD780S/RX880
253
254
255
Index
256
257