Module basic_translators

Source

Structsยง

ASCIITranslator
BinaryTranslator
BitTranslator
GroupingBinaryTranslator
HexTranslator
IdenticalMSBsTranslator
LeadingOnesTranslator
LeadingZerosTranslator
LebTranslator
NumberOfOnesTranslator
OctalTranslator
TrailingOnesTranslator
TrailingZerosTranslator

Functionsยง

check_vector_variable
Turn vector variable string into name and corresponding color if it includes values other than 0 and 1. If only 0 and 1, return None.
check_wordlength ๐Ÿ”’
color_for_binary_representation ๐Ÿ”’
Return kind for a binary representation
decode_lebxxx ๐Ÿ”’
extend_string ๐Ÿ”’
VCD bit extension
group_n_chars
map_to_radix ๐Ÿ”’
Map to radix-based representation, in practice hex or octal
no_of_digits
Number of digits for digit_size, simply ceil(num_bits/digit_size)