|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <mega_execution_trace.hpp>
Public Types | |
| using | SelectorType = Selector< fr > |
Public Types inherited from bb::ExecutionTraceBlock< fr, 4 > | |
| using | SelectorType = Selector< fr > |
| using | WireType = std::vector< uint32_t > |
| using | Wires = std::array< WireType, NUM_WIRES > |
Public Member Functions | |
| virtual SelectorType & | q_busread () |
| virtual SelectorType & | q_lookup () |
| 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 () 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. | |
| virtual void | set_gate_selector (const fr &value) |
| Default implementation does nothing. | |
Public Member Functions inherited from bb::ExecutionTraceBlock< fr, 4 > | |
| 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) |
| 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 | |
Public Attributes inherited from bb::ExecutionTraceBlock< fr, 4 > | |
| Wires | wires |
| uint32_t | trace_offset_ |
Static Public Attributes inherited from bb::ExecutionTraceBlock< fr, 4 > | |
| static constexpr size_t | NUM_WIRES |
Protected Attributes inherited from bb::ExecutionTraceBlock< fr, 4 > | |
| std::array< SlabVectorSelector< fr >, 6 > | non_gate_selectors |
Definition at line 19 of file mega_execution_trace.hpp.
| using bb::MegaTraceBlock::SelectorType = Selector<fr> |
Definition at line 21 of file mega_execution_trace.hpp.
|
inline |
Definition at line 43 of file mega_execution_trace.hpp.
Implements bb::ExecutionTraceBlock< fr, 4 >.
Definition at line 58 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 85 of file mega_execution_trace.hpp.
|
inlinevirtual |
Reimplemented in bb::MegaTraceArithmeticBlock.
Definition at line 25 of file mega_execution_trace.hpp.
|
inlinevirtual |
Definition at line 35 of file mega_execution_trace.hpp.
|
inlinevirtual |
Reimplemented in bb::MegaTraceBusReadBlock.
Definition at line 23 of file mega_execution_trace.hpp.
|
inlinevirtual |
Definition at line 33 of file mega_execution_trace.hpp.
|
inlinevirtual |
Reimplemented in bb::MegaTraceDeltaRangeBlock.
Definition at line 26 of file mega_execution_trace.hpp.
|
inlinevirtual |
Definition at line 36 of file mega_execution_trace.hpp.
|
inlinevirtual |
Reimplemented in bb::MegaTraceEllipticBlock.
Definition at line 27 of file mega_execution_trace.hpp.
|
inlinevirtual |
Definition at line 37 of file mega_execution_trace.hpp.
|
inlinevirtual |
Reimplemented in bb::MegaTraceLookupBlock.
Definition at line 24 of file mega_execution_trace.hpp.
|
inlinevirtual |
Definition at line 34 of file mega_execution_trace.hpp.
|
inlinevirtual |
Reimplemented in bb::MegaTraceMemoryBlock.
Definition at line 28 of file mega_execution_trace.hpp.
|
inlinevirtual |
Definition at line 38 of file mega_execution_trace.hpp.
|
inlinevirtual |
Reimplemented in bb::MegaTraceNonNativeFieldBlock.
Definition at line 29 of file mega_execution_trace.hpp.
|
inlinevirtual |
Definition at line 39 of file mega_execution_trace.hpp.
|
inlinevirtual |
Reimplemented in bb::MegaTracePoseidon2ExternalBlock.
Definition at line 30 of file mega_execution_trace.hpp.
|
inlinevirtual |
Definition at line 40 of file mega_execution_trace.hpp.
|
inlinevirtual |
Reimplemented in bb::MegaTracePoseidon2InternalBlock.
Definition at line 31 of file mega_execution_trace.hpp.
|
inlinevirtual |
Definition at line 41 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 93 of file mega_execution_trace.hpp.
|
inlinevirtual |
Default implementation does nothing.
Reimplemented in bb::MegaTraceBusReadBlock, bb::MegaTraceLookupBlock, bb::MegaTraceArithmeticBlock, bb::MegaTraceDeltaRangeBlock, bb::MegaTraceEllipticBlock, bb::MegaTraceMemoryBlock, bb::MegaTraceNonNativeFieldBlock, bb::MegaTracePoseidon2ExternalBlock, and bb::MegaTracePoseidon2InternalBlock.
Definition at line 98 of file mega_execution_trace.hpp.
|
private |
Definition at line 101 of file mega_execution_trace.hpp.