Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
memory_event.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4
6
7namespace bb::avm2::simulation {
8
9enum class MemoryMode {
10 READ,
11 WRITE,
12};
13
15 uint32_t execution_clk;
19 uint32_t space_id;
20
25 bool operator<(MemoryEvent const& other) const;
26};
27
28} // namespace bb::avm2::simulation
uint32_t MemoryAddress
bool operator<(MemoryEvent const &other) const
A comparator to be used by sorting algorithm (std::sort()). We sort first by ascending space_id,...