This device models a Simics DMA device in Python.
conf_object, log_object
- 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.
- bank.regs
-
sample_dma_device_python.regs
– An example of a register bank.
-
info
– print information about the object
-
status
– print status of the object
-
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.
sample-dma-device-python
An example of a register bank.
conf_object, log_object, io_memory
- 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.