Lookup

Type Alias Lookup 

Source
pub(crate) type Lookup<F> = RAMLookup<F, LookupTableIDs>;
Expand description

The lookups struct based on RAMLookups for the VM table IDs

Aliased Type§

pub(crate) struct Lookup<F> {
    pub(crate) table_id: LookupTableIDs,
    pub(crate) mode: LookupMode,
    pub(crate) magnitude: F,
    pub(crate) value: Vec<F>,
}

Fields§

§table_id: LookupTableIDs

The table ID corresponding to this lookup

§mode: LookupMode

Whether it is a read or write lookup

§magnitude: F

The number of times that this lookup value should be added to / subtracted from the lookup accumulator.

§value: Vec<F>

The columns containing the content of this lookup