ik_simulate
Simulate AVR firmware on the ik8bvm core. Run .ik source or hex with MCU, then inspect register, PC, SP, SREG dumps and optional trace. Inject interrupts for test scenarios.
Instructions
Run code on the ik8bvm AVR core simulator. Provide ik source/path (compiled then run with the source's own target), OR a hex_path + mcu. Returns the register/PC/SP/SREG dump, any --peek bytes, and an optional instruction trace. Interrupts can be injected for testing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| irq | No | ||
| mcu | No | ||
| dump | No | ||
| path | No | Path to an .ik file (relative to the toolchain root or absolute). | |
| peek | No | ||
| limit | No | ||
| trace | No | ||
| irq_at | No | ||
| source | No | Inline ik source code. | |
| target | No | Device for `target <x>`; prepended only if the source omits one. | |
| hex_path | No | ||
| peek_len | No | ||
| irq_every | No |