8#include "../columns.hpp"
17 static constexpr std::string_view
NAME =
"LOOKUP_ADDRESSING_RELATIVE_OVERFLOW_RESULT_0";
22 static constexpr Column COUNTS = Column::lookup_addressing_relative_overflow_result_0_counts;
23 static constexpr Column INVERSES = Column::lookup_addressing_relative_overflow_result_0_inv;
24 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
25 ColumnAndShifts::execution_op_after_relative_0_,
26 ColumnAndShifts::execution_highest_address,
27 ColumnAndShifts::execution_sel_relative_overflow_0_
29 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = { ColumnAndShifts::gt_input_a,
30 ColumnAndShifts::gt_input_b,
31 ColumnAndShifts::gt_res };
36template <
typename FF_>
43 static constexpr std::string_view
NAME =
"LOOKUP_ADDRESSING_RELATIVE_OVERFLOW_RESULT_1";
48 static constexpr Column COUNTS = Column::lookup_addressing_relative_overflow_result_1_counts;
49 static constexpr Column INVERSES = Column::lookup_addressing_relative_overflow_result_1_inv;
50 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
51 ColumnAndShifts::execution_op_after_relative_1_,
52 ColumnAndShifts::execution_highest_address,
53 ColumnAndShifts::execution_sel_relative_overflow_1_
55 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = { ColumnAndShifts::gt_input_a,
56 ColumnAndShifts::gt_input_b,
57 ColumnAndShifts::gt_res };
62template <
typename FF_>
69 static constexpr std::string_view
NAME =
"LOOKUP_ADDRESSING_RELATIVE_OVERFLOW_RESULT_2";
74 static constexpr Column COUNTS = Column::lookup_addressing_relative_overflow_result_2_counts;
75 static constexpr Column INVERSES = Column::lookup_addressing_relative_overflow_result_2_inv;
76 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
77 ColumnAndShifts::execution_op_after_relative_2_,
78 ColumnAndShifts::execution_highest_address,
79 ColumnAndShifts::execution_sel_relative_overflow_2_
81 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = { ColumnAndShifts::gt_input_a,
82 ColumnAndShifts::gt_input_b,
83 ColumnAndShifts::gt_res };
88template <
typename FF_>
95 static constexpr std::string_view
NAME =
"LOOKUP_ADDRESSING_RELATIVE_OVERFLOW_RESULT_3";
100 static constexpr Column COUNTS = Column::lookup_addressing_relative_overflow_result_3_counts;
101 static constexpr Column INVERSES = Column::lookup_addressing_relative_overflow_result_3_inv;
102 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
103 ColumnAndShifts::execution_op_after_relative_3_,
104 ColumnAndShifts::execution_highest_address,
105 ColumnAndShifts::execution_sel_relative_overflow_3_
107 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = { ColumnAndShifts::gt_input_a,
108 ColumnAndShifts::gt_input_b,
109 ColumnAndShifts::gt_res };
114template <
typename FF_>
121 static constexpr std::string_view
NAME =
"LOOKUP_ADDRESSING_RELATIVE_OVERFLOW_RESULT_4";
126 static constexpr Column COUNTS = Column::lookup_addressing_relative_overflow_result_4_counts;
127 static constexpr Column INVERSES = Column::lookup_addressing_relative_overflow_result_4_inv;
128 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
129 ColumnAndShifts::execution_op_after_relative_4_,
130 ColumnAndShifts::execution_highest_address,
131 ColumnAndShifts::execution_sel_relative_overflow_4_
133 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = { ColumnAndShifts::gt_input_a,
134 ColumnAndShifts::gt_input_b,
135 ColumnAndShifts::gt_res };
140template <
typename FF_>
147 static constexpr std::string_view
NAME =
"LOOKUP_ADDRESSING_RELATIVE_OVERFLOW_RESULT_5";
152 static constexpr Column COUNTS = Column::lookup_addressing_relative_overflow_result_5_counts;
153 static constexpr Column INVERSES = Column::lookup_addressing_relative_overflow_result_5_inv;
154 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
155 ColumnAndShifts::execution_op_after_relative_5_,
156 ColumnAndShifts::execution_highest_address,
157 ColumnAndShifts::execution_sel_relative_overflow_5_
159 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = { ColumnAndShifts::gt_input_a,
160 ColumnAndShifts::gt_input_b,
161 ColumnAndShifts::gt_res };
166template <
typename FF_>
173 static constexpr std::string_view
NAME =
"LOOKUP_ADDRESSING_RELATIVE_OVERFLOW_RESULT_6";
178 static constexpr Column COUNTS = Column::lookup_addressing_relative_overflow_result_6_counts;
179 static constexpr Column INVERSES = Column::lookup_addressing_relative_overflow_result_6_inv;
180 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
181 ColumnAndShifts::execution_op_after_relative_6_,
182 ColumnAndShifts::execution_highest_address,
183 ColumnAndShifts::execution_sel_relative_overflow_6_
185 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = { ColumnAndShifts::gt_input_a,
186 ColumnAndShifts::gt_input_b,
187 ColumnAndShifts::gt_res };
192template <
typename FF_>
This file contains the template for the generic lookup that can be specialized to enforce various loo...
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr Column INVERSES
static constexpr Column COUNTS
static constexpr std::string_view RELATION_NAME
static constexpr Column SRC_SELECTOR
static constexpr std::string_view NAME
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr Column DST_SELECTOR
static constexpr Column SRC_SELECTOR
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr Column DST_SELECTOR
static constexpr std::string_view RELATION_NAME
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr Column COUNTS
static constexpr std::string_view NAME
static constexpr Column INVERSES
static constexpr Column INVERSES
static constexpr std::string_view NAME
static constexpr Column SRC_SELECTOR
static constexpr Column COUNTS
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr std::string_view RELATION_NAME
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr Column DST_SELECTOR
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr Column DST_SELECTOR
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr Column SRC_SELECTOR
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr std::string_view NAME
static constexpr std::string_view RELATION_NAME
static constexpr Column INVERSES
static constexpr Column COUNTS
static constexpr std::string_view NAME
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr std::string_view RELATION_NAME
static constexpr Column INVERSES
static constexpr Column COUNTS
static constexpr Column SRC_SELECTOR
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr Column DST_SELECTOR
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr Column SRC_SELECTOR
static constexpr std::string_view RELATION_NAME
static constexpr std::string_view NAME
static constexpr Column DST_SELECTOR
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr Column COUNTS
static constexpr Column INVERSES
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr std::string_view NAME
static constexpr Column INVERSES
static constexpr std::string_view RELATION_NAME
static constexpr Column COUNTS
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr Column DST_SELECTOR
static constexpr Column SRC_SELECTOR
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS