sample_dma_device_cpp sample_event_device
Simics Reference Manual  /  5 Classes  / 

sample_dma_device_python

Description

This device models a Simics DMA device in Python.

Interfaces Implemented

conf_object, log_object

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
sample_dma_device_python.regs – An example of a register bank.

Commands for this class

Attributes

intr_target
Optional attribute; read/write access; type: o
The interrupt target
target_mem
Required attribute; read/write access; type: o
The target memory space to do DMA transfer
throttle
Optional attribute; read/write access; type: f
Delay in seconds per 32-bit word of memory copied, default is 1μs.

Provided By

sample-dma-device-python

sample_dma_device_python.regs

Description

An example of a register bank.

Interfaces Implemented

conf_object, log_object, io_memory

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.
sample_dma_device_cpp sample_event_device