pub type MIPSTrace = Trace<N_MIPS_COLS, DecomposableMIPSFoldingConfig>;
Expand description
The MIPS instruction trace
Trait Implementations§
source§impl Tracer<N_MIPS_REL_COLS, DecomposableMIPSFoldingConfig, Env<<<DecomposableMIPSFoldingConfig as FoldingConfig>::Curve as AffineRepr>::ScalarField>> for MIPSTrace
impl Tracer<N_MIPS_REL_COLS, DecomposableMIPSFoldingConfig, Env<<<DecomposableMIPSFoldingConfig as FoldingConfig>::Curve as AffineRepr>::ScalarField>> for MIPSTrace
type Selector = ()
source§fn init(
domain_size: usize,
instr: Instruction,
env: &mut Env<<<DecomposableMIPSFoldingConfig as FoldingConfig>::Curve as AffineRepr>::ScalarField>
) -> Self
fn init( domain_size: usize, instr: Instruction, env: &mut Env<<<DecomposableMIPSFoldingConfig as FoldingConfig>::Curve as AffineRepr>::ScalarField> ) -> Self
Initialize a new trace with the given domain size, selector, and environment.
source§fn push_row(
&mut self,
_selector: Self::Selector,
row: &[<<DecomposableMIPSFoldingConfig as FoldingConfig>::Curve as AffineRepr>::ScalarField; 100]
)
fn push_row( &mut self, _selector: Self::Selector, row: &[<<DecomposableMIPSFoldingConfig as FoldingConfig>::Curve as AffineRepr>::ScalarField; 100] )
Add a witness row to the circuit (only for relation columns)
source§fn pad_with_row(
&mut self,
_selector: Self::Selector,
row: &[<<DecomposableMIPSFoldingConfig as FoldingConfig>::Curve as AffineRepr>::ScalarField; 100]
) -> usize
fn pad_with_row( &mut self, _selector: Self::Selector, row: &[<<DecomposableMIPSFoldingConfig as FoldingConfig>::Curve as AffineRepr>::ScalarField; 100] ) -> usize
Pad the rows of one opcode with the given row until
reaching the domain size if needed.
Returns the number of rows that were added.
It does not add selector columns.
source§fn pad_with_zeros(&mut self, _selector: Self::Selector) -> usize
fn pad_with_zeros(&mut self, _selector: Self::Selector) -> usize
Pads the rows of one opcode with zero rows until
reaching the domain size if needed.
Returns the number of rows that were added.
It does not add selector columns.