![]() |
DPU Host API
2025.1.0
|
Debugging information. More...
#include <dpu_types.h>
Data Fields | |
| struct { | |
| uint32_t nr_threads | |
| uint32_t nr_registers | |
| uint32_t nr_atomic_bits | |
| iram_size_t iram_size | |
| mram_size_t mram_size | |
| wram_size_t wram_size | |
| } | info |
| dpuinstruction_t * | iram |
| uint8_t * | mram |
| dpuword_t * | wram |
| uint32_t * | registers |
| iram_addr_t * | pcs |
| bool * | atomic_register |
| bool * | zero_flags |
| bool * | carry_flags |
| uint8_t | nr_of_running_threads |
| uint8_t * | scheduling |
| bool | bkp_fault |
| bool | dma_fault |
| bool | mem_fault |
| dpu_thread_t | bkp_fault_thread_index |
| dpu_thread_t | dma_fault_thread_index |
| dpu_thread_t | mem_fault_thread_index |
| uint32_t | bkp_fault_id |
Debugging information.
| bool* atomic_register |
Storage for the atomic register value.
| bool bkp_fault |
Whether a BKP fault was triggered.
| uint32_t bkp_fault_id |
The BKP fault ID associated to the current BKP fault (if any).
| dpu_thread_t bkp_fault_thread_index |
The DPU thread index that triggered the BKP fault (if any).
| bool* carry_flags |
Storage for the carry flag value of each DPU thread.
| bool dma_fault |
Whether a DMA fault was triggered.
| dpu_thread_t dma_fault_thread_index |
The DPU thread index that triggered the DMA fault (if any).
| struct { ... } info |
Hardware characteristics of the DPU.
| dpuinstruction_t* iram |
Instruction RAM snapshot.
| iram_size_t iram_size |
Instruction RAM size in instructions.
| bool mem_fault |
Whether a MEM fault was triggered.
| dpu_thread_t mem_fault_thread_index |
The DPU thread index that triggered the MEM fault (if any).
| uint8_t* mram |
Main RAM snapshot.
| mram_size_t mram_size |
Main RAM size in bytes.
| uint32_t nr_atomic_bits |
Number of atomic bits per DPU.
| uint8_t nr_of_running_threads |
Number of running threads in the current debugging session.
| uint32_t nr_registers |
Number of work registers per DPU thread.
| uint32_t nr_threads |
Number of threads per DPU.
| iram_addr_t* pcs |
Storage for the PC value of each DPU thread.
| uint32_t* registers |
Storage for the working register values of each DPU thread.
| uint8_t* scheduling |
Scheduling of the DPU threads in the current debugging session.
| dpuword_t* wram |
Work RAM snapshot.
| wram_size_t wram_size |
Work RANK size in 32-bit words.
| bool* zero_flags |
Storage for the zero flag value of each DPU thread.