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
7.2.1.2.2. Example of SSH Connection via NAPT
When you configure the connection to real network via the connect-real-network-napt command, it configures the service node to work as a gateway routing the outgoing traffic to the host PC (making available the host PC IP in the simulation environment). This can be used as an alternative to the create outgoing forwarding ports. In this case, you can directly use the IP from the host PC in the commands issued from the target system.
The following capture shows an example in which a SSH session is established. In this example, it is assumed that the NAPT configuration has been already performed. The host IP is 10.122.105.138.
#Intel Simics simulator CLI # Confirm that NAPT has been set up simics> list-port-forwarding-setup NAPT enabled with gateway 10.10.0.1/24 on link ethernet_switch0.link. NAPT enabled with gateway fe80::2220:20ff:fe20:2000/64 on link ethernet_switch0.link.
# Target Serial Console root@psgdevice:~# ssh simicsUser@10.122.105.138 The authenticity of host '10.122.105.138 (10.122.105.138)' can't be established. ED25519 key fingerprint is SHA256:XQzql2Lz5mbrPPsMX9Xc8a8Q4E3hmx3RrE7neHoO3Oc. This key is not known by any other names Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '10.122.105.138' (ED25519) to the list of known hosts. simicsUser@10.122.105.138's password: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.15.0-52-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage 106 updates can be applied immediately. To see these additional updates run: apt list --upgradable Last login: Mon Feb 13 10:33:13 2023 from 10.122.105.138 simicsUser@simicsUser-linux-lab:~$