1 ------------------------------------------------------------------------------- 2 -- File : Decoder10b12b.vhd 3 -- Company : SLAC National Accelerator Laboratory 4 -- Created : 2016-10-07 5 -- Last update: 2017-05-01 6 ------------------------------------------------------------------------------- 7 -- Description: 10B12B Decoder Module 8 ------------------------------------------------------------------------------- 9 -- This file is part of 'SLAC Firmware Standard Library'. 10 -- It is subject to the license terms in the LICENSE.txt file found in the 11 -- top-level directory of this distribution and at: 12 -- https://confluence.slac.stanford.edu/display/ppareg/LICENSE.html. 13 -- No part of 'SLAC Firmware Standard Library', including this file, 14 -- may be copied, modified, propagated, or distributed except according to 15 -- the terms contained in the LICENSE.txt file. 16 ------------------------------------------------------------------------------- 19 use ieee.std_logic_1164.
all;
24 --! @ingroup base_general 34 clkEn : in sl := '1';
-- Optional Clock Enable 45 end entity Decoder10b12b;
49 type RegType is record 58 constant REG_INIT_C : RegType := ( 66 signal r : RegType := REG_INIT_C;
103 seq :
process (
clk,
rst)
is 106 r <= REG_INIT_C after TPD_G;
107 elsif (rising_edge(clk)) then 109 r <= rin after TPD_G;
114 end architecture rtl;
USE_CLK_EN_Gboolean := false
in rstsl :=not RST_POLARITY_G
in dataInslv( 11 downto 0)
RST_ASYNC_Gboolean := true
out dataOutslv( 9 downto 0)