mii-transceiver mnemonic_histogram_connection
Simics Reference Manual  /  5 Classes  / 

mmc_card

Description

The mmc_card implements JESD84-B50.1-compliant eMMC card.

Interfaces Implemented

conf_object, log_object, mmc

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Port Objects

bank.regs
mmc_card.regs – Set of common information registers

Commands for this class

Attributes

bkops_status
Optional attribute; read/write access; type: i
This field indicates the level of background operations urgency: 0x0: No operations required, 0x1: Operations outstanding – non critical, 0x2: Operations outstanding – performance being impacted, 0x3: Operations outstanding – critical
boot_part_preconf
Optional attribute; read/write access; type: i
Pre-configured bootable partition ('disable', 'user', 'boot0', 'boot1'). Indicate which partition is enabled for booting by host.
cmdq_delayed_ready
Optional attribute; read/write access; type: b
Marking task "Ready for execution" after some random delay
cmdq_enable
Optional attribute; read/write access; type: b
The card maintains a queue of up to 32 data transfers. Commands CMD44/CMD45 are sent to queue up transfers in advance, and then one of the transfers is selected to execute by CMD46/CMD47 at which point data transfer begins.This attribute sets EXT_CSD_CMDQ_SUPPORT bit and defines eMMC v5.1 revision in EXT_CSD_REV fields
flash_image
Optional attribute; read/write access; type: o|[os]|n
Image that will hold the memory contents

Required interfaces: image.

gp_part_preconf
Optional attribute; read/write access; type: i
True means that the gp partitions and/or enhanced user data area have been pre-configured by the host
mem_enhanced_area_offset
Optional attribute; read/write access; type: [i*]
Starting address of the enhanced user data area
mem_enhanced_area_size
Optional attribute; read/write access; type: [i*]
Enhanced user data area size
mem_part_access
Optional attribute; read/write access; type: [i*]
Mask of available partitions according to EXT_CSD_PART_CONFIG_ACC order
partition_map
Optional attribute; read/write access; type: [o|[os]|n{0:7}]
An array of 7 objects or ports implementing the image interface used to store the data of the physical partitions, or NIL for unimplemented partitions.

Required interfaces: image.

rpmb_auth_enable
Optional attribute; read/write access; type: b
This function provides means for the system to store data to the specific memory area in an authenticated and replay protected manner
rpmb_auth_key
Optional attribute; read/write access; type: d|n
One time programmable authentication key register. This register cannot be overwritten, erased or read. The key is used by the eMMC RPMB engine to authenticate the accesses when MAC is calculated.
rpmb_mac_data
Optional attribute; read/write access; type: d|n
Accumulation buffer to calculate MAC data
rpmb_response
Optional attribute; read/write access; type: d|n
RPMB response data frame
rpmb_state
Optional attribute; read/write access; type: i
RPMB internal state
rpmb_write_counter
Optional attribute; read/write access; type: i
Counter value for the total amount of successful authenticated data write requests made by the host. Initial value after eMMC production is 0x0000 0000. Value will be incremented by one automatically by the eMMC RPMB engine along with successful programming accesses. The value cannot be reset. After the counter has reached its maximum value 0xFFFF FFFF it will not be incremented anymore (overflow prevention) and the bit [7] in Operation Result value will be permanently set.

Provided By

generic-sdmmc-card

mmc_card.regs

Description

Set of common information registers

Interfaces Implemented

conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, int_register, register_view

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Commands for interface bank_instrumentation_subscribe

Commands for interface instrumentation_order

Attributes

CID
Optional attribute; read/write access; type: [i{16}]
CID: Card identification register. Isn't mapped onto io_memory space area.
CSD
Optional attribute; read/write access; type: [i{16}]
CSD: Device-Specific Data register. Isn't mapped onto io_memory space area.
CSR
Optional attribute; read/write access; type: i
CSR: Card status (R1 response fields). Isn't mapped onto io_memory space area.
DSR
Optional attribute; read/write access; type: i
DSR: Driver stage register. Isn't mapped onto io_memory space area.
ExtCSD
Optional attribute; read/write access; type: [i{512}]
ExtCSD: Extended CSD register. Isn't mapped onto io_memory space area.
OCR
Optional attribute; read/write access; type: i
OCR: Operation condition register. Isn't mapped onto io_memory space area.
QSR
Optional attribute; read/write access; type: i
QSR: Queue Status Register. Isn't mapped onto io_memory space area.
RCA
Optional attribute; read/write access; type: i
RCA: Relative device address. Isn't mapped onto io_memory space area.
mii-transceiver mnemonic_histogram_connection