MT Hamming Encoder (Non-Systematic, Message-Generator Product)
- Updated2023-02-17
- 3 minute(s) read
MT Hamming Encoder (Non-Systematic, Message-Generator Product)
Encodes the data words using non-systematic methods. In the encoded code words, the whole data word sequence might not be explicitly present. The code word is generated as a finite field polynomial multiplication of the information and the generator polynomial.
Generates an order-m Hamming-encoded bit stream. The order-m Hamming codes are specialized Bose-Chaudhari-Hocquenghem (BCH) codes in which the data word length equals 2m-m-1, code word length equals 2m-1, and the error correcting capacity equals 1. Valid values of m are 2 to 16, inclusive.
Inputs/Outputs

input bit stream
Bit sequence representing the data bits to encode. Use the bits generated by MT Generate Bits to produce this bit stream or wire a custom data bit stream to this parameter.

hamming order
The Hamming order m sets the Hamming code with data word length equaling 2m-m-1 and code word length equaling 2m-1. Valid values are 2 to 16, inclusive.
Default value: 3

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

reset?
A Boolean that determines whether the internal state of the encoder is cleared.
| TRUE | Clears any buffered bits from previous iterations. Also initializes the Galois field structure corresponding to the Hamming code values. |
| FALSE | Continues encoding from the previous iteration. Any buffered bits from the previous iteration are added to the beginning of the input bit stream prior to encoding. |
Default value: TRUE

output bit stream
Bit sequence encoded by this node.

error out
Error information.
The node produces this output according to standard error behavior.