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

3.4.7. USB Disk Device

This device corresponds to a model of a generic USB Mass Storage device. There are two classes of USB disk devices supported as board devices (both are USB 3.1 Gen 1 compatible):

  • High-Speed USB disk: It is also compatible with USB 2.0 and must be connected to a USB2 port.

    Component: usb3_disk_hs_comp

  • SuperSpeed USB disk. This disk must be connected to a USB3 port

    Component: usb3_disk_comp

Both USB disks can be configured with a size limited to 64 TB, although the actual disk size is taken from the assigned image. The image to be loaded into the disk must be provided as part of the parameters defined in the virtual platform target script. The Intel® Simics® model of the devices implements a simple SCSI controller and supports control and bulk transfers. The model supports the hot-plug feature. Use the following Intel® Simics® commands to handle USB device operations:

Command Parameter Purpose
load-file

file

Command for assigning an image file to the USB disk.

plug

port

Command for plugging in the USB device to specified port.

  • USB SuperSpeed (USB-SS) device is plugged in the usb3 port by default.
  • USB High Speed (USB-HS) devices are plugged in the usb2 port by default.
unplug

-

Command for unplugging a USB device.