Table Of Contents

MT Golay Decoder (G Dataflow)

Version:
    Last Modified: February 7, 2018

    Decodes a 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 node 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.

    connector_pane_image
    datatype_icon

    input bit stream

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

    spd-note-tip
    Tip  

    To ensure that the output bit stream returned by the Golay decoder corresponds to the complete message, give input bit stream 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 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 next iteration if reset? is set to FALSE.

    datatype_icon

    golay code type

    The values of the code word length (n), data word length (k), and error correcting capacity (t), in bits.

    Name Description
    Golay (23,12,3)

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

    Golay (24,12,3)

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

    Default: Golay (23,12,3)

    datatype_icon

    error in

    Error conditions that occur before this node runs.

    The node responds to this input according to standard error behavior.

    Standard Error Behavior

    Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Default: No error

    datatype_icon

    reset?

    A Boolean that determines whether the internal state of the decoder is cleared.

    TRUE Clears any buffered bits from previous iterations.
    FALSE Continues decoding from the previous iteration. Any buffered bits from the previous iteration are added to the beginning of the input bit stream prior to decoding.

    Default: TRUE

    datatype_icon

    output bit stream

    Bit sequence decoded by this node.

    datatype_icon

    error out

    Error information.

    The node produces this output according to standard error behavior.

    Standard Error Behavior

    Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Not supported

    Web Server: Not supported in VIs that run in a web application


    Recently Viewed Topics