MT Golay Decoder VI

LabView Digital Modulation

MT Golay Decoder VI

Decodes an Golay-encoded bit stream. The decoder provides the two triple-correcting Golay codes: the Golay (23,12,3) code and the extended Golay (24,12,3) code. This VI uses the Arithmetic decoding algorithm for decoding the Golay (23,12,3) encoded bit stream and the Kasami error-trapping decoding algorithm for decoding the extended Golay (24,12,3) encoded bit stream.

Details

MT Golay Decoder

c1di8.gif

input bit stream specifies the bit sequence representing the Golay-encoded bits to decode. You can use the MT Golay Encoder VI to generate the encoded bit stream.

Tip   To ensure that the output bit stream returned by the Golay decoder corresponds to the complete message, specify an input bit stream with a length that is an integer multiple of 23 (for the Golay (23,12,3) code) or 24 (for the Golay (24,12,3) code). If the length of the input bit stream is not an integer multiple of 23 or 24, the last {length(input bit stream) modulo 23} bits are buffered in the decoder {length(input bit stream) modulo 24} bits (for Golay (24,12,3) code). These bits are added to the beginning of the incoming bit stream during the beginning of the next iteration if reset? is set to FALSE.
cenum.gif

Golay code type (n,k,t) specifies the values of n, k, and t that define the code word length, data word length, and error correcting capacity, respectively, in bits.

Golay (23,12,3) (0)

The (n,k,t) values are (23, 12, 3). This is the default value.

Golay (24,12,3) (1)

The (n,k,t) values are (24, 12, 3).

cbool.gif

reset? specifies whether to clear the internal state of the decoder. By default, the VI resets on first call. When reset? is set to TRUE, the VI clears any buffered bits from previous iteration. When reset? is set to FALSE, the VI continues Golay decoding from the previous iteration. In this case, any buffered bits from the previous iteration are added to the beginning of the input bit stream prior to performing Golay decoding. The default is TRUE.

ccclst.gif

error in (no error) can accept error information wired from previously called VIs. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. Right-click the front panel error in control and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

cbool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the front panel error in control and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

ci32.gif

code identifies the error or warning code. Right-click the front panel error in control and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

cstr.gif

source describes the origin of the error or warning. Right-click the front panel error in control and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

i1di8.gif

output bit stream returns the decoded bit stream.

icclst.gif

error out passes error or warning information out of a VI to be used by other VIs. Right-click the front panel error out indicator and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the front panel error out indicator and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

ii32.gif

code is the error or warning code. Right-click the front panel error out indicator and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

istr.gif

source describes the origin of the error or warning. Right-click the front panel error out indicator and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

Details

For further details, refer to

Wicker, Stephen B. Error Control Systems for Digital Communications and Storage. Englewood Cliffs: Prentice-Hall, 1995.

Lin, S. and DJ Costello, Jr. Error Control Coding: Fundamentals and Applications. Englewood Cliffs: Prentice-Hall, 1983.