electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

Reed solomon Code for encoder and decoder


Goto page Previous  1, 2, 3  Next
Post new topic  Reply to topic    EDAboard.com Forum Index -> Digital communication -> Reed solomon Code for encoder and decoder
Author Message
thoothu



Joined: 09 Nov 2007
Posts: 1


Post31 Jan 2008 2:26   

rs codes matlab


can anyone have program for soft decision decoding???
Back to top
shakshi



Joined: 31 Jan 2008
Posts: 1


Post31 Jan 2008 11:07   

reed solomon(14,10)


hiii i got the encoder prog fr rs encoder.. bt findin difficulty in gettin a decoder.

plz help...
Back to top
srilakshmi28



Joined: 12 Feb 2008
Posts: 3


Post12 Feb 2008 3:23   

rs decoder software source code


hi
i am inmplementing rs decoding in my project and i need to use ccsds(255,223) standards i am having a code which is having a primitive element alpha=2,but i need to have alpha=alpha^11,can anyone help me out where i need to change the code.

thanks
Back to top
chin



Joined: 24 Sep 2005
Posts: 54
Helped: 3


Post15 Feb 2008 7:58   

rs code source code


Hi,

You can go through this paper, this will help you,

"Field Programmable Gate Array Implementation of
Reed-Solomon Code, RS(255,239)"


www.ce.rit.edu/~sjyeec/papers/nyworkshop-rs-codec.pdf

"VLSI IMPLEMENTATION OF A ( 255, 223) REED-SOLOMON ERRORCORRECTION
CODEC"


wireless.asti.dost.gov.ph/sitebody/techpapers/ECECONF2001-ReedSolomon.doc

regards,
chin
Back to top
zahedi79



Joined: 01 Nov 2005
Posts: 110
Helped: 3


Post19 Feb 2008 5:24   

project on reed-solomon+matlab


Salam
By my expriments in Verilog codes.
i use these files in MATLAB for simulate.
thats so useful
enjoy all



Sorry, but you need login in to view this attachment

Back to top
yubingz



Joined: 21 Feb 2008
Posts: 20
Helped: 3


Post21 Feb 2008 7:28   

vhdl code for reed solomon


i need points!
Back to top
Google
AdSense
Google Adsense




Post21 Feb 2008 7:28   

Ads




Back to top
ahmad556



Joined: 15 Sep 2007
Posts: 8
Helped: 1


Post03 Mar 2008 6:35   

rs coding in matlab


Hello Everyone.
Can anyone tell me how to earn points in order to download files?
thanx in advance
Back to top
lehio



Joined: 12 Mar 2007
Posts: 7


Post04 Mar 2008 12:51   

reed solomon (31,15) coding


hi all

i need this code
Back to top
badeah



Joined: 26 Mar 2008
Posts: 2


Post27 Mar 2008 6:47   

rs decoding in matlab


pshl wrote:
If you are working with IEEE Std. 802.16-2004, then you might find the following useful which will work both in MATLAB if you have the Communications Toolbox or with Octave (which is available at www.octave.org).

Code:
% Reed-Solomon coding based on the test vectors presented in
% IEEE Std 802.16-2004


%% Input vector x and output vector z taken from Sect. 8.3.3.5.1, p444

x = ['D4';'BA';'A1';'12';'F2';'74';'96';'30'; ...
     '27';'D4';'88';'9C';'96';'E3';'A9';'52'; ...
     'B3';'15';'AB';'FD';'92';'53';'07';'32'; ...
     'C0';'62';'48';'F0';'19';'22';'E0';'91'; ...
     '62';'1A';'C1'];

z = ['49';'31';'40';'BF';'D4';'BA';'A1';'12'; ...
     'F2';'74';'96';'30';'27';'D4';'88';'9C'; ...
     '96';'E3';'A9';'52';'B3';'15';'AB';'FD'; ...
     '92';'53';'07';'32';'C0';'62';'48';'F0'; ...
     '19';'22';'E0';'91';'62';'1A';'C1';'00'];

