#[repr(C)]pub struct SyscallInstrColumns<T> {Show 19 fields
pub pc: T,
pub next_pc: T,
pub shard: T,
pub clk: T,
pub num_extra_cycles: T,
pub is_halt: T,
pub op_a_access: MemoryReadWriteCols<T>,
pub op_b_value: Word<T>,
pub op_c_value: Word<T>,
pub is_enter_unconstrained: IsZeroOperation<T>,
pub is_hint_len: IsZeroOperation<T>,
pub is_halt_check: IsZeroOperation<T>,
pub is_commit: IsZeroOperation<T>,
pub is_commit_deferred_proofs: IsZeroOperation<T>,
pub index_bitmap: [T; 8],
pub operand_range_check_cols: BabyBearWordRangeChecker<T>,
pub operand_to_check: Word<T>,
pub ecall_range_check_operand: T,
pub is_real: T,
}Fields§
§pc: TThe program counter of the instruction.
next_pc: TThe next program counter.
shard: TThe shard number.
clk: TThe clock cycle number.
num_extra_cycles: TThe number of extra cycles to add to the clk for a syscall instruction.
is_halt: TWhether the current instruction is a halt instruction. This is verified by the is_halt_check operation.
op_a_access: MemoryReadWriteCols<T>The access columns for the first operand.
op_b_value: Word<T>The value of the second operand.
op_c_value: Word<T>The value of the third operand.
is_enter_unconstrained: IsZeroOperation<T>Whether the current ecall is ENTER_UNCONSTRAINED.
is_hint_len: IsZeroOperation<T>Whether the current ecall is HINT_LEN.
is_halt_check: IsZeroOperation<T>Whether the current ecall is HALT.
is_commit: IsZeroOperation<T>Whether the current ecall is a COMMIT.
is_commit_deferred_proofs: IsZeroOperation<T>Whether the current ecall is a COMMIT_DEFERRED_PROOFS.
index_bitmap: [T; 8]Field to store the word index passed into the COMMIT ecall. index_bitmap[word index] should be set to 1 and everything else set to 0.
operand_range_check_cols: BabyBearWordRangeChecker<T>Columns to babybear range check the halt/commit_deferred_proofs operand.
operand_to_check: Word<T>The operand value to babybear range check.
ecall_range_check_operand: TThe result of is_real * (is_halt || is_commit_deferred_proofs)
is_real: TWhether the current instruction is a real instruction.
Trait Implementations§
Source§impl<T> Borrow<SyscallInstrColumns<T>> for [T]
impl<T> Borrow<SyscallInstrColumns<T>> for [T]
Source§fn borrow(&self) -> &SyscallInstrColumns<T>
fn borrow(&self) -> &SyscallInstrColumns<T>
Source§impl<T> BorrowMut<SyscallInstrColumns<T>> for [T]
impl<T> BorrowMut<SyscallInstrColumns<T>> for [T]
Source§fn borrow_mut(&mut self) -> &mut SyscallInstrColumns<T>
fn borrow_mut(&mut self) -> &mut SyscallInstrColumns<T>
Source§impl<T: Clone> Clone for SyscallInstrColumns<T>
impl<T: Clone> Clone for SyscallInstrColumns<T>
Source§fn clone(&self) -> SyscallInstrColumns<T>
fn clone(&self) -> SyscallInstrColumns<T>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<T: Debug> Debug for SyscallInstrColumns<T>
impl<T: Debug> Debug for SyscallInstrColumns<T>
Source§impl<T: Default> Default for SyscallInstrColumns<T>
impl<T: Default> Default for SyscallInstrColumns<T>
Source§fn default() -> SyscallInstrColumns<T>
fn default() -> SyscallInstrColumns<T>
impl<T: Copy> Copy for SyscallInstrColumns<T>
Auto Trait Implementations§
impl<T> Freeze for SyscallInstrColumns<T>where
T: Freeze,
impl<T> RefUnwindSafe for SyscallInstrColumns<T>where
T: RefUnwindSafe,
impl<T> Send for SyscallInstrColumns<T>where
T: Send,
impl<T> Sync for SyscallInstrColumns<T>where
T: Sync,
impl<T> Unpin for SyscallInstrColumns<T>where
T: Unpin,
impl<T> UnwindSafe for SyscallInstrColumns<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more