naps.cores.compression package¶
Submodules¶
naps.cores.compression.bit_stuffing module¶
-
class
naps.cores.compression.bit_stuffing.
BitStuffer
(*args, src_loc_at=0, **kwargs)¶ Bases:
nmigen.hdl.ir.Elaboratable
stuffs bits from a VariableWidthStream into a dense Stream
-
elaborate
(platform)¶
-
-
class
naps.cores.compression.bit_stuffing.
VariableWidthStream
(payload_shape, name=None, reset_width=0, src_loc_at=1)¶ Bases:
naps.stream.stream.PacketizedStream
A stream that can indicate that only n bits of the payload are relevant.
naps.cores.compression.bit_stuffing_test module¶
naps.cores.compression.encoding_space module¶
naps.cores.compression.huffman_encoder module¶
naps.cores.compression.huffman_encoder_test module¶
naps.cores.compression.rle module¶
-
class
naps.cores.compression.rle.
RleEncodingSpace
(input_range: range, possible_run_lengths_list, zero_value)¶ Bases:
naps.cores.compression.encoding_space.EncodingSpace
-
property
numeric_range
¶
-
property