SURF  1.0
AxiSy56040Core.vhd
Go to the documentation of this file.
1 -------------------------------------------------------------------------------
2 -- File : AxiSy56040Core.vhd
3 -- Company : SLAC National Accelerator Laboratory
4 -- Created : 2015-06-12
5 -- Last update: 2015-06-12
6 -------------------------------------------------------------------------------
7 -- Description: AXI-Lite interface to Clock Crossbar
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 use work.AxiLitePkg.all;
23 use work.AxiSy56040Pkg.all;
24 
25 --! @see entity
26  --! @ingroup devices_Microchip_sy56040
27 entity AxiSy56040Core is
28  generic (
29  TPD_G : time := 1 ns;
30  AXI_CLK_FREQ_G : real := 200.0E+6; -- units of Hz
31  XBAR_DEFAULT_G : Slv2Array(3 downto 0) := ("11", "10", "01", "00");
33  port (
34  -- XBAR Ports
36  -- AXI-Lite Register Interface
41  -- Clocks and Resets
42  axiClk : in sl;
43  axiRst : in sl);
44 end AxiSy56040Core;
45 
46 architecture mapping of AxiSy56040Core is
47 
48 begin
49 
50  AxiSy56040Reg_Inst : entity work.AxiSy56040Reg
51  generic map (
52  TPD_G => TPD_G,
56  port map (
57  -- XBAR Ports
58  xBarSin => xBar.sin,
59  xBarSout => xBar.sout,
60  xBarConfig => xBar.config,
61  xBarLoad => xBar.load,
62  -- AXI-Lite Register Interface
67  -- Clocks and Resets
68  axiClk => axiClk,
69  axiRst => axiRst);
70 
71 end mapping;
out xBarAxiSy56040OutType
out xBarSoutslv( 1 downto 0)
AxiLiteWriteMasterType
Definition: AxiLitePkg.vhd:111
std_logic sl
Definition: StdRtlPkg.vhd:28
TPD_Gtime := 1 ns
in axiReadMasterAxiLiteReadMasterType
_library_ ieeeieee
out axiReadSlaveAxiLiteReadSlaveType
slv( 1 downto 0) := "10" AXI_RESP_SLVERR_C
Definition: AxiLitePkg.vhd:36
XBAR_DEFAULT_GSlv2Array( 3 downto 0) :=( "11", "10", "01", "00")
AxiLiteReadMasterType
Definition: AxiLitePkg.vhd:59
in axiWriteMasterAxiLiteWriteMasterType
AXI_CLK_FREQ_Greal := 200.0E+6
in axiWriteMasterAxiLiteWriteMasterType
AxiLiteReadSlaveType
Definition: AxiLitePkg.vhd:85
out xBarSinslv( 1 downto 0)
XBAR_DEFAULT_GSlv2Array( 3 downto 0) :=( "11", "10", "01", "00")
in axiReadMasterAxiLiteReadMasterType
out axiReadSlaveAxiLiteReadSlaveType
out axiWriteSlaveAxiLiteWriteSlaveType
AXI_ERROR_RESP_Gslv( 1 downto 0) := AXI_RESP_SLVERR_C
AXI_ERROR_RESP_Gslv( 1 downto 0) := AXI_RESP_SLVERR_C
AXI_CLK_FREQ_Greal := 200.0E+6
out axiWriteSlaveAxiLiteWriteSlaveType
TPD_Gtime := 1 ns
std_logic_vector slv
Definition: StdRtlPkg.vhd:29
array(natural range <> ) of slv( 1 downto 0) Slv2Array
Definition: StdRtlPkg.vhd:409