avl_riscv_coverage._trace module
- avl_riscv_coverage._trace.TRACE = {}
Dict of double-linked-lists of Trace elements. Indexed by CPUID
- class avl_riscv_coverage._trace.Trace(instr: Instruction)[source]
- __init__(instr: Instruction) None[source]
Constructor
- Parameters:
instr (Instruction) – Executed Instruction
- link(next: Instruction | None) None[source]
Create 2 way link to next instruction (if you can)
Next / Prev refers to location in trace (i.e. executed instruction +/- one instruction) not location in program
- Parameters:
next (Instruction) – Next executed instruction