![]()  | ![]()  | |||
| TAMS / Java / Hades / applets: contents | previous | next | ||||
| Hades Applets contents visual index   introduction  std_logic_1164  gatelevel circuits    basic gates    AND gates    OR gates    XOR and XNOR    De Morgan    complex gates    AND12 gate    simple decoder    XOR variants    4-bit parity...    8-bit parity...    2x2 bit mult...    Gray-code     7400 and 7486    seven-segmen...    7449 seven-s...    Ascii decoder    multiplexer ...    multiplexer ...    74151 multip...    74154 decode...    74154 decode...    priority enc...    priority enc...    Hamming code    barrel-shifter  delay models  flipflops  adders and arithm...  counters  LFSR and selftest  memories  programmable logic  state-machine editor  misc. demos  I/O and displays  DCF-77 clock  relays (switch-le...  CMOS circuits (sw...  RTLIB logic  RTLIB registers  Prima processor  D*CORE  MicroJava  Pic16 cosimulation  Mips R3000 cosimu...  Intel MCS4 (i4004)  image processing ...  [Sch04] Codeumsetzer  [Sch04] Addierer  [Sch04] Flipflops  [Sch04] Schaltwerke  [Sch04] RALU, Min...  [Fer05] State-Mac...  [Fer05] PIC16F84/...  [Fer05] Miscellan...  [Fer05] Femtojava  FreeTTS | Hamming code demonstration Circuit Description This circuit demonstrates the use of a 4-bit Hamming code for error detection and error correction. Use the four input switches on the left to set the 4-bit input value for the encoder, which calculates three parity bits and transmits these together with the four data bits. The seven switches and XOR gates in the middle of the circuit allow to insert faults into the transmitted data. If the switches are off, the corresponding data bit is transferred normally. If a switch is on, however, the XOR gate inverts the corresponding data bit, which is equivalent to a transmission error for that bit. The decoder block on the right takes the seven code bits and tries to reconstruct the original information, that is, the original four data bits. First, set all seven error switches to off. Then select a few input values for the encoder with switches on the left and observe the generated parity bits and the operation of the deocder. Next, play with the 'error switches' to insert bit faults into the transmitted data and again observe the operation of the decoder. What happens if you activate more than one 'error switch'? | |||
| Print version | Run this demo in the Hades editor (via Java WebStart) | ||||
| Usage | FAQ | About | License | Feedback | Tutorial (PDF) | Referenzkarte (PDF, in German) | ||||
| Impressum | http://tams.informatik.uni-hamburg.de/applets/hades/webdemos/10-gates/50-hamming/hamming.html |