script-params
sdl-console
Simics Reference Manual
/
5 Classes
/
sd_card
Description
The
sd_card
implements SD(v 3.00)/SDIO(v 3.00) memory 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.cia
sd_card.cia
bank.regs
sd_card.regs
– Set of common information registers
Commands for this class
info
– print information about the object
status
– print status of the object
Attributes
flash_image
Optional
attribute;
read/write
access; type:
o|[os]|n
Image that will hold the memory contents
Required interfaces:
image
.
mem_type
Optional
attribute;
read/write
access; type:
[i*]
Memory type based on its size: 0 - SC, 1 - HC, 2 - XC
sd_type
Optional
attribute;
read/write
access; type:
i
Memory card type: 0 - SD, 1 - SDIO
Provided By
generic-sdmmc-card
sd_card.cia
Interfaces Implemented
conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, int_register, io_memory, 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
bp-break-bank
– set device access break
bp-run-until-bank
– run until specified device access occurs
bp-trace-bank
– enable tracing of device accesses
bp-wait-for-bank
– wait for specified device access
Commands for interface instrumentation_order
instrumentation-move
– reorder instrumentation connections
instrumentation-order
– list instrumentation order for object
sd_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
bp-break-bank
– set device access break
bp-run-until-bank
– run until specified device access occurs
bp-trace-bank
– enable tracing of device accesses
bp-wait-for-bank
– wait for specified device access
Commands for interface instrumentation_order
instrumentation-move
– reorder instrumentation connections
instrumentation-order
– list instrumentation order for object
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.
OCR
Optional
attribute;
read/write
access; type:
i
OCR: Operation condition 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.
SCR
Optional
attribute;
read/write
access; type:
i
SCR: SD CARD Configuration (SCR) register. Isn't mapped onto io_memory space area.
SSR
Optional
attribute;
read/write
access; type:
[i{64}]
SSR: SD status register. Isn't mapped onto io_memory space area.
script-params
sdl-console