EvalKernel Module
Functions and values
| Function or value | Description |
Full Usage:
algAnd exp1 exp2
Parameters:
FastAlgExp
exp2 : FastAlgExp
Returns: FastAlgExp
Modifiers: inline |
|
Full Usage:
algGate gateType
Parameters:
GateComponentType
Returns: FastAlgExp -> FastAlgExp -> FastAlgExp
Modifiers: inline |
|
Full Usage:
algNand exp1 exp2
Parameters:
FastAlgExp
exp2 : FastAlgExp
Returns: FastAlgExp
Modifiers: inline |
|
Full Usage:
algNor exp1 exp2
Parameters:
FastAlgExp
exp2 : FastAlgExp
Returns: FastAlgExp
Modifiers: inline |
|
|
|
Full Usage:
algOr exp1 exp2
Parameters:
FastAlgExp
exp2 : FastAlgExp
Returns: FastAlgExp
Modifiers: inline |
|
Full Usage:
algXnor exp1 exp2
Parameters:
FastAlgExp
exp2 : FastAlgExp
Returns: FastAlgExp
Modifiers: inline |
|
Full Usage:
algXor exp1 exp2
Parameters:
FastAlgExp
exp2 : FastAlgExp
Returns: FastAlgExp
Modifiers: inline |
|
Full Usage:
assertThat cond msg
Parameters:
bool
msg : string
Modifiers: inline |
|
Full Usage:
bitAnd bit0 bit1
Parameters:
^a
bit1 : ^a
Returns: ^a
Modifiers: inline Type parameters: ^a |
|
Full Usage:
bitGate gateType
Parameters:
GateComponentType
Returns: ^a -> ^a -> ^a
Modifiers: inline Type parameters: ^a |
|
Full Usage:
bitNand bit0 bit1
Parameters:
uint32
bit1 : uint32
Returns: uint32
Modifiers: inline |
|
Full Usage:
bitNor bit0 bit1
Parameters:
uint32
bit1 : uint32
Returns: uint32
Modifiers: inline |
|
Full Usage:
bitNot bit
Parameters:
uint32
Returns: uint32
Modifiers: inline |
|
Full Usage:
bitNotB width bit
Parameters:
int32
bit : BigInteger
Returns: BigInteger
Modifiers: inline |
|
Full Usage:
bitOr bit0 bit1
Parameters:
^a
bit1 : ^a
Returns: ^a
Modifiers: inline Type parameters: ^a |
|
Full Usage:
bitXnor bit0 bit1
Parameters:
uint32
bit1 : uint32
Returns: uint32
Modifiers: inline |
|
Full Usage:
bitXor bit0 bit1
Parameters:
^a
bit1 : ^a
Returns: ^a
Modifiers: inline Type parameters: ^a |
|
Full Usage:
extractBit fd busWidth
Parameters:
FastData
busWidth : int
Returns: uint32
Modifiers: inline |
|
Full Usage:
extractBitFData fd_ busWidth
Parameters:
FData
busWidth : int
Returns: uint32
Modifiers: inline |
|
Full Usage:
getBinaryOp gateType
Parameters:
GateComponentType
Returns: uint32 -> uint32 -> uint32
Modifiers: inline |
|
Full Usage:
getRamState step state
Parameters:
int
state : StepArray<SimulationComponentState> option
Returns: SimulationComponentState
|
The state-array entry a RAM's store lives in. Every step holds the *same* entry: the store is mutable and shared, so what a slot records is which memory this is, not what it contained. Reducers therefore fetch this value and put the very same object back rather than building `RamState store` again - constructing that union case allocates, and a fresh one per clock is precisely the per-step cost this design exists to remove.
|
Full Usage:
getRamStore step state
Parameters:
int
state : StepArray<SimulationComponentState> option
Returns: Ram
|
|
|
|
Full Usage:
incrementWithinWidth width lastOut
Parameters:
int
lastOut : uint32
Returns: uint32
Modifiers: inline |
Increment, wrapping to 0 at 2^width. Used by the counters on the uint32 path, which counted in bigint and so allocated several heap bigints per component per step on what is meant to be the fast path. At width 32 uint32 addition wraps to 0 of its own accord, which is the wanted result, and the wrap test cannot be written there in any case since 1u <<< 32 is 1u.
|
|
|
|
|
|
|
Full Usage:
readMemoryAddrBigIntDataBigInt mem address
Parameters:
Memory1
address : bigint
Returns: bigint
|
|
Full Usage:
readMemoryAddrBigIntDataUInt32 mem address
Parameters:
Memory1
address : bigint
Returns: uint32
|
|
Full Usage:
readMemoryAddrUInt32DataBigInt mem address
Parameters:
Memory1
address : uint32
Returns: bigint
|
|
Full Usage:
readMemoryAddrUInt32DataUInt32 mem address
Parameters:
Memory1
address : uint32
Returns: uint32
|
|
|
|
Full Usage:
readRamAddrBigIntDataBigInt ram address
Parameters:
Ram
address : bigint
Returns: bigint
|
|
Full Usage:
readRamAddrBigIntDataUInt32 ram address
Parameters:
Ram
address : bigint
Returns: uint32
|
|
Full Usage:
readRamAddrUInt32DataBigInt ram address
Parameters:
Ram
address : uint32
Returns: bigint
|
|
Full Usage:
readRamAddrUInt32DataUInt32 ram address
Parameters:
Ram
address : uint32
Returns: uint32
|
|
|
|
Full Usage:
writeRamAddrBigIntDataBigInt ram step address data
Parameters:
Ram
step : int
address : bigint
data : bigint
|
|
Full Usage:
writeRamAddrBigIntDataUInt32 ram step address data
Parameters:
Ram
step : int
address : bigint
data : uint32
|
|
Full Usage:
writeRamAddrUInt32DataBigInt ram step address data
Parameters:
Ram
step : int
address : uint32
data : bigint
|
|
Full Usage:
writeRamAddrUInt32DataUInt32 ram step address data
Parameters:
Ram
step : int
address : uint32
data : uint32
|
|
|