淘宝官方店     推荐课程     在线工具     联系方式     关于我们  
 
 

微波射频仿真设计   Ansoft Designer 中文培训教程   |   HFSS视频培训教程套装

 

Agilent ADS 视频培训教程   |   CST微波工作室视频教程   |   AWR Microwave Office

          首页 >> Ansoft Designer >> Ansoft Designer在线帮助文档


Ansoft Designer / Ansys Designer 在线帮助文档:


System Simulator >
System Component Models >
Coders/Decoders >
   Reed-Solomon Decoder (RSDEC)       

Reed-Solomon Decoder (RSDEC)

 

 


Property

Description

Units

Default

Range/Type

N

Codeword length

None

204

[3, 65335]/Integer

K

Data length in each codeword

None

188

[1, 65335]/Integer

M

Size of the Galois Field

None

8

[2, 16]/Integer

B0

First root of the generator polynomial

None

1

[0, 653345]/Integer

P0, P1, ..., Pm

Coefficients of the primitive polynomial

None

101110001

[0, 1]/Integer

RIN

Input impedance

Ohm

Inf

[0, Inf)/Real

ROUT1

Output impedance

Ohm

0

[0, Inf)/Real

ROUT2

Output impedance

Ohm

0

[0, Inf)/Real

Ports

Input

Received signal to be decoded (real)

Output1

Reed-Solomon decoded sequence (integer)

Output2

Error indicator (integer)


 

Limits





Notes

This model is used to perform Reed-Solomon (RS) decoding. A systematic RS(n,k) code, which is defined on Galois Field (2m), consists of k input data symbols and (n-k) parity code symbols. For details about RS coding, please refer to the rscod model. A general architecture for RS decoder is shown in Fig.1


Fig.1: Codeword for systematic Reed-Solomon coder

r(x) Received codeword
bl Error locations
Si Syndromes
eji Error values
s(X) Error location polynomial
c(x) Corrected codeword

A Reed-Solomon decoder attempts to identify the positions and values of up to
t = (n-k)/2 errors and then correct the errors. In case of shortened codes, the appropriate sequence of zero-padding is first rebuilt so that the codeword is equal to 2m-1.

Let v(x) be the transmitted code vector,

(1)

and r(x) be the corresponding received vector,


(2)

The error pattern, e(X) ,is added by the channel,

(3)
where e(X) is an element from GF(2m). Considering the number of elements, n, in the error pattern, e(X), at the location Xj1,Xj2 , …,Xjn with 0<= jn <= n-1, we have

(4)

Explanation of decoding process for RS codes:

(1) Syndrome Calculation

A Reed-Solomon codeword has 2t syndromes, which can be calculated by substituting the 2t roots of the generator polynomial g(X) into r(X), i.e., Si = r(ab0 +i -1), where i= 1,2,...2t.

(2) Determination of the error-location polynomial

The syndromes are used to find the error-location polynomial. The error location polynomial is defined as
(5)
The error location polynomial has n roots, the inverses of which indicate the error locations. s(X) is an undetermined polynomial and its coefficients must be determined. The Berlekamp’s iterative algoithm is used to construct this polynomial, which is the key to RS decoding.

Now we consider the minimum degree polynomial determined at the m-th step of iteration.
(6)
where lm is the degree of s(m)(X) To determine s(μ+1)(X), we compute the following quantity:
(7)
This quantity dm is called the m-th discrepancy.
To carry out the iteration of finding s(X), we begin with Table I and proceed to fill out this table. Assuming that we have filled out all rows up to and including theC row, we fill out the μ+1-th row as follows:
(a) If dm= 0, then s(μ+1)(X) = s(m)(X) and lμ+1 = lm
(b) If dμ is not equal to 0, find another row,r, prior to the m-th row such that dr does not equal zero, and the number r-lr in the last column of the table has the largest value. Then, s(μ+1)(X) is given by the following two equations:
(8) and
(9)

And for both cases:
(10)


Rows in this table after the first two are generated by iteratively applying the equations given above.


Table 1: Iterative Table for Berlekamp Algorithm (First Two Rows Filled In)

m

s(m)(X)

dm

lm

μ - lm

-1

1

1

0

-1

0

1

S1

0

0

...

...

...

...

..

...

...

...

...

..

...

...

...

...

..

...

...

...

...

..


If the order of the polynomial is greater than t, which means the received codeword has more than t errors, the errors cannot be corrected and the received vector r(X) is output as is, error indicator is set to -1. Otherwise, error indicator is the number of errors.

(3) Determination of the error-location numbers

The error location numbers bl (1<= l <= m) are the inverses of the roots of s(X). The roots of s(x) can be found simply by substituting 1, α, α2, ...αn−1 (n = 2m-1) into s(X). Therefore, if al is a root of s(X), a(n-l) is an error location number and the received rn-l is an error symbol.

(4) Calculation of the error values and correcting the received codeword

The error value at location bl = ajl is calculated based on the following equation:
(11)
where

(12)

Finally, the decoding procedure is completed by the subtraction of the received vector r(X) and the error vector e(X).

Netlist Form

RSDEC:NAME n1 n2 n3 N=val K=val M =val [B0 =val] [P0=val . . . PM=val] +[RIN=val] [ROUT1=val] [ROUT2=val]

Netlist Example

RSDEC:1 1 2 3 N=204 K=188 M =8 B0 =1 {P0,…P8} = {1,0,1,1,1,0,0,0,1}

References

1. Shu Lin and D.J.Costello, Error Control Coding: Fundamentals and applications, Prentice-Hall, 1983.

2. Elwyn Berlekamp, Algebraic Coding Theory, McGraw-Hill, New York, 1968.

3. Y.Shayan, T.Le-Ngoc and V.Bhargava, “A versatile time-domain Reed-Solomon decoder,” IEEE Journal on Selected Areas in Communications, vol. 8, No.8, pp.1535-1542, Oct. 1990.

 




HFSS视频教学培训教程 ADS2011视频培训教程 CST微波工作室教程 Ansoft Designer 教程

                HFSS视频教程                                      ADS视频教程                               CST视频教程                           Ansoft Designer 中文教程


 

      Copyright © 2006 - 2013   微波EDA网, All Rights Reserved    业务联系:mweda@163.com