84 Threads found on edaboard.com: Hamming Code
I want to write the verilog code of hamming code?
can anyone help me?
Digital Signal Processing :: 08.05.2004 19:24 :: m_mosazadeh :: Replies: 2 :: Views: 2958
for a 512 byte,using hamming code to fix 1 bit ,detect 2 bit error.
The st application note (AN1823 Error Correction code in Single Level Cell NAND Flash Memories) give the following code, and I am puzzling the last judement of
if(i & A0) which I think should be if (i &0x100). Anyone ever do this job?please tell me which (...)
ASIC Design Methodologies and Tools (Digital) :: 13.01.2005 01:41 :: iamczx :: Replies: 0 :: Views: 912
To implement error checking in an noisy IR link I was thinking of using hamming code in the "8,4" modality to transmit any value between 0 and 255.
Considering the data to be xmitted : D8 D7 D6 D5 D4 D3 D2 D1 the hamming code is:
HI_PACK = X X X X D8 D7 D6 D5
LO_PACK = P4 D4 D3 D2 P3 D1 P2 P1, where Dx = data bit (...)
Microcontrollers :: 15.10.2005 12:33 :: atferrari :: Replies: 5 :: Views: 2229
i want to implement hamming code for my application. plse give if any one having complete details about hamming code
thanx and regards
Microcontrollers :: 23.01.2007 11:16 :: tinku123 :: Replies: 0 :: Views: 465
I have a question regarding the performance of hamming code and BCH code
Let's say we want to compare the performance of (7,4) hamming code and (15,7) BCH code.
At 4dB, the hamming code perform better than the BCH code but at 15dB the (...)
Digital communication :: 12.02.2008 02:00 :: TANB0025 :: Replies: 0 :: Views: 1178
I have described the hamming code in detail at
It will help you ..
Digital communication :: 02.06.2008 01:32 :: mathuranathan :: Replies: 1 :: Views: 760
I have dealt with hamming codes in my blog
I am sure you would find it useful
Digital Signal Processing :: 30.12.2009 05:26 :: mathuranathan :: Replies: 2 :: Views: 720
I need confirmation check in my project
I used a hamming code structure by using matlab,
hamming(7,4), (15,11), (31,26) coder
hamming(7,4), (15,11), (31,26) Decoder
I confused with the results @SNR (...)
Digital communication :: 30.10.2010 17:49 :: realbaltalyus :: Replies: 3 :: Views: 2827
hello,r u having source code and details of this hamming code design in verilog fpga,if, please send to my email
PLD, SPLD, GAL, CPLD, FPGA Design :: 08.03.2012 09:21 :: kajagar :: Replies: 1 :: Views: 1773
hello me doing hamming code design in verilog with fpga design,please send the source code and detail of this project :razz: as soon as possible please
PLD, SPLD, GAL, CPLD, FPGA Design :: 08.03.2012 08:57 :: kajagar :: Replies: 3 :: Views: 516
in the below code of hamming code how does that if statements work?? der wat does ^ it xor??? plz help me out
always @(inp or reset)
outp = 0;
PLD, SPLD, GAL, CPLD, FPGA Design :: 19.05.2012 23:13 :: Diapanagar :: Replies: 0 :: Views: 183
Hi, may i know is it possible for us to detect the position of multiple errors in the hamming code(15,11) using the method of parity bits.
The original transmitted hamming code is 100111010101111 but the received code is 111111011101111. SHOW how the parity bits indicate the position of the errors (...)
Digital communication :: 17.05.2013 15:01 :: nego :: Replies: 3 :: Views: 403
Linear block codes can be represented as
where G is the generator matrix. Another way to characterize codes is by the 'parity check matrix' which is the matrix of basis of codes orthogonal to the codes c=mG i.e.
Just multiply the receive code word by H^T. If
Digital communication :: 25.05.2013 16:37 :: MHanif :: Replies: 1 :: Views: 189
I look for make a converter by rs232 to TTL for driving low power 433Mhz rtx, but I want implement a hamming code for signal bit autorepair, someone know about it ? and someane have a source for manchester ?
PC Programming and Interfacing :: 19.11.2003 01:52 :: koky :: Replies: 1 :: Views: 1999
Below are the code of hamming code in MPlab
Can someone explain it briefly to me what the code mean
(in theorythically i can understand how it work but when it in source code then i totally blur..)
hamming code generator
;Since our communication is one way, we'll (...)
Microcontrollers :: 27.10.2006 10:33 :: Cleong :: Replies: 1 :: Views: 942
Hallo guys...I am facing a huge problem to the two questions below cause i have never had used Matlab in the past..:
1) Investigate functions available in Matlab for GF(2) calculus and repeat a (5, 2) hamming code by using Matlab.
2). Design syndrome decoder for Q.5 by using Matlab
Any help please..
Digital Signal Processing :: 05.12.2010 15:57 :: Georgechalkida :: Replies: 4 :: Views: 1606
I am having code for same in VHDL .Check it out whether it is useful to you or not.
If USEFUL PLEASE PRESS HELP BUTTON.
code for hamming Distance Transmission & Reception.
--Program for hamming code TRANSMISSION & RECEPTION .
-- ( generating hamming code parellely , (...)
PLD, SPLD, GAL, CPLD, FPGA Design :: 27.06.2008 10:04 :: victoria_jitesh :: Replies: 4 :: Views: 6585
Hello, I am having the age old problem of port synchronization in Simulink. I have created a simulink model to simulate error correction by hamming codes but even with out any channel noise, I am getting error. Would you like to try it out and find a possible solution
Digital communication :: 21.02.2009 10:06 :: Communications_Engineer :: Replies: 1 :: Views: 1733
I am working on BCH code.I am using it to correct 4 bit of error of nand flash memory.
I have already implemented hamming code to correct single bit errors.Below I have shown the steps for hamming implementation
(1)I applied hamming algorithm on 512bytes.
(2)During write operation in nand flash (...)
Digital communication :: 09.10.2009 09:51 :: zoomkrupesh :: Replies: 0 :: Views: 917
pls send me hamming encoder using vhdl code ie 16 bit
PLD, SPLD, GAL, CPLD, FPGA Design :: 06.01.2011 03:52 :: swetha.m :: Replies: 0 :: Views: 551
I am learning the hamming code recently, about the (7,4) type hamming code;
I try to understand the following :
M=(0 1 1 0); M is one of 16 possible messages;
G is the generate matrix;
X= M * G =
1 0 0 0 0 1 1 1
0 1 0 0 1 0 1 1
0 0 1 0 1 1 0 1
0 0 0 1 1 1 1 1
What's the (...)
Digital communication :: 04.04.2011 06:54 :: sunjianhuigou :: Replies: 0 :: Views: 425
I need to compare the(7,4) hamming coded bit error probability with the uncoded bit error probabity and a Q function.
The Matlab code which i have compare the theoretial uncoded ber with hamming (7,4) code
Digital communication :: 13.04.2011 17:57 :: Priya1987 :: Replies: 0 :: Views: 2398
I want to ask : there is a method to correct double errors using hamming code ?
PLD, SPLD, GAL, CPLD, FPGA Design :: 09.11.2012 11:31 :: rami6145 :: Replies: 6 :: Views: 273
The SMC/NAND Flash is used ECC to detect/correct error as your request.
To get more details please visit:
Yes, it is hamming code as the C-Man pointed ou
PC Programming and Interfacing :: 23.12.2002 06:11 :: yager :: Replies: 9 :: Views: 4513
I'm working on a Low Power Device (FSK) to get a radiolink at 9600bps at 868Mhz.
The protocol of the trasmission is simple:
start symbol, length,data, crc16. Usual total length is about 35 bytes.
The tranmission is controlled by a 18Mhz hcs08 microcontroller.
I'd like to implement a forward error correction code.
I was thinking about
Microcontrollers :: 09.03.2004 17:23 :: wolf69 :: Replies: 0 :: Views: 651
What are the differences in terms of complexity and size (silicon area) between :
- hamming codes
- Turbo codes
Do Reed Salomon and Turbocodes consume large silicon area ???
How to decide FEC (forward error correction) when designing a dedicated wireless link ?
ASIC Design Methodologies and Tools (Digital) :: 18.05.2004 19:54 :: okguy :: Replies: 5 :: Views: 1988
dainis, I find a ecc core project in OC, but there is no any documents or codes in CVS. Do you have the materials of this project? Can you share it with me? many thanks.
I do not have sources from Open Cores.
PLD, SPLD, GAL, CPLD, FPGA Design :: 08.06.2004 15:38 :: dainis :: Replies: 4 :: Views: 1546
I want to build a 22bit-ECC engine for 512byte data. This ECC is based on the hamming code. Anybody had the experience? I hope to talke with you.
PLD, SPLD, GAL, CPLD, FPGA Design :: 12.01.2005 21:43 :: I_am_mYthorON :: Replies: 0 :: Views: 779
Verilog Designer's Library book has an example of hamming code.
you can find the verilog codes of the book at the following link:
ASIC Design Methodologies and Tools (Digital) :: 18.04.2005 09:49 :: adap :: Replies: 2 :: Views: 626
Please help on AMR-NB.
Why the table of interpolation filter b60 is as the reference code?
What does hamming windowed sinc(x) means?
Thanks for help
Digital Signal Processing :: 29.04.2005 00:58 :: ofish :: Replies: 0 :: Views: 461
Hello again atferrari,
A while ago I experimented with a wireless digital audio system. Seeing as if was RF I needed some error correction (it was one-way comms as well) and some detection. I used hamming codes, implemented in pure logic (sequentially, not in parallel, the XOR tree was massive). It can correct one error in a 13-bit pac
Microcontrollers :: 22.09.2005 00:29 :: Buriedcode :: Replies: 1 :: Views: 660
Try these links:
Electronic Elementary Questions :: 08.11.2005 00:15 :: IanP :: Replies: 2 :: Views: 2457
could u guys explain me what hamming distance is all about?that is i read that if the minimum hamming distance is satisfied,then it is possible to correct your codes.how is this achieved?please help....
Digital communication :: 25.12.2005 03:29 :: elecs_gene :: Replies: 6 :: Views: 2005
See the Google using keywords, "hamming", ECC.
Electronic Elementary Questions :: 23.06.2006 11:34 :: Kral :: Replies: 2 :: Views: 669
i am doinga project on soft output viterbi decoder, i have a cofusion between soft viterbi and hard viterbi,
will , replacing hamming distance by euclidean distance become soft output viterbi decoder. please send me some material regarding this.
ASIC Design Methodologies and Tools (Digital) :: 21.09.2006 03:44 :: cmangaraju :: Replies: 1 :: Views: 2753
I need to know if there is any article/paper/algorithm that discusses about how I can compute hamming Distance without having to take into account the two codewords in bit-level. In other words, Is there any algorithm to compute hamming distance between two positive integer number by using arithmetic operations without any (...)
Mathematics and Physics :: 14.06.2007 03:42 :: khorram :: Replies: 1 :: Views: 819
Binary Encoding : It is almost used everywhere, in all state machines, by default.
Advantages: Less FFs as compared to one-hot
One-hot encoding: If you need to design a faster state machine, you would benefit by one-hot-encoding, because you wont have to decode the state.
Gray Encoding: These will use the same number of FFs as Binary Encoding, b
ASIC Design Methodologies and Tools (Digital) :: 03.08.2007 06:12 :: avimit :: Replies: 13 :: Views: 5664
You can find hamming, convelution, turbo codes on c++ in this web site:
Digital communication :: 26.11.2007 22:20 :: eric_ec_chen :: Replies: 7 :: Views: 1140
Thanks for your support. hamming code basics is discussed in the new post.
Digital communication :: 23.05.2008 03:10 :: mathuranathan :: Replies: 17 :: Views: 1131
if any body has solution for these questions these questions are from book "wireless communication"
1) All hamming codes have a minimum distance of 3. What is the error-correction and error-detection capability of a hamming code?
2) The (15,11) hamming code has generator polynomial (...)
Digital communication :: 30.05.2009 11:16 :: maree :: Replies: 0 :: Views: 704
u can develope some basic encryption and decryption algorithms like RSA, CRC, hamming code for error handling etc. and can develop a crypto syatem.
Digital Signal Processing :: 14.06.2009 01:51 :: hiral.kotak :: Replies: 2 :: Views: 1592
hello every one
I am doing viterbi decoder with vhdl k=3 r=1/2 I have done the encoder part of it and I am middle of deocder I have problem for codding the hamming distance should I do it in trellis codes or branchmertic code can any ine help me please.
thank you in advance
Digital Signal Processing :: 17.08.2009 05:01 :: setareh_mehr85 :: Replies: 3 :: Views: 3657
Do anyone have m-files for simulating Bluetooth GFSK signal using the
the hamming (15,10) expurgation code as described in the Bluetooth Specificatrion document?
Digital Signal Processing :: 16.10.2009 11:41 :: koye88 :: Replies: 0 :: Views: 592
We have a course project to do the FEC 2/3 of Bluetooth in VHDL/MATLAB
I can find the syndrome vector after divisions but how I can build a lookup tables of syndromes to be able to correct to error bit.
it is a (15,10) hamming code, which can correct a single bit according to the specification
Digital communication :: 10.11.2009 16:39 :: godsosall :: Replies: 5 :: Views: 2741
People, I need your help!!!!!!
For example, I have a parity-check matrix for (7,4). Let it be:
% Parity-Check MAtrix
H = ;
% Generator MAtrix
G = ;
% Uncoded Messa
Digital communication :: 28.02.2010 02:55 :: spartak85 :: Replies: 4 :: Views: 2453
The decoding follows the same procedure as for any BCH codes. The primitive polynomial are not needed at the receiver side for decoding but the roots of the primitive polynomials are needed. We need to use the primitive element/roots of the primitive polynomial in calculating the syndrome.
More details on decoding can be found here
Digital communication :: 08.06.2010 23:37 :: mathuranathan :: Replies: 5 :: Views: 1895
I read from some article that the hamming distance is 2 for IBM 8B/10B code.
(any 1-bit or 2-bit error in a 10-bit codeword can be detected and corrected.)
I'm not sure if that is right?
Digital communication :: 20.09.2010 20:16 :: neoflash :: Replies: 0 :: Views: 620
Normally codes do have negative code gain at high BER (below some Eb/No).
Look at the figure (I've picked up it from the web; i don't guarantee its accuracy, but it is qualitatively coorect).
At BER=1e-5, code gain is about 0.5 dB.
code gain is 0 dB at BER=0.003, and at BER higher than that, code (...)
Digital communication :: 04.02.2011 20:00 :: zorro :: Replies: 13 :: Views: 1582
hi i want to do hamming distance reordering of test data any 1 tell me how to work on code in verilog
ASIC Design Methodologies and Tools (Digital) :: 20.04.2011 23:45 :: adi.freaks.86 :: Replies: 0 :: Views: 287
e.g a='1000001' and b='1110001' --> dist=hamming(a,b);
one solution is dist = sum(a ~= b);
and other solution is to use pdist Pairwise distance between pairs of objects - MATLAB
Digital communication :: 06.09.2011 05:16 :: ckshivaram :: Replies: 1 :: Views: 3598