1 -------------------------------------------------------------------------------     3 -- Company    : SLAC National Accelerator Laboratory     4 -- Created    : 2015-09-01     5 -- Last update: 2016-07-13     6 -------------------------------------------------------------------------------     7 -- Description: SLAC Asynchronous Logic Transceiver (SALT) Package File     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;
    26  --! @ingroup protocols_salt_core    33    constant SOF_C  : slv(31 downto 0) := x"BBBBBBBB";
  -- SOF  = start of frame    34    constant SOC_C  : slv(31 downto 0) := x"CCCCCCCC";
  -- SOC  = start of continuation    35    constant EOC_C  : slv(31 downto 0) := x"DDDDDDDD";
  -- EOC  = end of continuation    36    constant EOF_C  : slv(31 downto 0) := x"EEEEEEEE";
  -- EOF  = end of frame w/out errors    37    constant EOFE_C : slv(31 downto 0) := x"FFFFFFFF";
  -- EOFE = end of frame w/ errors    40    constant SFD_C      : slv(31 downto 0) := x"D5555555";
 
slv( 31 downto  0)  := x"CCCCCCCC" SOC_C
 
slv( 31 downto  0)  := x"D5555555" SFD_C
 
AxiStreamConfigType  :=   ssiAxiStreamConfig( 4,   TKEEP_COMP_C,   TUSER_FIRST_LAST_C, 8) SSI_SALT_CONFIG_C
 
AxiStreamConfigType  :=   ssiAxiStreamConfig( 1,   TKEEP_COMP_C,   TUSER_FIRST_LAST_C, 0) SSI_GMII_CONFIG_C
 
slv( 31 downto  0)  := x"DDDDDDDD" EOC_C
 
slv( 31 downto  0)  := x"FFFFFFFF" EOFE_C
 
slv( 31 downto  0)  := x"BBBBBBBB" SOF_C
 
natural  := 12 INTER_GAP_SIZE_C
 
slv( 31 downto  0)  := x"55555555" PREAMBLE_C
 
slv( 31 downto  0)  := x"EEEEEEEE" EOF_C
 
natural  :=( 1500/ 4) SALT_MAX_WORDS_C