Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bitwise_event.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4
7
8namespace bb::avm2::simulation {
9
29
30} // namespace bb::avm2::simulation
static TaggedValue from_tag(ValueTag tag, FF value)
AVM range check gadget for witness generation.
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13
unsigned __int128 uint128_t
Definition serialize.hpp:45
Event emitted during bitwise operation simulation for trace generation.
std::tuple< BitwiseOperation, MemoryValue, MemoryValue > Key
Key type for deduplication (operation, input_a, input_b).
MemoryValue a
Left operand (tagged memory value).
MemoryValue b
Right operand (tagged memory value).
BitwiseOperation operation
The bitwise operation (AND, OR, or XOR).
uint128_t res
Result of the operation. Defaults to 0 (used on error paths).
bool operator==(const BitwiseEvent &other) const =default