This ASIC compresses ASCII characters into Huffman codes, using a lookup table.
Send an ASCII character to ui[6:0], set ui[7] = 1 (Load), wait for valid_out = 1, then read the Huffman code from uo and uio.
To communicate with the ASIC, you need either the RP2040 or an external MCU to send ASCII input and read the compressed Huffman output.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | ASCII_in[0] | Huffman_out[0] | Huffman_out[8] |
1 | ASCII_in[1] | Huffman_out[1] | Huffman_out[9] |
2 | ASCII_in[2] | Huffman_out[2] | Valid_out |
3 | ASCII_in[3] | Huffman_out[3] | Bit_length[0] |
4 | ASCII_in[4] | Huffman_out[4] | Bit_length[1] |
5 | ASCII_in[5] | Huffman_out[5] | Bit_length[2] |
6 | ASCII_in[6] | Huffman_out[6] | Bit_length[3] |
7 | Load | Huffman_out[7] |