Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
alu.hpp
Go to the documentation of this file.
1#pragma once
2
8
9namespace bb::avm2::simulation {
10
42
43} // namespace bb::avm2::simulation
MemoryTag dst_tag
MemoryValue lte(const MemoryValue &a, const MemoryValue &b) override
Definition alu.cpp:152
Alu(GreaterThanInterface &greater_than, FieldGreaterThanInterface &field_gt, RangeCheckInterface &range_check, EventEmitterInterface< AluEvent > &event_emitter)
Definition alu.hpp:13
RangeCheckInterface & range_check
Definition alu.hpp:39
MemoryValue fdiv(const MemoryValue &a, const MemoryValue &b) override
Definition alu.cpp:100
MemoryValue truncate(const FF &a, MemoryTag dst_tag) override
Definition alu.cpp:233
MemoryValue eq(const MemoryValue &a, const MemoryValue &b) override
Definition alu.cpp:124
MemoryValue lt(const MemoryValue &a, const MemoryValue &b) override
Definition alu.cpp:137
MemoryValue shl(const MemoryValue &a, const MemoryValue &b) override
Definition alu.cpp:180
MemoryValue add(const MemoryValue &a, const MemoryValue &b) override
Definition alu.cpp:12
MemoryValue sub(const MemoryValue &a, const MemoryValue &b) override
Definition alu.cpp:24
FieldGreaterThanInterface & field_gt
Definition alu.hpp:38
MemoryValue mul(const MemoryValue &a, const MemoryValue &b) override
Definition alu.cpp:36
MemoryValue shr(const MemoryValue &a, const MemoryValue &b) override
Definition alu.cpp:205
EventEmitterInterface< AluEvent > & events
Definition alu.hpp:40
MemoryValue op_not(const MemoryValue &a) override
Definition alu.cpp:168
GreaterThanInterface & greater_than
Definition alu.hpp:37
MemoryValue div(const MemoryValue &a, const MemoryValue &b) override
Definition alu.cpp:64
EventEmitter< DataCopyEvent > event_emitter
FF a
FF b
AvmFlavorSettings::FF FF
Definition field.hpp:10