Skip to content

lutgaru/gr-bchcoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BCH encoder and decoder blocks for gnuradio

Author: lutgaru

is a BCH encoder and decoder blocks for gnuradio, it is based in part on the project https://www.rajivchakravorty.com/source-code/uncertainty/multimedia-sim/html/index.html

and the File: bch3.c from book Encoder/decoder for binary BCH codes in C (Version 3.1) from Author: Robert Morelos-Zaragoza ([email protected]) August 1994

example of use: QPSK simulation with bch encoding

alt text

installation instructions

clone repository

git clone https://gitlab.com/lutgaru/gr-bchcoder.git

access to dir

cd gr-bchcoder

for 3.7

run this command before install

git checkout for3.7

for 3.8+

create a build directory

  • mkdir build
  • cd build

make a project

  • cmake ../
  • make

install module

sudo make install

call a ldconfig

sudo ldconfig

if the block cannot be accessed you can try the following

make a radiooutoftree.conf in /etc/ld.so.conf.d/

sudo nano /etc/ld.so.conf.d/radiooutoftree.conf

and add into /usr/local/lib