x = hex2dec(x)'; % This is the input data from the standard
z = hex2dec(z)'; % This how the output data should be

% Note that the parity bytes are first four bytes in the vector z, namely
% '49';'31';'40';'BF' (hex).


%% Define Reed-Solomon coding parameters
m = 8; % Number of bits per symbol
n = 2^m-1; % Length of encoded data (255 for m=8)
k = 239; % Required length of source data (ie RS(255,239) )
t= (n-k)/2;

%% Define the field generator primitive polynomial (D^8+D^4+D^3+D^2+1)
% in decimal form according to eqn.(67), p432.
p = 285;

%% Form the msg vector from the input data. If the input data is shorter
%  than required, prefix it with zeros.
Nzeros = k-length(x)-1; % Calculate how much zero padding to add.
xk=[zeros(1,Nzeros) x 0]; % Make source data. Prefix with zero pads if needed.

%% Creat Galois array from the source data
msg=gf(xk, m, p);

% Calculate the code generator polynomial according to eqn.(66) on p432
% of the standard (note that the 4th argument is 0 in the function call)
% Expanding eqn.(66) gives the following polynomial coefficients:
% 1 59 13 104 189 68 209 30 8 163 65 41 229 98 50 36 59
gen=rsgenpoly(n, k, p, 0);

%% Encode the message
code = rsenc(msg,n,k,gen);
% Note that Octave does not appear to place the parity bytes where expected so some
% sorting is required.

code_new = [code(k+1:k+(t/2)) code(Nzeros+1:k)];




the axample you simulat is using qpsk 3/4 there is mentioned that this modulation use rs code rs(36,40) but in your simulation the length of x is 35 why it's not 36??
i need your answer soon thank you.
Back to top
Sargia



Joined: 17 May 2008
Posts: 3


Post17 May 2008 13:15   

reed solomon (7,3), (255,239)


Hi all,
Right now,I'm working on RS encode and decode.
Need some points.
Back to top
skolem



Joined: 12 Jun 2008
Posts: 1


Post12 Jun 2008 18:47   

reed solomon decoder vhdl


Hello!

Someone could give me points to download the rs_code? I really need it Sad

Thank you very much in advance
Back to top
fontp



Joined: 19 Nov 2004
Posts: 129
Helped: 20


Post13 Jun 2008 15:00   

reed solomon best implementation source code


You need not points to download it. Just push on "free mirror" (or "download" as well as it costs 0 points ) Smile

Those who need exactly RS(255, 223) code in C could download it from
http://www.ka9q.net/code/fec/
Back to top
magouliana



Joined: 15 Feb 2008
Posts: 5


Post01 Jul 2008 0:32   

koetter interpolation matlab


Hi,
I am trying to expand the program that I found here about encoder and decoder. I want to plot the ber vs snr. I tried with biterr function but I take as error this:

Function 'log' is not defined for values of class 'uint8'.
???Error in ==> log at 15
[varargout{1:nargout}] = builtin('log', varargin{:});
Error in ==> biterr at 190
sym_len = floor( log(tmp) / log(2) ) + 1;

Also an error in the case of AWGN, I suppose that and this caused from the same reason, because the output is in unit8 format, but if I change it the programm does not work properly.

??? Error using ==> plus
Integers can only be combined with integers of the same class, or scalar doubles.

Error in ==> RS_test_code at 15
cnoisy = data_enc + noise; % Add noise to the code.


Could you please help me?
Back to top
shirley_chee



Joined: 26 Jun 2008
Posts: 2


Post04 Jul 2008 5:52   

ber after rs decoder matlab


Hi everyone;

I doing the RS (255, 191) now, and need implement it with the matlab code and VHDL code. Can any one upload the Reed solomon Code(matlab code or VHDL code with explantion) for encoder and decoder.

