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
 
MemoryMode mode
 
MemoryAddress addr
 
MemoryValue value
 
uint16_t space_id
 

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

Definition at line 17 of file memory_event.hpp.

◆ execution_clk

uint32_t bb::avm2::simulation::MemoryEvent::execution_clk

Definition at line 15 of file memory_event.hpp.

◆ mode

MemoryMode bb::avm2::simulation::MemoryEvent::mode

Definition at line 16 of file memory_event.hpp.

◆ space_id

uint16_t bb::avm2::simulation::MemoryEvent::space_id

Definition at line 19 of file memory_event.hpp.

◆ value

MemoryValue bb::avm2::simulation::MemoryEvent::value

Definition at line 18 of file memory_event.hpp.


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