Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::MegaExecutionTraceBlocks Class Reference

#include <mega_execution_trace.hpp>

Inheritance diagram for bb::MegaExecutionTraceBlocks:
bb::MegaTraceBlockData

Public Types

using FF = fr
 

Public Member Functions

 MegaExecutionTraceBlocks ()=default
 
void compute_offsets ()
 
void summarize () const
 
size_t get_total_content_size ()
 
size_t get_total_size () const
 
bool operator== (const MegaExecutionTraceBlocks &other) const =default
 
- Public Member Functions inherited from bb::MegaTraceBlockData
std::vector< std::string_view > get_labels () const
 
auto get ()
 
auto get () const
 
auto get_gate_blocks () const
 
bool operator== (const MegaTraceBlockData &other) const =default
 

Static Public Attributes

static constexpr size_t NUM_WIRES = MegaTraceBlock::NUM_WIRES
 Defines the circuit block types for the Mega arithmetization.
 
- Static Public Attributes inherited from bb::MegaTraceBlockData
static constexpr size_t NUM_BLOCKS = 11
 

Additional Inherited Members

- Public Attributes inherited from bb::MegaTraceBlockData
MegaTraceBlock ecc_op
 
MegaTraceBusReadBlock busread
 
MegaTraceLookupBlock lookup
 
MegaTracePublicInputBlock pub_inputs
 
MegaTraceArithmeticBlock arithmetic
 
MegaTraceDeltaRangeBlock delta_range
 
MegaTraceEllipticBlock elliptic
 
MegaTraceMemoryBlock memory
 
MegaTraceNonNativeFieldBlock nnf
 
MegaTracePoseidon2ExternalBlock poseidon2_external
 
MegaTracePoseidon2InternalBlock poseidon2_internal
 

Detailed Description

Definition at line 371 of file mega_execution_trace.hpp.

Member Typedef Documentation

◆ FF

Constructor & Destructor Documentation

◆ MegaExecutionTraceBlocks()

bb::MegaExecutionTraceBlocks::MegaExecutionTraceBlocks ( )
default

Member Function Documentation

◆ compute_offsets()

void bb::MegaExecutionTraceBlocks::compute_offsets ( )
inline

Definition at line 388 of file mega_execution_trace.hpp.

◆ get_total_content_size()

size_t bb::MegaExecutionTraceBlocks::get_total_content_size ( )
inline

Definition at line 416 of file mega_execution_trace.hpp.

◆ get_total_size()

size_t bb::MegaExecutionTraceBlocks::get_total_size ( ) const
inline

Definition at line 425 of file mega_execution_trace.hpp.

◆ operator==()

◆ summarize()

void bb::MegaExecutionTraceBlocks::summarize ( ) const
inline

Definition at line 397 of file mega_execution_trace.hpp.

Member Data Documentation

◆ NUM_WIRES

constexpr size_t bb::MegaExecutionTraceBlocks::NUM_WIRES = MegaTraceBlock::NUM_WIRES
staticconstexpr

Defines the circuit block types for the Mega arithmetization.

Note
Its useful to define this as a template since it is used to actually store gate data (T = MegaTraceBlock) but also to store corresponding block sizes (T = uint32_t) for the structured trace or dynamic block size tracking in Chonk.
Template Parameters
T

Definition at line 382 of file mega_execution_trace.hpp.


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