Core real-time drivers

These drivers are for the core device and the peripherals closely integrated into it, which do not use the controller mechanism.

System drivers

artiq.coredevice.core module

artiq.coredevice.exceptions module

exception artiq.coredevice.exceptions.CXPError[source]

Raised when CXP transaction fails.

exception artiq.coredevice.exceptions.CacheError[source]

Raised when putting a value into a cache row would violate memory safety.

exception artiq.coredevice.exceptions.ClockFailure[source]

Raised when RTIO PLL has lost lock.

exception artiq.coredevice.exceptions.DMAError[source]

Raised when performing an invalid DMA operation.

exception artiq.coredevice.exceptions.GrabberSerialError[source]

Raised when Grabber serial transaction fails.

exception artiq.coredevice.exceptions.I2CError[source]

Raised when a I2C transaction fails.

exception artiq.coredevice.exceptions.RTIODestinationUnreachable[source]

Raised when a RTIO operation could not be completed due to a DRTIO link being down.

exception artiq.coredevice.exceptions.RTIOOverflow[source]

Raised when at least one event could not be registered into the RTIO input FIFO because it was full (CPU not reading fast enough).

This does not interrupt operations further than cancelling the current read attempt and discarding some events. Reading can be reattempted after the exception is caught, and events will be partially retrieved.

exception artiq.coredevice.exceptions.RTIOUnderflow[source]

Raised when the CPU or DMA core fails to submit a RTIO event early enough (with respect to the event’s timestamp).

The offending event is discarded and the RTIO core keeps operating.

exception artiq.coredevice.exceptions.SPIError[source]

Raised when a SPI transaction fails.

exception artiq.coredevice.exceptions.SubkernelError[source]

Raised when an operation regarding a subkernel is invalid or cannot be completed.

exception artiq.coredevice.exceptions.UnwrapNoneError[source]

Raised when unwrapping a none Option.

artiq.coredevice.dma module

artiq.coredevice.cache module

artiq.coredevice.rtio.RTIOBatch module

Context manager for batching RTIO events.

All output RTIO events within the context will be buffered on the core device and executed immediately after leaving the context.

This feature is available only on Zynq devices such as Kasli-SoC, ZC706 and EBAZ4205 with ACP Kernel Initiator enabled.

Digital I/O drivers

artiq.coredevice.ttl module

artiq.coredevice.edge_counter module

artiq.coredevice.spi2 module

artiq.coredevice.i2c module

RF generation drivers

artiq.coredevice.urukul module

artiq.coredevice.ad9910 module

artiq.coredevice.ad9912 module

artiq.coredevice.ad9914 module

artiq.coredevice.mirny module

artiq.coredevice.almazny module

artiq.coredevice.adf5356 module

artiq.coredevice.phaser module

artiq.coredevice.phaser_drtio module

artiq.coredevice.songbird module

DAC/ADC drivers

artiq.coredevice.ad53xx module

artiq.coredevice.zotino module

artiq.coredevice.sampler module

artiq.coredevice.fastino module

artiq.coredevice.shuttler module

artiq.coredevice.dac34h84 module

Miscellaneous

artiq.coredevice.suservo module

artiq.coredevice.grabber module

artiq.coredevice.cxp_grabber module

artiq.coredevice.trf372017 module

artiq.coredevice.hmc542b module