p/s: I also dun understood how to get D^8+D^4+D^3+D^2+1, hope u all can explain or upload any online ebook about this too.


Thanks yah...Razz

Best regards,
shirley chee
Back to top
fatemehdorri



Joined: 14 Jul 2008
Posts: 1


Post14 Jul 2008 7:40   

vhdl code for reed solomon code


Hi
I need rs encoder & decode in matlab too,could any one help me
i download the rar file but it hadn't 'gf" function
with thanx

gkciitd wrote:
Hi all

Can anyone plz mail me the matlab code for rs encoder and decoder

gkciitd(at)gmail.com

Thanks

gkc
Back to top
gnara



Joined: 25 Jul 2008
Posts: 1


Post25 Jul 2008 15:02   

reed solomon codes generator polynomial


HI all, I am also looking for the HDL source for a RS FEC. Does any one able to get a Verilog or VHDL for the FEC? Please Share.
Back to top
zahedi79



Joined: 01 Nov 2005
Posts: 110
Helped: 3


Post05 Aug 2008 6:38   

bch encoder and decoder in vhdl


Hello
these are MATLAB m-files.
These files is usefull for GF operation such as multiply and Add



Sorry, but you need login in to view this attachment

Back to top
naumanmajid



Joined: 15 Sep 2008
Posts: 2


Post24 Sep 2008 3:26   

galois generator polynomial gf(32) reed-solomon


can any one provide this paper
"The VLSI Implementation of a Reed Solomon Encoder Using Berlekamp's Bit-Serial Multiplier Algorithm"
Back to top
aimadud



Joined: 06 Oct 2007
Posts: 1


Post30 Sep 2008 19:24   

reed solomon codes test


how to create Non return zero level(NRZ-L) and non return zero mark (NRZ-M) waveforms using vhdl? i could not think the solution....can you give me the vhdl code at my email esa_screen(at)yahoo.com.sg I'm using qu(at)rtus II software. I really need help from everybody who knows it. Your help is really appreciate.
Back to top
nithinnishan



Joined: 07 Oct 2008
Posts: 1


Post07 Oct 2008 14:37   

bch 223 255 c code


I want matlab code for reed solomon encoder and decoder. pls send it to
nithin0423(at)gmail.com. I will be very thankful to you.
Back to top
dzjian



Joined: 25 Nov 2007
Posts: 1


Post18 Nov 2008 3:21   

decoding algorithm for rs codes using matlab+pdf


can anyone have program for soft decision decoding???
GS algorithm,using the Koetter algorithm for interpolation and the Roth-Ruckenstein algorithm to factor the resulting polynomial,
pls send to dzjian(at)126.com,
thank you,very very much much

Added after 1 minutes:

can anyone have program in matlab for soft decision decoding???
GS algorithm,using the Koetter algorithm for interpolation and the Roth-Ruckenstein algorithm to factor the resulting polynomial,
pls send to dzjian(at)126.com,
thank you,very very much much
Back to top
anshulmgupta



Joined: 03 Dec 2008
Posts: 1


Post03 Dec 2008 20:08   

matlab code for reed solomon coding


we r doing a project on rs codes we need help in writing the same using FFT/DFT can sbd mail us the algo or code at anshulmgupta(at)gmail.com.......
Back to top
olges1



Joined: 25 Dec 2008
Posts: 1


Post25 Dec 2008 12:00   

reed solomon source code for octave


hello
i m new to this forum
and i need Reed solomon matlab codes for encoder and decoder
can anyone email me on" kamran_haleem(at)yahoo.com".
or tell me how to earn points so that i can download that.
Back to top
megabyte



Joined: 27 Jan 2009
Posts: 1


Post27 Jan 2009 18:35   

reed solomon codes source code in matlab


