|
@@ -1,7 +1,6 @@
|
|
|
//! Make use of a K-bit lookup table to decompose a field element into K-bit
|
|
//! Make use of a K-bit lookup table to decompose a field element into K-bit
|
|
|
//! words.
|
|
//! words.
|
|
|
|
|
|
|
|
-use crate::spec::lebs2ip;
|
|
|
|
|
use halo2::{
|
|
use halo2::{
|
|
|
circuit::{Layouter, Region},
|
|
circuit::{Layouter, Region},
|
|
|
plonk::{Advice, Column, ConstraintSystem, Error, Selector, TableColumn},
|
|
plonk::{Advice, Column, ConstraintSystem, Error, Selector, TableColumn},
|
|
@@ -11,6 +10,8 @@ use std::{convert::TryInto, marker::PhantomData};
|
|
|
|
|
|
|
|
use ff::PrimeFieldBits;
|
|
use ff::PrimeFieldBits;
|
|
|
|
|
|
|
|
|
|
+use crate::spec::lebs2ip;
|
|
|
|
|
+
|
|
|
use super::*;
|
|
use super::*;
|
|
|
|
|
|
|
|
/// The running sum $[z_0, ..., z_W]$. If created in strict mode, $z_W = 0$.
|
|
/// The running sum $[z_0, ..., z_W]$. If created in strict mode, $z_W = 0$.
|