SimGraphTypes Module
Types
Functions and values
| Function or value | Description |
|
|
Full Usage:
assembleArithmetic width expLst
Parameters:
int
expLst : FastAlgExp list
Returns: FastAlgExp
|
|
Full Usage:
b2s b
Parameters:
bigint
Returns: string
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The structural form of 2*exp truncated to width: exp's bits shifted up one, LSB 0. Degenerates to the constant 0 at width 1 (2A = 0 mod 2). Doubling also has the arithmetic form A + A; the two simplify in different contexts - the structural form merges with bit ranges and appends, the arithmetic form cancels against negated terms.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
foldAppends expressions
Parameters:
FastAlgExp list
Returns: FastAlgExp list
|
|
|
|
|
|
Full Usage:
getBitsFromBigInt msb lsb x
Parameters:
int
lsb : int
x : bigint
Returns: bigint
|
|
Full Usage:
getBitsFromBigIntToUInt32 msb lsb x
Parameters:
int
lsb : int
x : bigint
Returns: uint32
|
|
Full Usage:
getBitsFromUInt32 msb lsb x
Parameters:
int
lsb : int
x : uint32
Returns: uint32
|
|
|
|
Full Usage:
tryBitwiseOperation expressions
Parameters:
FastAlgExp list
Returns: FastAlgExp option
|
|
Full Usage:
tryMergeBitRanges (l1, u1, exp1) (l2, u2, exp2)
Parameters:
int
u1 : int
exp1 : FastAlgExp
l2 : int
u2 : int
exp2 : FastAlgExp
Returns: FastAlgExp option
|
|
|
|
|
|
|
|