1 ------------------------------------------------------------------------------- 2 -- File : Iprog7Series.vhd 3 -- Company : SLAC National Accelerator Laboratory 4 -- Created : 2013-11-01 5 -- Last update: 2015-09-10 7 -- Standard : VHDL'93/02 8 ------------------------------------------------------------------------------- 9 -- Description: Uses the ICAP primitive to internally 10 -- toggle the PROG_B via IPROG command 11 ------------------------------------------------------------------------------- 12 -- This file is part of 'SLAC Firmware Standard Library'. 13 -- It is subject to the license terms in the LICENSE.txt file found in the 14 -- top-level directory of this distribution and at: 15 -- https://confluence.slac.stanford.edu/display/ppareg/LICENSE.html. 16 -- No part of 'SLAC Firmware Standard Library', including this file, 17 -- may be copied, modified, propagated, or distributed except according to 18 -- the terms contained in the LICENSE.txt file. 19 ------------------------------------------------------------------------------- 22 use ieee.std_logic_1164.
all;
23 use ieee.std_logic_arith.
all;
24 use ieee.std_logic_unsigned.
all;
32 --! @ingroup xilinx_7Series_general 42 start : in sl;
-- Should be asserted and held until reboot 49 signal icapClkRst : sl;
52 signal icapI : slv(31 downto 0);
58 end generate SLOWCLK_GEN;
69 end generate DIVCLK_GEN;
71 -- Synchronize reset to icapClk 72 RstSync_Inst :
entity work.
RstSync 92 icapGrant => '1',
-- Dedicated ICAP so always grant 100 DEVICE_ID => x"03651093",
-- Specifies the pre-programmed Device ID value to be used for simulation purposes 101 ICAP_WIDTH =>
"X32",
-- Specifies the input and output data width to be used with the ICAPE2 Possible values: (X8,X16 or X32) 102 SIM_CFG_FILE_NAME =>
"NONE") -- Specifies the Raw Bitstream (RBT) file to be parsed by the simulation model 104 O =>
open,
-- 32-bit output: Configuration data output bus 105 CLK => icapClk,
-- 1-bit input: Clock Input 106 CSIB => icapCsl,
-- 1-bit input: Active-Low ICAP Enable 107 I => icapI,
-- 32-bit input: Configuration data input bus 108 RDWRB => icapRnw
);
-- 1-bit input: Read/Write Select input
out icapIslv( 31 downto 0)
in reloadAddrslv( 31 downto 0) := X"00000000"
SYNC_RELOAD_Gboolean := true
USE_SLOWCLK_Gboolean := false
BUFR_CLK_DIV_Gstring := "8"
in bootAddressslv( 31 downto 0) := X"00000000"