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

hamming code

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> Digital Signal Processing
Author Message
m_mosazadeh



Joined: 25 Apr 2004
Posts: 91
Location: iran


Post09 May 2004 1:24   hamming code

I want to write the verilog code of hamming code?

can anyone help me?
Back to top
Buriedcode



Joined: 06 May 2004
Posts: 316
Helped: 34
Location: London


Post13 May 2004 20:38   Re: hamming code

Well, I've just spent about 4 weeks writing and simulating a Hamming encoder and decoder in ABEL and schematics. I'm not at all familiar with verilog, but I'm sure you can translate since ABEL is easy to understand.

What is it you want exactly? Do you know how hamming coders work?

And what are the constraints of the design, BER, data width, avaiable resources???

If you just want code, theres plenty on the web, found 10 examples in my first search.

Just a warning, with data wider than 8 bits, the parity (XOR) equations become quite big, especially in the decoder, since the number of operations is 2^(n-1). I tried a code with a parity check on 13 bits, thats 2048 p-terms Shocked <-Not nice. Solution, don't work in parallel.

I'll try to help if I can.
Buried(in)Code.
Back to top
AndaMan



Joined: 12 Apr 2004
Posts: 31


Post15 May 2004 16:20   hamming code

Buriedcode
for 8 bits parity, I use 2 sets of 16x1 LUT and XOR their out together (good for xilinx arch.), it may appliable to your design.
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> Digital Signal Processing
Page 1 of 1 All times are GMT + 2 Hours


Abuse
Administrator
Moderators
topic RSS 
sitemap