5 Running the Simulator 7 Documentation and Help
Getting Started  / 

6 Hardware Inspection

This section contains some examples of how to inspect processors and devices, when running the qsp-x86/firststeps target machine.

When retrieving a register value for inspection or use in further code, it is better to use one of the commands designed for that purpose:

The command names have the following meanings:

simics> get-device-reg board.mb.nb.bridge.bank.pcie_config.device_id
0x3400
simics> get-device-offset board.mb.nb.bridge.bank.pcie_config offset = 2 size = 2
0x3400

To sum up, we have shown a few simple ways in which the hardware can be inspected. One important point is that the inspection is non-intrusive, any software running on the target machine cannot notice anything of our inspection.

5 Running the Simulator 7 Documentation and Help