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`.
Events emitted
ethos.npu.inference_completeThe NPU finished executing a command stream (reached NPU_OP_STOP) and raised its completion IRQ.
Payload
| Field | Type | Description |
|---|---|---|
inferences | u64 | Total command streams completed since reset (monotonic). |
op_count | u32 | Compute operators decoded in this command stream. |
qsize | u32 | Command-stream length in bytes (QSIZE). |
stop_mask | u32 | NPU_OP_STOP mask reflected into STATUS[31:16]. |
Events accepted
vemu.easydma.read_back_completeBus-internal completion: EasyDMA read-back bytes are available.
Payload
| Field | Type | Description |
|---|---|---|
bytes | bytes | Bytes read back from guest SRAM. |
req_id | u32 | Transfer id echoed from the DMA request. |
Commands
This peripheral exposes no commands.
Snapshot fields
| Field | Type | Label |
|---|---|---|
| status | u32 | STATUS |
| running | bool | Running |
| qbase | u64 | QBASE (cmd stream addr) |
| qsize | u32 | QSIZE (bytes) |
| qread | u32 | QREAD (progress) |
| op_count | u32 | Decoded compute ops |
| stop_mask | u32 | Last NPU_OP_STOP mask |
| inferences | u64 | Inferences completed |
| errors | u64 | Inference errors |
| irq_line | u32 | IRQ line |
| executor | str | Compute backend |
Read at runtime with emulator.peripheral_snapshot(name).