pub type FpConfig<F> = RangeConfig<F>;Aliased Type§
pub struct FpConfig<F> {
pub gate: FlexGateConfig<F>,
pub lookup_advice: Vec<Vec<Column<Advice>>>,
pub q_lookup: Vec<Option<Selector>>,
pub lookup: TableColumn,
/* private fields */
}Fields§
§gate: FlexGateConfig<F>Underlying Gate Configuration
lookup_advice: Vec<Vec<Column<Advice>>>Special advice (witness) Columns used only for lookup tables.
Each phase of a halo2 circuit has a distinct lookup_advice column.
- If
gatehas only 1 advice column, lookups are enabled for that column, in which caselookup_adviceis empty - If
gatehas more than 1 advice column some number of user-specifiedlookup_advicecolumns are added- In this case, we don’t need a selector so
q_lookupis empty
- In this case, we don’t need a selector so
q_lookup: Vec<Option<Selector>>Selector values for the lookup table.
lookup: TableColumnColumn for lookup table values.