MT RS Symbol Encoder (shortened)
- Updated2023-02-17
- 4 minute(s) read
MT RS Symbol Encoder (shortened)
Generates a Reed-Solomon (RS) encoded integer symbol stream in a shortened format. In the shortened RS codes, the k and n values represent symbols. Each symbol has a length, m bits, specified using the bits per RS symbol parameter.
RS codes are specialized Bose-Chaudhari-Hocquenghem (BCH) codes in which the code elements are drawn from the Galois field, GF(2m). RS codes are extremely powerful at burst error correction. The operations involved in Reed-Solomon encoding and decoding are performed in the GF(2m). The RS encoder operates on code words that are symbols or groups of bits. The parameters code word length (n), symbols and data word length (k), symbols are specified in terms of symbols. Each symbol represents a group of Log2(n+1) bits.
Specify a shortened RS code by stating the shortened values of n and k, as well as the bits per symbol that correspond to the underlying Galois field arithmetic. For example, you can specify code word length (n), symbols as 32, data word length (k), symbols as 28, and bits per RS symbol as 8 to generate a shortened RS (32,28,2) code with error-correcting capacity of two RS symbols. For this code, the underlying Galois field arithmetic is performed in GF(28) = 256.
.png?_LANG=enus)
Inputs/Outputs

input symbols
The array of integer symbols to be encoded using the RS encoding scheme. Use MT Generate Bits followed by MT Pack Bits to generate the integer symbols required for this parameter.

code word length (n), symbols
The length of the Reed-Solomon (RS) code word. Each RS symbol represents log2(n+1) bits.
Default value: 7

data word length (k), symbols
The length of the Reed-Solomon (RS) data word. Each RS symbol represents log2(n+1) bits.
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

modulation session
The modulation session for configuring selected properties of the Modulation nodes. Use this parameter to configure the advanced properties in the MT RS Symbol Encoder nodes. If MT RS Symbol Encoder is called with an uninitialized modulation session, the node returns an error.
Default value: 0

bits per rs symbol
The number of bits per Reed-Solomon (RS) symbol. This parameter sets the Galois field over which the encoding operation is performed as GF(2bits per rs symbol). Valid values are 3 to 16, inclusive. For example, to set a shortened RS (32,28) code in the Galois field GF(256), set code word length (n), symbol as 32 symbols, data word length (k), symbol as 28 symbols, and bits per rs symbol as 8.
Default value: 3

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 Reed-Solomon n, k 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 symbols
The encoded integer symbol stream. Wire this parameter to the MT RS Symbol Decoder nodes to recover the input data stream.

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