Intel® Simics® Simulator for Intel® FPGAs: Intel Agilex® 5 E-Series Virtual Platform User Guide

ID 786901
Date 12/04/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

2.1.3.6. USB Disks Hot-Plug Support

The virtual platform instantiates three USB disks that support hot-plugging by using Intel® Simics® CLI commands to emulate plugging and unplugging the USB disks.

In the virtual platform, by default, only usb3_disk and usbotg_disk disks are connected. In the virtual platform, there is a single port for usb3_disks (usb1_typec) to match the real Intel Agilex® 5 development kit, and because of this, you can connect only one of these two disks at a time. To connect usb3_hs_disk disk, unplug the usb3_disk disk first to release the usb1_typec port.

The current connection of the USB disks in this virtual platform is indicated in the following table:
Disk Type Slot USB Controller
usb3_disk SuperSpeed (SS) usb1_typec USB 3.1 Gen 1
usb3_hs_disk High Speed (HS) usb1_typec USB 3.1 Gen 1
usbotg_disk High Speed (HS) usb0_otg USB 2.0 OTG
The following CLI commands emulate plugging and unplugging the USB disks:
Plugging
  • system.board.usb3_disk.plug port = usb1_typec
  • system.board.usb3_hs_disk.plug port = usb1_typec
  • system.board.usbotg_disk.plug port = usb0_otg
Unplugging
  • system.board.usb3_disk.unplug
  • system.board.usb3_hs_disk.unplug
  • system.board.usbotg_disk.unplug