Skip to main content

Module debug

Module debug 

Source
Expand description

Debug helpers for inspecting megakernel slot/opcode state at runtime.

Constantsยง

BUFFER_WORDS
Total u32 words compiled into the default debug-log buffer.
CURSOR_WORD
Atomic write cursor: the next word to be written by PRINTF.
RECORDS_BASE
First record word.
RECORD_CAPACITY
Record capacity compiled into the default megakernel program.
RECORD_WORDS
Number of u32 words per PRINTF record.