Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
to_radix_trace.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
barretenberg/vm2/simulation/events/event_emitter.hpp
"
4
#include "
barretenberg/vm2/simulation/events/to_radix_event.hpp
"
5
#include "
barretenberg/vm2/tracegen/lib/interaction_def.hpp
"
6
#include "
barretenberg/vm2/tracegen/trace_container.hpp
"
7
8
namespace
bb::avm2::tracegen
{
9
10
class
ToRadixTraceBuilder
final {
11
public
:
12
void
process
(
const
simulation::EventEmitterInterface<simulation::ToRadixEvent>::Container
& events,
13
TraceContainer
&
trace
);
14
void
process_with_memory
(
const
simulation::EventEmitterInterface<simulation::ToRadixMemoryEvent>::Container
& events,
15
TraceContainer
&
trace
);
16
17
static
const
InteractionDefinition
interactions
;
18
};
19
20
}
// namespace bb::avm2::tracegen
bb::avm2::simulation::EventEmitterInterface::Container
std::vector< Event > Container
Definition
event_emitter.hpp:13
bb::avm2::tracegen::InteractionDefinition
Definition
interaction_def.hpp:30
bb::avm2::tracegen::ToRadixTraceBuilder
Definition
to_radix_trace.hpp:10
bb::avm2::tracegen::ToRadixTraceBuilder::process
void process(const simulation::EventEmitterInterface< simulation::ToRadixEvent >::Container &events, TraceContainer &trace)
Processes the non-memory aware to_radix subtrace ingesting ToRadixEvent events. The populated number ...
Definition
to_radix_trace.cpp:33
bb::avm2::tracegen::ToRadixTraceBuilder::interactions
static const InteractionDefinition interactions
Definition
to_radix_trace.hpp:17
bb::avm2::tracegen::ToRadixTraceBuilder::process_with_memory
void process_with_memory(const simulation::EventEmitterInterface< simulation::ToRadixMemoryEvent >::Container &events, TraceContainer &trace)
Processes the memory aware to_radix subtrace ingesting ToRadixMemoryEvent events. The populated numbe...
Definition
to_radix_trace.cpp:142
bb::avm2::tracegen::TraceContainer
Definition
trace_container.hpp:24
trace
TestTraceContainer trace
Definition
data_copy.test.cpp:63
event_emitter.hpp
interaction_def.hpp
bb::avm2::tracegen
Definition
full_row.hpp:9
to_radix_event.hpp
trace_container.hpp
src
barretenberg
vm2
tracegen
to_radix_trace.hpp
Generated by
1.9.8