rs

所属分类:VHDL/FPGA/Verilog
开发工具:Others
文件大小:5KB
下载次数:394
上传日期:2007-11-27 11:50:12
上 传 者sunwindblow
说明:  RS编码,verilog编写,可以自定义多项式,(255,233)和(204,188)均可。
(RS coding, verilog prepared, can customize the polynomial, (255,233) and (204188) may.)

文件列表:
rs_testbench.v.txt (6247, 2007-11-27)
reed_solomon.v.txt (6783, 2007-11-27)

I/O inputs - Inputs : datain (8 bits) = serial input where message data is fed. If the message polynomial of form, d_nX^n + d_(n-1)X^(n-1) + ......etc., then d_n followed by d_(n-1) in the next clock cyle, .....etc. datain should contain a new message byte at every clock cycle as long as the valid is high. gin0.....gin15 (8 bits each ) = Generator polynomial co-effcients. The generator polynomial is form X^16+gin15X^15+gin14X^14+ ......gin1X+gin0. valid = Pull high when data becomes available. Pull low when all message bytes (total of 239 bytes) has been entered. By pulling valid low the contents of the registers are freezed. Pull high when the next block (239 bytes) of message data is available. clkin = input clock. rst = reset signal to initialize registers (to all zeros). Outputs : q0....q15 (8 bits each) : Parity bytes in the polynomial form, q15X^15+q14X^14+ ......q0. Latch externally if required. Valid as long as valid signal is low.

近期下载者

相关文件


收藏者