Header menu logo issie

BiBits Module

Types

Type Description

BitInt

Functions and values

Function or value Description

addBIBits bits1 bits2 cin

Full Usage: addBIBits bits1 bits2 cin

Parameters:
Returns: BitInt * uint32
bits1 : BitInt
bits2 : BitInt
cin : uint32
Returns: BitInt * uint32

appendBIBits (arg1, arg2) (arg3, arg4)

Full Usage: appendBIBits (arg1, arg2) (arg3, arg4)

Parameters:
Returns: uint32[]

append bits2 on MSB side of bits1

arg0 : BitInt
arg1 : int
arg2 : BitInt
arg3 : int
Returns: uint32[]

binopBIBits op bits1 bits2

Full Usage: binopBIBits op bits1 bits2

Parameters:
    op : uint32 -> uint32 -> uint32
    bits1 : BitInt
    bits2 : BitInt

Returns: BitInt
op : uint32 -> uint32 -> uint32
bits1 : BitInt
bits2 : BitInt
Returns: BitInt

floatCarryBit

Full Usage: floatCarryBit

Returns: float
Returns: float

getBIBit bits pos

Full Usage: getBIBit bits pos

Parameters:
Returns: uint32
bits : BitInt
pos : int
Returns: uint32

getBIBits bits msb lsb

Full Usage: getBIBits bits msb lsb

Parameters:
    bits : BitInt
    msb : int
    lsb : int

Returns: BitInt
bits : BitInt
msb : int
lsb : int
Returns: BitInt

getBIBitsInt bits msb lsb

Full Usage: getBIBitsInt bits msb lsb

Parameters:
    bits : BitInt
    msb : int
    lsb : int

Returns: uint32
bits : BitInt
msb : int
lsb : int
Returns: uint32

getLowerField x width offset

Full Usage: getLowerField x width offset

Parameters:
    x : uint32
    width : int
    offset : int

Returns: uint32
Modifiers: inline

get the lower 'width' bits, return then offset by 'offset' bits

x : uint32
width : int
offset : int
Returns: uint32

getUpperField x width offset

Full Usage: getUpperField x width offset

Parameters:
    x : uint32
    width : int
    offset : int

Returns: uint32
Modifiers: inline

get a field of bits width 'width' offset by 'offset', return the field with 0 offset

x : uint32
width : int
offset : int
Returns: uint32

invertBIBits bits width

Full Usage: invertBIBits bits width

Parameters:
Returns: uint32[]

invert bits1: assuming that width is the bit width of bits1 MS bits not used by bits1 are not inverted.

bits : BitInt
width : int
Returns: uint32[]

Type something to start searching.