资源简介
// A non-binary LDPC decoding simulator
//
// This decoder is extended from a decoder by
//
// Seishi Takamura @ Stanford University / NTT (Nippon Telegraph and Telephone)
多进制LDPC码译码算法,有助于帮助研究多元LDPC码的研究生、博士生,代码基于C++平台,运行良好,译码结果与文献相符合。
代码片段和文件信息
// =======================================================================================================//
//
// A non-binary LDPC decoding simulator
//
// This decoder is extended from a decoder by
//
// Seishi Takamura @ Stanford University / NTT (Nippon Telegraph and Telephone)
//
// The original version can be acquired on the website
//
// http://ivms.stanford.edu/~varodayan/multilevel/index.html
//
// I added additional functionalities as follow:
//
// 1. Add the BPSK-AWGN channel to simulate the environment with AWGN over BPSK transmission.
// 2. Enable the node puncturing. This decoder is able to simulate the decoding process with the codes with
// puncuted nodes. The node puncturing can be set at the end of code files.
// 3. Enable the simulations with fixed random seeds. based on the library of random generators by
// Steve Park and Dave Geyer the decoder can simulate the decoding process with a fixed series of
// noise. Please refer to rngs.cpp and rvgs.cpp for more details about the random generator.
//
// Although there is absolutely no warranty this decoder has demonstrated consistent results with the following works:
//
// [1] C. Chen B. Bai and X. Wang “Construction of Nonbinary Quasi-Cyclic LDPC Cycle Codes based on Singer Perfect
// Difference Set“ IEEE Comm. Letters vol. 14 no. 2 pp. 181-183 Feb. 2010.
// [2] D. Declercq and M. Fossorier “Decoding Algorithms for Nonbinary LDPC Codes Over GF(q)“ IEEE Trans. on Comm.
// vol. 55 no. 4 pp. 633-643 April 2007.
// [3] Y. Li L. Wang and J. Chen “The Design and Simulation of q-ary LDPC Codes based on the PEG algorithm“ EURASIP
// IST Mobile & Wireless Comm. Summit Dresden Germany June 2005.
// [4] L. Zeng L. Lan Y. Tai S. Song S. Lin and K. Abdel-Ghaffar “Constructions of Nonbinary Quasi-Cyclic LDPC Codes:
// A Finite Field Approach“ IEEE Trans. on Comm. vol. 56 no. 4 pp. 545-554 April 2008.
//
// File Name : NB_LDPC.cpp (non-binary LDPC decoding simulator)
// Authors : Ben-Yue Chang @ University of California Los Angeles
// Language : C++
// Latest Revision : 02/10/2012
//
// =======================================================================================================//
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include “rvgs.h“
#include “rngs.h“
#include “stdafx.h“
#include “explogtable.h“
using namespace std;
#ifdef LONGLONG//条件编译什么意思?
typedef long long int NTT; // 8-byte int (for both VC and gcc)
#else
typedef int NTT;
#endif
#define REP(iab) for(int i=a;i#define eREP(iab) for(int i=a;i<=b;++i)
#define uREP(iab) for(i=a;i#define RESET(vts) memset(v0sizeof(t)*(s))
#define GF_add(a b) ((a)^(b))
#define GF_sub(a b) ((a)^(b))
#define
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 7562 2012-08-23 21:13 nbldpc\2048_1024_CNBPB_GF256.dat
文件 1748 2012-08-23 21:13 nbldpc\512_256_UNBPB_GF256_g12.dat
文件 4861 2012-08-23 21:16 nbldpc\binary_204_102_5.dat
文件 134058 2012-08-24 00:26 nbldpc\binary_4000_2000_5.dat
文件 10675 2012-08-23 20:58 nbldpc\binary_408_204_5.dat
文件 278058 2012-08-24 01:04 nbldpc\binary_8000_4000_5.dat
文件 2096 2012-08-23 20:53 nbldpc\binary_96_48_5.dat
文件 23141 2012-05-04 12:53 nbldpc\binary_ldpc_code.dat
文件 30504 2012-05-09 00:03 nbldpc\binary_ldpc_code3732.dat
文件 1463145 2012-07-27 11:47 nbldpc\explogtable.h
文件 61541 2012-02-10 15:25 nbldpc\GF16_RE24_2000_1000_PEG.dat
文件 14409 2012-02-10 15:25 nbldpc\GF16_RE24_500_250_PEG.dat
文件 59604 2012-03-29 16:22 nbldpc\GF16_RE28_2000_500_PEG.dat
文件 34303 2012-05-01 21:28 nbldpc\gf4_ldpc.dat
文件 44714 2012-05-09 00:04 nbldpc\gf4_ldpc3732.dat
文件 34303 2012-05-07 13:50 nbldpc\gf8_ldpc.dat
文件 123378 2012-02-10 15:25 nbldpc\GF8_RE24_4000_2000_PEG.dat
文件 253378 2012-02-10 15:25 nbldpc\GF8_RE24_8000_4000_PEG.dat
文件 286 2012-02-10 15:25 nbldpc\Makefile
文件 540 2012-05-09 14:40 nbldpc\modSims
文件 24924 2013-02-25 16:07 nbldpc\NB_LDPC.cpp
文件 7098 2012-02-10 15:25 nbldpc\rngs.cpp
文件 533 2012-02-10 15:25 nbldpc\rngs.h
文件 6499 2012-02-10 15:25 nbldpc\rvgs.cpp
文件 750 2012-02-10 15:25 nbldpc\rvgs.h
文件 295 2012-02-10 15:25 nbldpc\stdafx.cpp
文件 378 2012-02-10 15:25 nbldpc\stdafx.h
目录 0 2013-07-11 19:35 nbldpc
----------- --------- ---------- ----- ----
2622781 28
............此处省略1个文件信息
- 上一篇:自己写的元胞自动机NS模型
- 下一篇:C++自绘柱状图.rar
评论
共有 条评论