Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
pure_addressing.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
barretenberg/vm2/common/memory_types.hpp
"
4
#include "
barretenberg/vm2/simulation/interfaces/addressing.hpp
"
5
#include "
barretenberg/vm2/simulation/lib/instruction_info.hpp
"
6
#include "
barretenberg/vm2/simulation/lib/serialization.hpp
"
7
8
namespace
bb::avm2::simulation
{
9
10
class
PureAddressing
final :
public
AddressingInterface
{
11
public
:
12
PureAddressing
(
const
InstructionInfoDBInterface
&
instruction_info_db
)
13
:
instruction_info_db
(
instruction_info_db
)
14
{}
15
16
std::vector<Operand>
resolve
(
const
Instruction
&
instruction
,
MemoryInterface
&
memory
)
override
;
17
18
private
:
19
const
InstructionInfoDBInterface
&
instruction_info_db
;
20
};
21
22
}
// namespace bb::avm2::simulation
bb::avm2::memory
Definition
memory.hpp:36
bb::avm2::simulation::AddressingInterface
Definition
addressing.hpp:13
bb::avm2::simulation::InstructionInfoDBInterface
Definition
instruction_info.hpp:11
bb::avm2::simulation::MemoryInterface
Definition
memory.hpp:10
bb::avm2::simulation::PureAddressing
Definition
pure_addressing.hpp:10
bb::avm2::simulation::PureAddressing::instruction_info_db
const InstructionInfoDBInterface & instruction_info_db
Definition
pure_addressing.hpp:19
bb::avm2::simulation::PureAddressing::resolve
std::vector< Operand > resolve(const Instruction &instruction, MemoryInterface &memory) override
Definition
pure_addressing.cpp:18
bb::avm2::simulation::PureAddressing::PureAddressing
PureAddressing(const InstructionInfoDBInterface &instruction_info_db)
Definition
pure_addressing.hpp:12
instruction
Instruction instruction
Definition
gas_tracker.test.cpp:33
instruction_info.hpp
memory_types.hpp
bb::avm2::simulation
Definition
address_derivation_event.hpp:6
std::get
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition
tuple.hpp:13
serialization.hpp
addressing.hpp
bb::avm2::simulation::Instruction
Definition
serialization.hpp:30
src
barretenberg
vm2
simulation
standalone
pure_addressing.hpp
Generated by
1.9.8