Previous - Up - Next

8.2   Inspecting State

A command called print-instruction-queue is provided to print out the current execution tree, displaying input and output register values according to the phase of execution of the instructions in flight. Continue using the started Simics session from section 8.1 and run for a while, then inspect the instruction tree by issuing the following commands:

simics> run-cycles 2000
simics> print-instruction-queue

This will print all the inserted instructions in the tree. Branches will be indented if they exists. Using the -v flag to print-instruction-queue will tell the command to print the values of input and output registers and the contents of the LSQ as well.

print-instruction-queue can also be invoked for a special processor, e.g.

simics> cpu0.print-instruction-queue

Previous - Up - Next