SURF  1.0
SemPkg.vhd
Go to the documentation of this file.
1 -------------------------------------------------------------------------------
2 -- File : SemPkg.vhd
3 -- Company : SLAC National Accelerator Laboratory
4 -- Created : 2017-02-08
5 -- Last update: 2017-02-08
6 -------------------------------------------------------------------------------
7 -- Description: 7-series SEM module 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 -------------------------------------------------------------------------------
17 
18 library ieee;
19 use ieee.std_logic_1164.all;
20 
21 use work.StdRtlPkg.all;
22 
23 package SemPkg is
24 --! @file
25  --! @ingroup xilinx_7Series_sem
26 
27  type SemObType is record
36  txData : slv(7 downto 0);
40  end record;
41 
42  type SemIbType is record
44  injectAddress : slv(39 downto 0);
46  rxData : slv(7 downto 0);
49  end record;
50 
51  constant SEM_IB_INIT_C : SemIbType := (
52  injectStrobe => '0',
53  injectAddress => (others => '0'),
54  txFull => '1', -- Init with backpreassure
55  rxData => (others => '0'),
56  rxEmpty => '0', -- Init with backpreassure
57  iprogIcapGrant => '0'); -- '0' = SEM access ICAP, '1' = IPROG access ICAP
58 
59 end package;
sl iprogIcapReq
Definition: SemPkg.vhd:39
SemIbType
Definition: SemPkg.vhd:42
std_logic sl
Definition: StdRtlPkg.vhd:28
sl classification
Definition: SemPkg.vhd:32
sl injectStrobe
Definition: SemPkg.vhd:43
sl txWrite
Definition: SemPkg.vhd:37
sl rxEmpty
Definition: SemPkg.vhd:47
sl heartbeat
Definition: SemPkg.vhd:28
SemIbType :=(injectStrobe => '0',injectAddress =>( others => '0'),txFull => '1',rxData =>( others => '0'),rxEmpty => '0',iprogIcapGrant => '0') SEM_IB_INIT_C
Definition: SemPkg.vhd:51
sl txFull
Definition: SemPkg.vhd:45
slv( 7 downto 0) rxData
Definition: SemPkg.vhd:46
sl correction
Definition: SemPkg.vhd:31
sl iprogIcapGrant
Definition: SemPkg.vhd:48
SemObType
Definition: SemPkg.vhd:27
sl initialization
Definition: SemPkg.vhd:29
sl observation
Definition: SemPkg.vhd:30
sl uncorrectable
Definition: SemPkg.vhd:35
sl injection
Definition: SemPkg.vhd:33
slv( 7 downto 0) txData
Definition: SemPkg.vhd:36
sl essential
Definition: SemPkg.vhd:34
sl rxRead
Definition: SemPkg.vhd:38
slv( 39 downto 0) injectAddress
Definition: SemPkg.vhd:44
std_logic_vector slv
Definition: StdRtlPkg.vhd:29