Table Of Contents

MT Hamming Decoder (MT Hamming Decoder (Systematic)) (G Dataflow)

Version:
    Last Modified: February 7, 2018

    Decodes a code word so that it contains the entire data word sequence unchanged, preceded by the parity words.

    Generates an order-m Hamming-decoded bit stream.

    connector_pane_image
    datatype_icon

    input bit stream

    Bit sequence representing the code word to decode. Use MT Hamming Encoder to generate this encoded bit stream.

    spd-note-tip
    Tip  

    To ensure that the output bit stream returned by this node corresponds to the entire message, set the length of input bit stream to be an integer multiple of the data word length n, where n = 2m-1 and is the length of the Hamming code word. If the length of input bit stream is not an integer multiple of n, the last {length(input bit stream) modulo n} bits are buffered in the encoder. 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.

    datatype_icon

    hamming order

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

    Default: 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. Also initializes the Galois field structure corresponding to the Hamming code values.
    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.
    spd-note-tip
    Tip  

    The initialization of the Galois field structure may consume significant amounts of time for code word lengths greater than 127. Once initialized, the same Galois field structure is used in every iteration thereafter, provided reset? is FALSE. To improve the performance of this node, set reset? to TRUE for the first iteration and FALSE thereafter.

    Default: TRUE

    datatype_icon

    output bit stream

    Bit sequence encoded 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