SURF  1.0
AxiI2cCxpPkg.vhd
Go to the documentation of this file.
1 -------------------------------------------------------------------------------
2 -- File : AxiI2cCxpPkg.vhd
3 -- Company : SLAC National Accelerator Laboratory
4 -- Created : 2014-10-21
5 -- Last update: 2016-09-20
6 -------------------------------------------------------------------------------
7 -- Description: AxiI2cCxp 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 AxiI2cCxpPkg is
24 --! @file
25  --! @ingroup devices_transceivers_cxp
26 
27  type AxiI2cCxpInType is record
28  moduleDetL : sl; -- Module Present = PRSNT_L
29  end record;
30  type AxiI2cCxpInArray is array (natural range <>) of AxiI2cCxpInType;
31  type AxiI2cCxpInVectorArray is array (integer range<>, integer range<>)of AxiI2cCxpInType;
33  moduleDetL => '1');
34 
35  type AxiI2cCxpInOutType is record
36  irqRstL : sl; -- Interrupt / Reset = Int_L/Reset_L
37  scl : sl; -- Two-wire serial interface clock
38  sda : sl; -- Two-wire serial interface data
39  end record;
40  type AxiI2cCxpInOutArray is array (natural range <>) of AxiI2cCxpInOutType;
41  type AxiI2cCxpInOutVectorArray is array (integer range<>, integer range<>)of AxiI2cCxpInOutType;
43  irqRstL => 'Z',
44  scl => 'Z',
45  sda => 'Z');
46 
47  type AxiI2cCxpStatusType is record
48  irq : sl;
50  end record;
52  irq => '0',
53  moduleDet => '0');
54 
55  type AxiI2cCxpConfigType is record
56  rst : sl;
57  end record;
59  rst => '0');
60 
61 end package;
std_logic sl
Definition: StdRtlPkg.vhd:28
_library_ ieeeieee
AxiI2cCxpConfigType :=(rst => '0') AXI_SFP_CONFIG_INIT_C
array(natural range <> ) of AxiI2cCxpInOutType AxiI2cCxpInOutArray
AxiI2cCxpInType :=(moduleDetL => '1') AXI_SFP_IN_INIT_C
array(natural range <> ) of AxiI2cCxpInType AxiI2cCxpInArray
AxiI2cCxpInOutType :=(irqRstL => 'Z',scl => 'Z',sda => 'Z') AXI_SFP_IN_OUT_INIT_C
array(integer range <> ,integer range <> ) of AxiI2cCxpInOutType AxiI2cCxpInOutVectorArray
AxiI2cCxpStatusType :=(irq => '0',moduleDet => '0') AXI_SFP_STATUS_INIT_C
array(integer range <> ,integer range <> ) of AxiI2cCxpInType AxiI2cCxpInVectorArray