C Model - 1.1 English

Soft-Decision FEC Integrated Block LogiCORE IP Product Guide (PG256)

Document ID
PG256
Release Date
2022-10-19
Version
1.1 English

This chapter details the C Model provided with the core.

The bit accurate C model is a self-contained, linkable, shared library that models the functionality of the SD-FEC core with finite precision. The model consists of a set of C functions that reside in a shared library. The model is bit accurate but not cycle-accurate; it does not model the core latency or its interface signals. Example C code is provided to demonstrate how these functions form the interface to the C model.

The C model has been tested on Linux using GCC 4.4.7 and 4.8.0, and on Windows using Visual Studio 2012 and MinGW GCC 4.9.0. MATLAB® R2013a has been used.

Note: The shared object and DLL are statically linked with libstdc++, ensuring it has access to the correct version.