1 ------------------------------------------------------------------------------- 2 -- File : WatchDogRst.vhd 3 -- Company : SLAC National Accelerator Laboratory 4 -- Created : 2014-06-17 5 -- Last update: 2014-06-17 6 ------------------------------------------------------------------------------- 7 -- Description: Watch Dog Reset module 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;
20 use ieee.std_logic_unsigned.
all;
21 use ieee.std_logic_arith.
all;
26 --! @ingroup base_general 47 attribute use_dsp48 : ;
54 report "USE_DSP48_G must be either yes, no, auto, or automax" 67 if rising_edge(clk) then 70 -- Check the monitoring input 75 -- Increment the counter 76 cnt <= cnt + 1 after TPD_G;
77 -- Check the counter value
DURATION_Gnatural range 0 to (( 2** 31)- 1):= 156250000
USE_DSP48_Gstring := "no"