參數(shù)資料
型號(hào): AN2407
廠商: 飛思卡爾半導(dǎo)體(中國(guó))有限公司
英文描述: Reed Solomon Encoder/Decoder on the StarCore SC140/SC1400 Cores, With Extended Examples
中文描述: 里德所羅門編碼器/的StarCore SC140/SC1400核心解碼器,以擴(kuò)展實(shí)例
文件頁(yè)數(shù): 20/48頁(yè)
文件大?。?/td> 306K
代理商: AN2407
Reed Solomon Encoder/Decoder on the StarCore SC140/SC1400 Cores, With Extended Examples, Rev. 1
20
Freescale Semiconductor
References
Appendix A:
C-Codes for Decoder
Example 2.
C-Code for Syndromes Calculation
void calculate_syndrome(BYTE *received_block, BYTE *syndromes)
{
int i, j;
BYTE acc;
WORD x_power, y_power, power;
for (i=0; i<2*T; i++)
{
acc = 0;
for (j=0; j<255; j++)
{
x_power = bin_2_exp[received_block[j]];
y_power = exp_table_for_syndrome[i][j];
power = MIN((x_power + y_power),2*N+1);
acc ^= exp_2_bin_extended[power];
}
syndromes[i] = acc;
}
}
Example 3.
C-Code for Berlekamp-Massey Algorithm
void berlekamp(BYTE *s, WORD *error_loc_poly, BYTE *error_loc_bin)
{
WORD x_power, y_power, power;
BYTE temp_sigma[2*T+2][2*T], (*sigma)[2*T], *ptr1, *ptr2;
int temp_l_mu[2*T+2], *l_mu;
int temp_mu_l_mu[2*T+2], *mu_l_mu;
BYTE temp_d[2*T+2], *d;
int p, max_p_lp, mu;
BYTE inv, factor,sum;
int i, j, shift;
/* Initialize */
sigma = &temp_sigma[1];
d = &temp_d[1];
l_mu = &temp_l_mu[1];
mu_l_mu = &temp_mu_l_mu[1];
for (j=0; j<2*T; j++)
{
sigma[i][j] = 0;
}
sigma[-1][0] = 1;
d[-1] = 1;
l_mu[-1] = 0;
mu_l_mu[-1] = -1;
inv = 1;
sigma[0][0] = 1;
d[0] = s[0];
l_mu[0] = 0;
mu_l_mu[0] = 0;
p = -1;
max_p_lp = -1;
相關(guān)PDF資料
PDF描述
AN2410S Video Camera Circuit
AN2441S Color Encoder Circuit
AN246 Transmission lines and terminations with Philips Advanced Logic families
AN2510S Video Camera Circuit
AN2512S Video Camera Circuit
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AN2407FHP 制造商:Panasonic Industrial Company 功能描述:IC
AN241 制造商:Panasonic Industrial Company 功能描述:IC
AN2410S 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Video Camera Circuit
AN2416 制造商:VYNCKIER ENCLOSURE SYSTEMS 功能描述:ENCLOSURE, JUNCTION BOX, POLYESTER BEIGE; Enclosure Type:Junction Box; Enclosure Material:Fiberglass Reinforced Polyester; Body Color:Beige; External Height - Imperial:24.21"; External Height - Metric:615mm; IP Rating:IP66 ;RoHS Compliant: Yes
AN2416PL 制造商:VYNCKIER ENCLOSURE SYSTEMS 功能描述:ENCLOSURE, JUNCTION BOX, POLYESTER BEIGE; Enclosure Type:Junction Box; Enclosure Material:Fiberglass Reinforced Polyester; Body Color:Beige; External Height - Imperial:24.21"; External Height - Metric:615mm; IP Rating:IP66 ;RoHS Compliant: Yes