Code Monkey home page Code Monkey logo

ldpc-simulation's Introduction

LDPC Simulation

Overview

This is a C language implementation of an LDPC (Low-Density Parity-Check) decoder. LDPC codes are a type of error-correcting codes widely used in data communication and storage systems to improve the reliability of data transmission.

Features

  • Supports flood algorithm and layer algorithm.
  • Supports spa algorithm, ms algorithm and self-correct ms algorithm.
  • Provides functions for matrix simplification, encoding, decoding, and error rate calculation.
  • Supports different Signal-to-Noise Ratio (SNR) settings and configurable number of decoding iterations.

Usage

  1. Initialize LDPC Decoder: Referencing the H.txt format, use the ldpc_init function to initialize the decoder.
  2. Set Configuration: Set parameters such as SNR, number of iterations and decode algorithm using the ldpc_set_config function.
  3. Calculate Error Rates: Use the ldpc_simulation function to calculate the bit error rate and block error rate.

Compilation and Execution

  • Compile the Code: Compile the source code using a C compiler (such as gcc).
  • Execute: Run the compiled executable and perform tests.

Notes

  • Ensure understanding of each parameter and function in the code before use.
  • Modifications and adjustments may be necessary depending on specific application requirements.

ldpc-simulation's People

Contributors

aa876433 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.