Entity: Code12b14bTb
- File: Code12b14bTb.vhd
Diagram
Description
Company : SLAC National Accelerator Laboratory
Description: Testbench for design "Encoder12b14b"
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 |
|---|---|---|
| clk | sl | [in] |
| clkEn | sl | [in] |
| rst | sl | [in] |
| encDispIn | slv(1 downto 0) | |
| encDataIn | slv(11 downto 0) | [in] |
| encDataKIn | sl | [in] |
| encDataOut | slv(13 downto 0) | [out] |
| encDispOut | slv(1 downto 0) | |
| encInvalidK | sl | [out] |
| started | boolean | |
| run | integer | |
| lastEncDataOut | slv(13 downto 0) | |
| encDispInInt | BlockDisparityType | |
| encDispOutInt | BlockDisparityType | |
| encDataInString | string(1 to 8) | |
| decDataIn | slv(13 downto 0) | [in] |
| decDispIn | slv(1 downto 0) | [in] |
| decDataOut | slv(11 downto 0) | [out] |
| decDataKOut | sl | [out] |
| decDispOut | slv(1 downto 0) | [out] |
| decCodeError | sl | [out] |
| decDispError | sl | [out] |
| dlyDataOut | slv(11 downto 0) | |
| dlyDataKOut | sl |
Constants
| Name | Type | Value | Description |
|---|---|---|---|
| TPD_G | time | 1 ns | |
| RST_POLARITY_G | sl | '1' | |
| RST_ASYNC_G | boolean | false |
Processes
- main: ( )
- monitor: ( )
Instantiations
- U_Encoder12b14b: surf.Encoder12b14b
Description
component instantiation
- U_ClkRst_1: surf.ClkRst
Description
invalidK => invalidK); -- [out]
- U_Decoder12b14b_1: surf.Decoder12b14b
- U_SynchronizerVector_1: surf.SynchronizerVector
Description