Entity: Code10b12bTb
- File: Code10b12bTb.vhd
Diagram
Description
Company : SLAC National Accelerator Laboratory
Description: Testbench for design "Encoder10b12b"
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.
Signals
Name | Type | Description |
---|---|---|
encDataInString | string(1 to 8) | component ports signal clk : sl; -- [in] signal clkEn : sl := '1'; -- [in] signal rst : sl := not RST_POLARITY_G; -- [in] signal encDispIn : sl := '0'; signal encDataIn : slv(9 downto 0) := (others => '0'); -- [in] signal encDataKIn : sl := '0'; -- [in] signal encDataOut : slv(11 downto 0); -- [out] signal encDispOut : sl; signal started : boolean := false; shared variable runVar : integer := 0; signal run : integer := 0; signal lastEncDataOut : slv(11 downto 0); signal encDispInInt : DisparityType; signal encDispOutInt : DisparityType; |
Constants
Name | Type | Value | Description |
---|---|---|---|
TPD_G | time | 1 ns | |
RST_POLARITY_G | sl | '1' | |
RST_ASYNC_G | boolean | false |
Processes
- main: ( )