Word
busylight_core.word
¶
Bitwise operations on a word of bits.
Classes¶
busylight_core.word.Word
¶
A class representing a word of bits, with methods for bit manipulation.
Initialize a Word of length bits with the given value.
Source code in src/busylight_core/word.py
busylight_core.word.ReadOnlyBitField
¶
A class representing a read-only bit field within a word.
Initialize a bitfield with the given offset and width.
Source code in src/busylight_core/word.py
busylight_core.word.BitField
¶
Bases: ReadOnlyBitField
A class representing a mutable bit field within a word.
Initialize a bitfield with the given offset and width.