1 ------------------------------------------------------------------------------- 2 -- File : AxiXcf128Core.vhd 3 -- Company : SLAC National Accelerator Laboratory 4 -- Created : 2014-04-24 5 -- Last update: 2015-01-13 6 ------------------------------------------------------------------------------- 7 -- Description: AXI-Lite interface to XCF128 FLASH IC 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;
27 use unisim.vcomponents.
all;
30 --! @ingroup devices_Xilinx_xcf128 40 -- AXI-Lite Register Interface 58 for i in 15 downto 0 generate 61 O => status.data
(i
),
-- Buffer output 62 IO => xcfInOut.data
(i
),
-- Buffer inout port (connect directly to top-level port) 63 I => config.data
(i
),
-- Buffer input 64 T => config.tristate
);
-- 3-state enable input, high=input, low=output 65 end generate GEN_IOBUF;
79 -- AXI-Lite Register Interface 84 -- Register Inputs/Outputs
out xcfOutAxiXcf128OutType
inout xcfInOutAxiXcf128InOutType
out axiReadSlaveAxiLiteReadSlaveType
in axiWriteMasterAxiLiteWriteMasterType
AxiXcf128ConfigType config
AxiXcf128StatusType status
out axiWriteSlaveAxiLiteWriteSlaveType
in statusAxiXcf128StatusType
in axiReadMasterAxiLiteReadMasterType
out configAxiXcf128ConfigType
AXI_ERROR_RESP_Gslv( 1 downto 0) := AXI_RESP_SLVERR_C
out axiReadSlaveAxiLiteReadSlaveType
slv( 1 downto 0) := "10" AXI_RESP_SLVERR_C
out axiWriteSlaveAxiLiteWriteSlaveType
AXI_CLK_FREQ_Greal := 200.0E+6
in axiReadMasterAxiLiteReadMasterType
AXI_ERROR_RESP_Gslv( 1 downto 0) := AXI_RESP_SLVERR_C
in axiWriteMasterAxiLiteWriteMasterType
AXI_CLK_FREQ_Greal := 200.0E+6