Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::avm2::tracegen::MemoryTraceBuilder Class Referencefinal

#include <memory_trace.hpp>

Public Member Functions

void process (const simulation::EventEmitterInterface< simulation::MemoryEvent >::Container &events, TraceContainer &trace)
 Processes memory events into the memory subtrace.
 

Static Public Attributes

static const InteractionDefinition interactions
 

Detailed Description

Definition at line 11 of file memory_trace.hpp.

Member Function Documentation

◆ process()

void bb::avm2::tracegen::MemoryTraceBuilder::process ( const simulation::EventEmitterInterface< simulation::MemoryEvent >::Container &  events,
TraceContainer trace 
)

Processes memory events into the memory subtrace.

Sorts events by (space_id, address, clk, rw) and populates the trace with derived columns (diff, limbs, etc.). Row 0 is left empty because shifted columns are used.

Definition at line 35 of file memory_trace.cpp.

Member Data Documentation

◆ interactions

const InteractionDefinition bb::avm2::tracegen::MemoryTraceBuilder::interactions
static

Definition at line 16 of file memory_trace.hpp.


The documentation for this class was generated from the following files: