Turbo Intel® FPGA IP User Guide

ID 683734
Date 9/30/2021

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

2.6.1. Encoder Simulation

  1. Go to the <example_design_directory>\c\ directory.
  2. Compile the C code:
    For LTE, type the following command:
    >> gcc -lm main_lte_enc.c -o run_enc
    For UMTS, type the following command:
    >> gcc -lm main_umts_enc.c -o run_enc
  3. Run the executable without arguments.
    Note: The executable reads /test_data/ctc_encoder_input.txt and ./test_data/ctc_encoder_input_info.txt as inputs. The executable generates /test_data/ctc_encoder_output_gold.txt as output. The RTL simulation uses the same input .txt files. The output .txt file provides a golden output, which may be used to check the correctness of the output from RTL simulations.