8#include "../columns.hpp"
17 static constexpr std::string_view
NAME =
"LOOKUP_PUBLIC_DATA_SQUASH_LEAF_SLOT_INCREASE_FF_GT";
22 static constexpr Column COUNTS = Column::lookup_public_data_squash_leaf_slot_increase_ff_gt_counts;
23 static constexpr Column INVERSES = Column::lookup_public_data_squash_leaf_slot_increase_ff_gt_inv;
24 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
25 ColumnAndShifts::public_data_squash_leaf_slot_shift,
26 ColumnAndShifts::public_data_squash_leaf_slot,
27 ColumnAndShifts::public_data_squash_sel
29 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = { ColumnAndShifts::ff_gt_a,
30 ColumnAndShifts::ff_gt_b,
31 ColumnAndShifts::ff_gt_result };
36template <
typename FF_>
43 static constexpr std::string_view
NAME =
"LOOKUP_PUBLIC_DATA_SQUASH_CLK_DIFF_RANGE_LO";
48 static constexpr Column COUNTS = Column::lookup_public_data_squash_clk_diff_range_lo_counts;
49 static constexpr Column INVERSES = Column::lookup_public_data_squash_clk_diff_range_lo_inv;
50 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
51 ColumnAndShifts::public_data_squash_clk_diff_lo
53 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = { ColumnAndShifts::precomputed_clk };
58template <
typename FF_>
65 static constexpr std::string_view
NAME =
"LOOKUP_PUBLIC_DATA_SQUASH_CLK_DIFF_RANGE_HI";
70 static constexpr Column COUNTS = Column::lookup_public_data_squash_clk_diff_range_hi_counts;
71 static constexpr Column INVERSES = Column::lookup_public_data_squash_clk_diff_range_hi_inv;
72 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
73 ColumnAndShifts::public_data_squash_clk_diff_hi
75 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = { ColumnAndShifts::precomputed_clk };
80template <
typename FF_>
This file contains the template for the generic lookup that can be specialized to enforce various loo...
static constexpr Column SRC_SELECTOR
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr std::string_view RELATION_NAME
static constexpr Column DST_SELECTOR
static constexpr std::string_view NAME
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr Column COUNTS
static constexpr Column INVERSES
static constexpr Column INVERSES
static constexpr Column COUNTS
static constexpr std::string_view RELATION_NAME
static constexpr Column SRC_SELECTOR
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr std::string_view NAME
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr Column DST_SELECTOR
static constexpr Column COUNTS
static constexpr Column INVERSES
static constexpr std::string_view RELATION_NAME
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr Column SRC_SELECTOR
static constexpr std::string_view NAME
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr Column DST_SELECTOR