chin wrote:
Hi,
If I use the fuction rsgenpoly in the Matlab,
r=rsgenpoly(255,239) to generate the polynomial for RS (255,239). I get return value as:r = GF(2^Cool array. Primitive polynomial = D^8+D^4+D^3+D^2+1 (285 decimal) Array elements =
Columns 1 through 10
1 118 52 103 31 104 126 187 232 17
Columns 11 through 17
56 183 49 100 81 44 79
If I use a different tool to generate the polynomial , the tool is at the website of
http://cm.bell-labs.com/who/emina/applets/FFCalc.html
I got the return value as:
G(x)=x^16+59x^15+13x^14+104x^13+189x^12+68x^11+209x^10+30x^9+8x^8
+163x^6+41x^5+229x^4+98x^3+50x^2+36x+59
Both method are use the same field generator as P(x)=x^8+x^4+x^3+x^2+1
Now My Question is:
1. why they come out two results and if both are equal
2. which set of value should be use to do the RS encoder.


Added after 3 minutes:

please am new to reed solomon code. what does alpha stand for?
Back to top
diggis_tennis



Joined: 08 Apr 2009
Posts: 3


Post12 Apr 2009 21:50   

rs code decoding


hi can any send me the code for RS encoder and decoder of rate 1/3 and simulation result for BER over AGWN channel.

email is vitenpatel(at)yahoo.com
Back to top
sasisai



Joined: 14 Apr 2009
Posts: 4


Post14 Apr 2009 4:58   

rs encoder n=64, k =56 generator polynomial


Thanks a lot.....
Back to top
eltonjohn



Joined: 22 Feb 2002
Posts: 1751
Helped: 28


Post16 Apr 2009 2:55   

reed solomon 31,15 code


Quote:
can anyone have program for soft decision decoding???
GS algorithm,using the Koetter algorithm for interpolation and the Roth-Ruckenstein algorithm to factor the resulting polynomial,
pls send to dzjian(at)126.com,
thank you,very very much much


I'm writing this program .but in DSP assembler for 21xx series .Is not hard to write in C . I can give you some insight if you need !
Back to top
mahmud_dbm



Joined: 17 Jun 2009
Posts: 10
Location: BBSR, India


Post19 Jun 2009 18:24   

reed solomon decoding presentation


Hello Dears...

i'm new here...

understood everything, but whats this point.???
Back to top
rohithosho



Joined: 18 Aug 2009
Posts: 1
Location: Bangalore


Post18 Aug 2009 11:04   

what are rs code?


can anyone explain me what BCH(32,24) or BCH(64,56) mean.. I am working on verilog code for this.. my mentor expects me to get the result as follows
(HEX)
MSG - 000F02
CODE - D0000F02

MSG - EDBA223FF40953
CODE-F5EDBA223FF40953

MSG - 66B2F9FCB671F2
CODE- 9966B2F9FCB671F2

Thanks in advance
Back to top
eltonjohn



Joined: 22 Feb 2002
Posts: 1751
Helped: 28


Post19 Aug 2009 16:22   

encoder of reed-solomon codes


The BCH codes consists of code n=size and k=dimension CHN(n,k)
Your teacher request for ENCODING a word or message ..so he gives you a word and you should provide the enconded word or message .
Is easy to see in the given examples that the encoding is of type SYSTEMATIC
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Digital communication -> Reed solomon Code for encoder and decoder
Page 2 of 3 All times are GMT + 1 Hour
Goto page Previous  1, 2, 3  Next
Similar topics:
Source code in C and VHDL wanted for Reed-Solomon & Vite (4)
reed solomon decoder (6)
reed solomon error and erasure matlab code (1)
req about reed solomon hardware decoder (2)
reed solomon coder/decoder using fpga (1)
Galois Field Multiplier for Reed Solomon Code (3)
matlab code for jpeg 2000 encoder and decoder (1)
any one has avhdl code about Reed Solomon? (1)
Encoder and Decoder in Hadamard Code (1)
C code for turbo encoder /decoder needed! (4)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS