Description: -- Hamming Decoder
-- This Hamming decoder accepts an 8-bit Hamming code (produced by the encoder above) and performs single error correction and double error detection.
-- download from: www.pld.com.cn & www.fpga.com.cn
LIBRARY ieee
USE ieee.std_logic_1164.ALL
ENTITY hamdec IS
PORT(hamin : IN BIT_VECTOR(0 TO 7) --d0 d1 d2 d3 p0 p1 p2 p4
dataout : OUT BIT_VECTOR(0 TO 3) --d0 d1 d2 d3
sec, ded, ne : OUT BIT) --diagnostic outputs
END hamdec
ARCHITECTURE ver1 OF hamdec IS
BEGIN
--- Hamming Decoder
-- This Hamming decoder accepts an 8-bit Hamming code (produced by the encoder above) and performs single error correction and double error detection.
-- download from: www.pld.com.cn & www.fpga.com.cn
LIBRARY ieee
USE ieee.std_logic_1164.ALL
ENTITY hamdec IS
PORT(hamin : IN BIT_VECTOR(0 TO 7) --d0 d1 d2 d3 p0 p1 p2 p4
dataout : OUT BIT_VECTOR(0 TO 3) --d0 d1 d2 d3
sec, ded, ne : OUT BIT) --diagnostic outputs
END hamdec
ARCHITECTURE ver1 OF hamdec IS
BEGIN
Platform: |
Size: 4096 |
Author:djs |
Hits:
Description: 7,4汉明码的编译码原理,用VHDL语言实现的,需要的请下载-Hamming code encoding and decoding of 7,4 principle, using VHDL language and the clear need to download Platform: |
Size: 1024 |
Author:mayuan |
Hits:
Description: (7 4)汉明编码源程序,简单实用,可供大家下载,如有问题,望大家多多包含!-(74) Hamming code source, simple and practical, available for everyone to download and, if problems, hope you lot included! Platform: |
Size: 1024 |
Author:lijun |
Hits: