1 ------------------------------------------------------------------------------- 2 -- File : RawEthFramerPkg.vhd 3 -- Company : SLAC National Accelerator Laboratory 4 -- Created : 2016-05-25 5 -- Last update: 2016-05-26 6 ------------------------------------------------------------------------------- 7 -- Description: Raw L2 Ethernet Framer 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;
20 use ieee.std_logic_unsigned.
all;
21 use ieee.std_logic_arith.
all;
29 --! @ingroup ethernet_RawEthFramer 31 -- Ethernet Broadcast Frame 35 -- tKeepMode = TKEEP_COMP_C; 36 -- tUserMode = TUSER_FIRST_LAST_C; 51 end package RawEthFramerPkg;
61 ret := axiStreamGetUserBit
(axisConfig, axisMaster,
ETH_BCF_C,
0);
70 axiStreamSetUserBit
(axisConfig, axisMaster,
ETH_BCF_C, bcf,
0);
73 end package body RawEthFramerPkg;
AxiStreamConfigType := ssiAxiStreamConfig( 8, TKEEP_COMP_C, TUSER_FIRST_LAST_C, 8, 3) RAW_ETH_CONFIG_INIT_C
sl ssiGetUserBcfaxisConfig,axisMaster,
ssiSetUserBcfaxisConfig,axisMaster,bcf,