create-simics-nvme-comp ["name"] ["SN"] [auto_attach_namespaces] [bandwidth] disk_size [dynamic_size] [pcie_gen_speed] [pcie_link_width] [rpmb_data_area_size]
This command creates a non-instantiated component of the class simics_nvme_comp.
The class description for the simics_nvme_comp class: A generic NVMe device over PCIe with support for multiple namespaces. Namespaces can be added with the add_namespace command.
- name is Optional
- If not specified, the component will get a class-specific default name.
- SN is Optional
- The serial number of the NVMe device. Default value is "SIMICS_NVME". With multiple NVMe devices in one system, it is recommended to set a unique serial number for each device.
- auto_attach_namespaces is Optional
- If set to True, namespaces added with the add-namespace command will automatically attached to the I/O controller upon instantiation.
- bandwidth is Optional
- The read/write speed of the NVMe disk, provided in MB/s. 0 means instant read/write:s, which is the default value
- disk_size is Required
- The size of the underlying storage for the NVMe drive. The combined size of the namespaces added with the add_namespace command must not exceed this value.
- dynamic_size is Optional
- If set to True, adding a namespace will increase the disk size if needed. This only works before instantiation.
- pcie_gen_speed is Optional
- Based on the value of this parameter, the NVMe PCIe I/O controller will be configured to advertise its maximum supported link and speed. It will advertise the highest supported link speed for the given PCIe generation . Note that this does not set the PCIe version of the NVMe device, as the version of this device is fixed at 6. The value of this parameter must be between 1 and 6. Default value is 5.
- pcie_link_width is Optional
- The maximum link width that the NVMe PCIe I/O controller will advertise. Valid values are 1, 2, 4, 8, or 16. Default value is 8.
- rpmb_data_area_size is Optional
- The size of the RPMB data area in 128 KiB blocks. Default value is 1. Must be a value between 1 (128 KiB) and 255 (32 MiB).
simics-nvme-comp