Skip to content

slampoud/ldpcspa_cwit

Repository files navigation

Sept. 13, 2012

LDPCSPA (Low Density Parity Check - Sum Product Algorithm)

This code was used to obtain the results presented in: 

Lampoudi, S.; Brevik, J.; O'Sullivan, M.E.;  
"Combinatorial Properties as Predictors for the Performance of the 
Sum-Product Algorithm," 12th Canadian Workshop on Information Theory 
(CWIT), pp.134-138, 17-20 May 2011.

Authors: 	Rich Wolski (wolski@cs.ucsb.edu)
		Sotiria Lampoudi (slampoud@cs.ucsb.edu)

-------------------------------------------------------------------------
Copyright (c) 2007, Regents of the University of California

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.  

Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.  Neither the name of the
University of California, Santa Barbara nor the names of its contributors may
be used to endorse or promote products derived from this software without
specific prior written permission.  In addition, permission to use, copy,
modify, and distribute this software and its documentation for educational,
research and non-profit purposes, without fee, and without a written agreement
is hereby granted.  Permission to incorporate this software into commercial
products may be obtained by contacting the University of California, Santa
Barbara's Sponsored Projects Office through

SHERYLLE MILLS ENGLANDER
Director
Office of Technology & Industry Alliances
552 University Ave.
Trailer #342
University of California, Santa Barbara
Santa Barbara, CA 93106
Mail Code: 2055
englander@research.ucsb.edu

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-------------------------------------------------------------------------

Compiling the code: on a UNIX machine with a C compiler (we have tested with
gcc), and GNU make, edit the Makefile to match your compiler and type 'make'.

We have included an example matrix file (example_graph.g) to illustrate the 
matrix format. 
The matrix file is a simple text file. The first entry gives the number of 
checks (141 in our example); the second entry gives the number of bits (282
in our example). The subsequent entries each represent an edge between a 
a check and a bit, in check:bit format. The checks and bits are numbered
starting at zero (0). The entries are separated by a single space. 

For example, you could use the given matrix file like so:
./ldpcspa -g example_graph.g -s 4 -R 0.5 -F 1000 -Q 
where the signal-to-noise ratio is 4, the rate is 0.5, the decoder generates
1000 random frames, and the printing out of frames that failed to decode is 
suppressed (by -Q). 

Running the binary without arguments, like so:
./ldpcspa
will result in a message explaining the commandline options.

Please do not hesitate to contact slampoud@cs.ucsb.edu for clarifications.

About

LDPC implementation used for the CWIT 2011 paper.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published