vemu.

System & Infrastructure - Miscellaneous - arm,ethos-u65

Arm Ethos-U65 NPU

Arm Ethos-U65 microNPU. The driver writes the command-stream address/length to `QBASE`/`QSIZE` and sets `CMD`=run; the model fetches the command stream by bus-mastered read-back, decodes and sequences it into a neutral operator, gathers the IFM/weight/scale tensors (further read-backs), runs the op on the injected accelerator backend, writes the OFM back to guest memory, and raises the NPU IRQ with the `NPU_OP_STOP` mask reflected into `STATUS`.

ext_dmaemits: dmaemits: raise_irqemits: lower_irqemits: customhandles: custom

Events emitted

ethos.npu.inference_complete

The NPU finished executing a command stream (reached NPU_OP_STOP) and raised its completion IRQ.

Payload

FieldTypeDescription
inferencesu64Total command streams completed since reset (monotonic).
op_countu32Compute operators decoded in this command stream.
qsizeu32Command-stream length in bytes (QSIZE).
stop_masku32NPU_OP_STOP mask reflected into STATUS[31:16].

Events accepted

vemu.easydma.read_back_complete

Bus-internal completion: EasyDMA read-back bytes are available.

Payload

FieldTypeDescription
bytesbytesBytes read back from guest SRAM.
req_idu32Transfer id echoed from the DMA request.

Commands

This peripheral exposes no commands.

Snapshot fields

FieldTypeLabel
statusu32STATUS
runningboolRunning
qbaseu64QBASE (cmd stream addr)
qsizeu32QSIZE (bytes)
qreadu32QREAD (progress)
op_countu32Decoded compute ops
stop_masku32Last NPU_OP_STOP mask
inferencesu64Inferences completed
errorsu64Inference errors
irq_lineu32IRQ line
executorstrCompute backend

Read at runtime with emulator.peripheral_snapshot(name).

Boards using this peripheral