Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
instruction_spec.hpp File Reference
#include <cstdint>
#include <optional>
#include <unordered_map>
#include "barretenberg/numeric/uint128/uint128.hpp"
#include "barretenberg/vm2/common/field.hpp"
#include "barretenberg/vm2/common/opcodes.hpp"
#include "barretenberg/vm2/generated/columns.hpp"

Go to the source code of this file.

Classes

struct  bb::avm2::tracegen::SubtraceInfo
 

Namespaces

namespace  bb
 Entry point for Barretenberg command-line interface.
 
namespace  bb::avm2
 
namespace  bb::avm2::tracegen
 

Enumerations

enum class  bb::avm2::tracegen::SubtraceSel : uint8_t {
  bb::avm2::tracegen::ALU , bb::avm2::tracegen::CAST , bb::avm2::tracegen::SET , bb::avm2::tracegen::BITWISE ,
  bb::avm2::tracegen::TORADIXBE , bb::avm2::tracegen::POSEIDON2PERM , bb::avm2::tracegen::ECC , bb::avm2::tracegen::CALLDATACOPY ,
  bb::avm2::tracegen::RETURNDATACOPY , bb::avm2::tracegen::EXECUTION , bb::avm2::tracegen::KECCAKF1600 , bb::avm2::tracegen::GETCONTRACTINSTANCE ,
  bb::avm2::tracegen::EMITUNENCRYPTEDLOG , bb::avm2::tracegen::SHA256COMPRESSION
}
 

Functions

FF bb::avm2::tracegen::get_subtrace_id (SubtraceSel subtrace_sel)
 Get the subtrace ID for a given subtrace enum.
 
Column bb::avm2::tracegen::get_subtrace_selector (SubtraceSel subtrace_sel)
 Get the column selector for a given subtrace selector.
 
Column bb::avm2::tracegen::get_dyn_gas_selector (uint32_t dyn_gas_id)
 Get the column selector for a given dynamic gas ID.