Entity: HammingEccEncoder

Diagram

time TPD_G sl RST_POLARITY_G boolean RST_ASYNC_G boolean FLOW_CTRL_EN_G positive DATA_WIDTH_G sl clk sl clkEn sl rst sl ibValid slv(DATA_WIDTH_G-1 downto 0) ibData sl obReady sl ibReady sl obValid slv(hammingEccDataWidth(DATA_WIDTH_G) downto 0) obData

Description


Title : Hamming-ECC: https://en.wikipedia.org/wiki/Hamming_code

Company : SLAC National Accelerator Laboratory

Description: Hamming-ECC Encoder Module

This file is part of 'SLAC Firmware Standard Library'. It is subject to the license terms in the LICENSE.txt file found in the top-level directory of this distribution and at: https://confluence.slac.stanford.edu/display/ppareg/LICENSE.html. No part of 'SLAC Firmware Standard Library', including this file, may be copied, modified, propagated, or distributed except according to

the terms contained in the LICENSE.txt file.

Generics

Generic name Type Value Description
TPD_G time 1 ns
RST_POLARITY_G sl '1'
RST_ASYNC_G boolean false
FLOW_CTRL_EN_G boolean false
DATA_WIDTH_G positive 8

Ports

Port name Direction Type Description
clk in sl Clock and Reset
clkEn in sl Optional Clock Enable
rst in sl Optional Reset
ibValid in sl Inbound Interface
ibReady out sl
ibData in slv(DATA_WIDTH_G-1 downto 0)
obValid out sl Outbound Interface
obReady in sl
obData out slv(hammingEccDataWidth(DATA_WIDTH_G) downto 0)

Signals

Name Type Description
r RegType
rin RegType

Constants

Name Type Value Description
OB_DATA_WIDTH_C positive hammingEccDataWidth(DATA_WIDTH_G)
REG_INIT_C RegType ( ibReady => '0',
obValid => '0',
obData => (others => '0'))

Types

Name Type Description
RegType

Processes