Entity: Decoder8b10b

Diagram

time TPD_G positive NUM_BYTES_G sl RST_POLARITY_G boolean RST_ASYNC_G sl clk sl clkEn sl rst sl validIn slv(NUM_BYTES_G*10-1 downto 0) dataIn slv(NUM_BYTES_G*8-1 downto 0) dataOut slv(NUM_BYTES_G-1 downto 0) dataKOut sl validOut slv(NUM_BYTES_G-1 downto 0) codeErr slv(NUM_BYTES_G-1 downto 0) dispErr

Description


Title : Line Code 8B10B: https://en.wikipedia.org/wiki/8b/10b_encoding

Company : SLAC National Accelerator Laboratory

Description: 8B10B Decoder 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
NUM_BYTES_G positive 2
RST_POLARITY_G sl '1'
RST_ASYNC_G boolean false

Ports

Port name Direction Type Description
clk in sl
clkEn in sl Optional Clock Enable
rst in sl Optional Reset
validIn in sl
dataIn in slv(NUM_BYTES_G*10-1 downto 0)
dataOut out slv(NUM_BYTES_G*8-1 downto 0)
dataKOut out slv(NUM_BYTES_G-1 downto 0)
validOut out sl
codeErr out slv(NUM_BYTES_G-1 downto 0)
dispErr out slv(NUM_BYTES_G-1 downto 0)

Signals

Name Type Description
r RegType
rin RegType

Constants

Name Type Value Description
REG_INIT_C RegType ( runDisp => '0',
dataOut => (others => '0'),
dataKOut => (others => '0'),
validOut => '0',
codeErr => (others => '0'),
dispErr => (others => '0'))

Types

Name Type Description
RegType

Processes