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
8.1.5. Integer Conversion
In some cases, it is useful to interpret an integer as a signed value of a specific bit size. For example, when reading four bytes from memory that must be interpreted as a signed 32-bit integer. The signed, signed8, ..., signed64 commands can be used to perform the conversion.
Other useful and related commands are atoi, bits, int-to-*-float, bin, dec, hex, and oct.
The following capture shows an example on how to convert an unsigned value into a signed value using the signed32 command:
#Intel Simics simulator CLI simics> set 0xffe0000 0xffffffff simics> get 0xffe0000 4294967295 (LE) simics> signed32(get 0xffe0000) -1