Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::avm2::simulation::AluEvent Struct Reference

#include <alu_event.hpp>

Public Types

using Key = std::tuple< AluOperation, MemoryValue, MemoryValue >
 

Public Member Functions

Key get_key () const
 
bool operator== (const AluEvent &other) const =default
 

Public Attributes

AluOperation operation
 
MemoryValue a
 
MemoryValue b
 
MemoryValue c
 
std::optional< AluErrorerror
 

Detailed Description

Definition at line 58 of file alu_event.hpp.

Member Typedef Documentation

◆ Key

Definition at line 68 of file alu_event.hpp.

Member Function Documentation

◆ get_key()

Key bb::avm2::simulation::AluEvent::get_key ( ) const
inline

Definition at line 69 of file alu_event.hpp.

◆ operator==()

bool bb::avm2::simulation::AluEvent::operator== ( const AluEvent other) const
default

Member Data Documentation

◆ a

MemoryValue bb::avm2::simulation::AluEvent::a

Definition at line 60 of file alu_event.hpp.

◆ b

MemoryValue bb::avm2::simulation::AluEvent::b
Initial value:
= MemoryValue::from_tag(static_cast<ValueTag>(0),
0)
static TaggedValue from_tag(ValueTag tag, FF value)

Definition at line 61 of file alu_event.hpp.

◆ c

MemoryValue bb::avm2::simulation::AluEvent::c
Initial value:
= MemoryValue::from_tag(static_cast<ValueTag>(0),
0)

Definition at line 64 of file alu_event.hpp.

◆ error

std::optional<AluError> bb::avm2::simulation::AluEvent::error

Definition at line 66 of file alu_event.hpp.

◆ operation

AluOperation bb::avm2::simulation::AluEvent::operation

Definition at line 59 of file alu_event.hpp.


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