1. About This Document
2. Intel® Simics® Simulator and Virtual Platforms
3. Intel® Simics® Simulator for Intel® FPGAs Device Portfolio
4. Installing the Intel® Simics® Simulator for Intel® FPGAs
5. Getting Started with Intel® Simics® Simulator
6. Debugging Target Software
7. Networking with the Simulated Target System
8. Intel® Simics® Scripting
9. Software Debug Examples with Intel® Simics® Simulator
10. Document Revision History for Intel® Simics® Simulator for Intel FPGAs User Guide
A. Intel® Simics® Simulator Command Reference
5.3.1. Version of the Intel® Simics® Simulator for Intel FPGAs Software
5.3.2. Simulation Run Control from CLI
5.3.3. Intel® Simics® Simulator Command Scope
5.3.4. Intel® Simics® Simulator CLI Variables and Operations
5.3.5. Intel® Simics® Simulator CLI Command Completion and Command History
5.3.6. Intel® Simics® Command-Line Interface Help
5.3.7. Capture of CLI Session to a File
5.3.8. Intel® Simics® Simulator File Location and Intel® Simics® Search Path
5.4.4.2. Memory Inspection
The physical memory of the current selected front-ended processor in the target system can be observed using the get command. The syntax of the command is the following:
get address [size] [-l] [-b]
The size argument specifies how many bytes must be read. It defaults to 4, but can be any number of bytes between 1 and 8 (inclusive). The -l or –b flags are used to select little or big endian.
Similarly, physical memory of the current selected front-ended processor can also be written. This is done with the set command. The syntax of the command is the following:
set address value [size] [-l] [-b]
The arguments are the same as for the get command with the addition of the value argument which corresponds to the value you want to write in the memory location.
The following are some examples:
# Intel Simics simulator CLI #Example to write and readback to location 0xffe00000 in physical memory simics> get 0xffe00000 4 0x1400000a (LE) simics> get 0xffe00000 4 -l 0x1400000a (LE) simics> get 0xffe00000 4 -b 0xa000014 (BE) simics> set 0xffe00000 0xdeadbeef simics> get 0xffe00000 4 0xdeadbeef (LE) simics> set 0xffe00000 0x1400000a simics> get 0xffe00000 4 0x1400000a (LE)