1 ------------------------------------------------------------------------------- 2 -- File : AxiMicronP30Core.vhd 3 -- Company : SLAC National Accelerator Laboratory 4 -- Created : 2014-06-23 5 -- Last update: 2017-03-24 6 ------------------------------------------------------------------------------- 7 -- Description: AXI-Lite interface to FLASH Memory 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;
26 use unisim.vcomponents.
all;
29 --! @ingroup devices_Micron_p30 41 -- AXI-Lite Register Interface 60 for i in 15 downto 0 generate 64 IO => flashInOut.dq
(i
),
-- Buffer inout port (connect directly to top-level port) 66 T =>
flashTri);
-- 3-state enable input, high=input, low=output 67 end generate GEN_IOBUF;
87 -- AXI-Lite Register Interface out flashDinslv( 15 downto 0)
slv( 15 downto 0) flashDout
inout flashInOutAxiMicronP30InOutType
slv( 15 downto 0) flashDin
MEM_ADDR_MASK_Gslv( 31 downto 0) := x"00000000"
in flashDoutslv( 15 downto 0)
out flashOutAxiMicronP30OutType
out axiReadSlaveAxiLiteReadSlaveType
AXI_CLK_FREQ_Greal := 200.0E+6
out flashAddrslv( 30 downto 0)
AXI_ERROR_RESP_Gslv( 1 downto 0) := AXI_RESP_SLVERR_C
AXI_CLK_FREQ_Greal := 200.0E+6
slv( 1 downto 0) := "10" AXI_RESP_SLVERR_C
in axiReadMasterAxiLiteReadMasterType
out axiWriteSlaveAxiLiteWriteSlaveType
in axiReadMasterAxiLiteReadMasterType
out axiReadSlaveAxiLiteReadSlaveType
MEM_ADDR_MASK_Gslv( 31 downto 0) := x"00000000"
in axiWriteMasterAxiLiteWriteMasterType
out axiWriteSlaveAxiLiteWriteSlaveType
in flashInAxiMicronP30InType
in axiWriteMasterAxiLiteWriteMasterType
AXI_ERROR_RESP_Gslv( 1 downto 0) := AXI_RESP_SLVERR_C