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

#include <memory_event.hpp>

Public Member Functions

bool operator< (MemoryEvent const &other) const
 A comparator to be used by sorting algorithm (std::sort()). We sort first by ascending space_id, followed by address, then by clk and finally read/write.
 

Public Attributes

uint32_t execution_clk = 0
 
MemoryMode mode = MemoryMode::READ
 
MemoryAddress addr = 0
 
MemoryValue value = MemoryValue::from_tag(MemoryTag::FF, 0)
 
uint16_t space_id = 0
 

Detailed Description

Definition at line 14 of file memory_event.hpp.

Member Function Documentation

◆ operator<()

bool bb::avm2::simulation::MemoryEvent::operator< ( MemoryEvent const &  other) const

A comparator to be used by sorting algorithm (std::sort()). We sort first by ascending space_id, followed by address, then by clk and finally read/write.

Definition at line 8 of file memory_event.cpp.

Member Data Documentation

◆ addr

MemoryAddress bb::avm2::simulation::MemoryEvent::addr = 0

Definition at line 17 of file memory_event.hpp.

◆ execution_clk

uint32_t bb::avm2::simulation::MemoryEvent::execution_clk = 0

Definition at line 15 of file memory_event.hpp.

◆ mode

MemoryMode bb::avm2::simulation::MemoryEvent::mode = MemoryMode::READ

Definition at line 16 of file memory_event.hpp.

◆ space_id

uint16_t bb::avm2::simulation::MemoryEvent::space_id = 0

Definition at line 19 of file memory_event.hpp.

◆ value

MemoryValue bb::avm2::simulation::MemoryEvent::value = MemoryValue::from_tag(MemoryTag::FF, 0)

Definition at line 18 of file memory_event.hpp.


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