Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
perms_emit_unencrypted_log.hpp
Go to the documentation of this file.
1// AUTOGENERATED FILE
2#pragma once
3
4#include <cstddef>
5#include <string_view>
6#include <tuple>
7
8#include "../columns.hpp"
11
12namespace bb::avm2 {
13
15
17 static constexpr std::string_view NAME = "PERM_EMIT_UNENCRYPTED_LOG_READ_MEM";
18 static constexpr std::string_view RELATION_NAME = "emit_unencrypted_log";
19 static constexpr size_t COLUMNS_PER_SET = 6;
20 static constexpr Column SRC_SELECTOR = Column::emit_unencrypted_log_sel_should_read_memory;
21 static constexpr Column DST_SELECTOR = Column::memory_sel_unencrypted_log_read;
22 static constexpr Column INVERSES = Column::perm_emit_unencrypted_log_read_mem_inv;
23 static constexpr std::array<ColumnAndShifts, COLUMNS_PER_SET> SRC_COLUMNS = {
24 ColumnAndShifts::emit_unencrypted_log_execution_clk, ColumnAndShifts::emit_unencrypted_log_space_id,
25 ColumnAndShifts::emit_unencrypted_log_log_address, ColumnAndShifts::emit_unencrypted_log_value,
26 ColumnAndShifts::emit_unencrypted_log_tag, ColumnAndShifts::precomputed_zero
27 };
28 static constexpr std::array<ColumnAndShifts, COLUMNS_PER_SET> DST_COLUMNS = {
29 ColumnAndShifts::memory_clk, ColumnAndShifts::memory_space_id, ColumnAndShifts::memory_address,
30 ColumnAndShifts::memory_value, ColumnAndShifts::memory_tag, ColumnAndShifts::memory_rw
31 };
32};
33
35template <typename FF_>
38
39} // namespace bb::avm2
This file contains the template for the generic permutation that can be specialized to enforce variou...
static constexpr std::array< ColumnAndShifts, COLUMNS_PER_SET > DST_COLUMNS
static constexpr std::array< ColumnAndShifts, COLUMNS_PER_SET > SRC_COLUMNS