Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
perms_to_radix_mem.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_TO_RADIX_MEM_DISPATCH_EXEC_TO_RADIX";
18 static constexpr std::string_view RELATION_NAME = "to_radix_mem";
19 static constexpr size_t COLUMNS_PER_SET = 8;
20 static constexpr Column SRC_SELECTOR = Column::execution_sel_execute_to_radix;
21 static constexpr Column DST_SELECTOR = Column::to_radix_mem_start;
22 static constexpr Column INVERSES = Column::perm_to_radix_mem_dispatch_exec_to_radix_inv;
23 static constexpr std::array<ColumnAndShifts, COLUMNS_PER_SET> SRC_COLUMNS = {
24 ColumnAndShifts::precomputed_clk, ColumnAndShifts::execution_context_id,
25 ColumnAndShifts::execution_register_0_, ColumnAndShifts::execution_register_1_,
26 ColumnAndShifts::execution_register_2_, ColumnAndShifts::execution_register_3_,
27 ColumnAndShifts::execution_rop_4_, ColumnAndShifts::execution_sel_opcode_error
28 };
29 static constexpr std::array<ColumnAndShifts, COLUMNS_PER_SET> DST_COLUMNS = {
30 ColumnAndShifts::to_radix_mem_execution_clk, ColumnAndShifts::to_radix_mem_space_id,
31 ColumnAndShifts::to_radix_mem_value_to_decompose, ColumnAndShifts::to_radix_mem_radix,
32 ColumnAndShifts::to_radix_mem_num_limbs, ColumnAndShifts::to_radix_mem_is_output_bits,
33 ColumnAndShifts::to_radix_mem_dst_addr, ColumnAndShifts::to_radix_mem_err
34 };
35};
36
39template <typename FF_>
42
43} // 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