SURF  1.0
AxiI2cMasterPkg.vhd
Go to the documentation of this file.
1 -------------------------------------------------------------------------------
2 -- File : AxiI2cRegMaster.vhd
3 -- Company : SLAC National Accelerator Laboratory
4 -- Created : 2015-07-08
5 -- Last update: 2016-09-20
6 -------------------------------------------------------------------------------
7 -- Description: AXI-Lite I2C Master 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 AxiI2cMasterPkg is
24 --! @file
25  --! @ingroup protocols_i2c
26 
27  type AxiI2cMasterInOutType is record
28  scl : sl; -- Two wire serial ID interface clock line (SCL)
29  sda : sl; -- Two wire serial ID interface data line (SDA)
30  end record;
31  type AxiI2cMasterInOutArray is array (natural range <>) of AxiI2cMasterInOutType;
32  type AxiI2cMasterInOutVectorArray is array (integer range<>, integer range<>)of AxiI2cMasterInOutType;
34  'Z',
35  'Z');
36 
37 end package;
std_logic sl
Definition: StdRtlPkg.vhd:28
AxiI2cMasterInOutType :=( 'Z', 'Z') AXI_SFP_IN_OUT_INIT_C
array(integer range <> ,integer range <> ) of AxiI2cMasterInOutType AxiI2cMasterInOutVectorArray
array(natural range <> ) of AxiI2cMasterInOutType AxiI2cMasterInOutArray
_library_ ieeeieee