Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <mega_execution_trace.hpp>
Public Types | |
using | SelectorType = Selector< fr > |
![]() | |
using | SelectorType = Selector< fr > |
using | WireType = SlabVector< uint32_t > |
using | Wires = std::array< WireType, NUM_WIRES > |
Public Member Functions | |
virtual SelectorType & | q_busread () |
virtual SelectorType & | q_lookup_type () |
virtual SelectorType & | q_arith () |
virtual SelectorType & | q_delta_range () |
virtual SelectorType & | q_elliptic () |
virtual SelectorType & | q_memory () |
virtual SelectorType & | q_nnf () |
virtual SelectorType & | q_poseidon2_external () |
virtual SelectorType & | q_poseidon2_internal () |
virtual const SelectorType & | q_busread () const |
virtual const SelectorType & | q_lookup_type () const |
virtual const SelectorType & | q_arith () const |
virtual const SelectorType & | q_delta_range () const |
virtual const SelectorType & | q_elliptic () const |
virtual const SelectorType & | q_memory () const |
virtual const SelectorType & | q_nnf () const |
virtual const SelectorType & | q_poseidon2_external () const |
virtual const SelectorType & | q_poseidon2_internal () const |
RefVector< SelectorType > | get_gate_selectors () |
RefVector< Selector< fr > > | get_selectors () override |
void | pad_additional () |
Add zeros to all selectors which are not part of the conventional Ultra arithmetization. | |
void | resize_additional (size_t new_size) |
Resizes all selectors which are not part of the conventional Ultra arithmetization. | |
![]() | |
ExecutionTraceBlock ()=default | |
ExecutionTraceBlock (const ExecutionTraceBlock &)=default | |
ExecutionTraceBlock (ExecutionTraceBlock &&) noexcept=default | |
ExecutionTraceBlock & | operator= (const ExecutionTraceBlock &)=default |
ExecutionTraceBlock & | operator= (ExecutionTraceBlock &&) noexcept=default |
virtual | ~ExecutionTraceBlock ()=default |
void | tracy_gate () |
uint32_t | trace_offset () const |
bool | operator== (const ExecutionTraceBlock &other) const=default |
size_t | size () const |
void | reserve (size_t size_hint) |
uint32_t | get_fixed_size (bool is_structured=true) const |
void | populate_wires (const uint32_t &idx_1, const uint32_t &idx_2, const uint32_t &idx_3, const uint32_t &idx_4) |
auto & | w_l () |
auto & | w_r () |
auto & | w_o () |
auto & | w_4 () |
Selector< fr > & | q_m () |
Selector< fr > & | q_c () |
Selector< fr > & | q_1 () |
Selector< fr > & | q_2 () |
Selector< fr > & | q_3 () |
Selector< fr > & | q_4 () |
Private Attributes | |
std::array< ZeroSelector< fr >, 9 > | zero_selectors |
Additional Inherited Members | |
![]() | |
Wires | wires |
uint32_t | trace_offset_ |
uint32_t | fixed_size |
![]() | |
static constexpr size_t | NUM_WIRES |
![]() | |
std::array< SlabVectorSelector< fr >, 6 > | non_gate_selectors |
Definition at line 69 of file mega_execution_trace.hpp.
using bb::MegaTraceBlock::SelectorType = Selector<fr> |
Definition at line 71 of file mega_execution_trace.hpp.
|
inline |
Definition at line 93 of file mega_execution_trace.hpp.
Implements bb::ExecutionTraceBlock< fr, 4 >.
Definition at line 102 of file mega_execution_trace.hpp.
|
inline |
Add zeros to all selectors which are not part of the conventional Ultra arithmetization.
Facilitates reuse of Ultra gate construction functions in arithmetizations which extend the conventional Ultra arithmetization
Definition at line 129 of file mega_execution_trace.hpp.
|
inlinevirtual |
Reimplemented in bb::MegaTraceArithmeticBlock, and bb::MegaTraceOverflowBlock.
Definition at line 75 of file mega_execution_trace.hpp.
|
inlinevirtual |
Definition at line 85 of file mega_execution_trace.hpp.
|
inlinevirtual |
Reimplemented in bb::MegaTraceBusReadBlock, and bb::MegaTraceOverflowBlock.
Definition at line 73 of file mega_execution_trace.hpp.
|
inlinevirtual |
Definition at line 83 of file mega_execution_trace.hpp.
|
inlinevirtual |
Reimplemented in bb::MegaTraceDeltaRangeBlock, and bb::MegaTraceOverflowBlock.
Definition at line 76 of file mega_execution_trace.hpp.
|
inlinevirtual |
Definition at line 86 of file mega_execution_trace.hpp.
|
inlinevirtual |
Reimplemented in bb::MegaTraceEllipticBlock, and bb::MegaTraceOverflowBlock.
Definition at line 77 of file mega_execution_trace.hpp.
|
inlinevirtual |
Definition at line 87 of file mega_execution_trace.hpp.
|
inlinevirtual |
Reimplemented in bb::MegaTraceLookupBlock, and bb::MegaTraceOverflowBlock.
Definition at line 74 of file mega_execution_trace.hpp.
|
inlinevirtual |
Definition at line 84 of file mega_execution_trace.hpp.
|
inlinevirtual |
Reimplemented in bb::MegaTraceMemoryBlock, and bb::MegaTraceOverflowBlock.
Definition at line 78 of file mega_execution_trace.hpp.
|
inlinevirtual |
Definition at line 88 of file mega_execution_trace.hpp.
|
inlinevirtual |
Reimplemented in bb::MegaTraceNonNativeFieldBlock, and bb::MegaTraceOverflowBlock.
Definition at line 79 of file mega_execution_trace.hpp.
|
inlinevirtual |
Definition at line 89 of file mega_execution_trace.hpp.
|
inlinevirtual |
Reimplemented in bb::MegaTracePoseidon2ExternalBlock, and bb::MegaTraceOverflowBlock.
Definition at line 80 of file mega_execution_trace.hpp.
|
inlinevirtual |
Definition at line 90 of file mega_execution_trace.hpp.
|
inlinevirtual |
Reimplemented in bb::MegaTracePoseidon2InternalBlock, and bb::MegaTraceOverflowBlock.
Definition at line 81 of file mega_execution_trace.hpp.
|
inlinevirtual |
Definition at line 91 of file mega_execution_trace.hpp.
|
inline |
Resizes all selectors which are not part of the conventional Ultra arithmetization.
Facilitates reuse of Ultra gate construction functions in arithmetizations which extend the conventional Ultra arithmetization
new_size |
Definition at line 137 of file mega_execution_trace.hpp.
|
private |
Definition at line 140 of file mega_execution_trace.hpp.