21use ieee.std_logic_1164.
all;
47 variable t_lastclkin : time := 0 ns;
48 variable t_lastperiod : Delay_length := 0 ns;
49 variable t_period : Delay_length := 0 ns;
50 variable nclkin : integer := 1;
56 if t_lastclkin > 0 ns then
57 t_lastperiod := t_period;
58 t_period := now - t_lastclkin;
60 if t_lastperiod > 0 ns and abs(t_period-t_lastperiod) > 1 ps then
61 report "sfs_gsim_core: CLKIN unstable" severity warning;
66 if t_period > 0 ns then
80 end process proc_clkin;
99 end process proc_clkout;
Delay_length := 0 ns CLKOUT_PERIOD
slbit := '0' CLK_DIVPULSE
VCO_MULTIPLY positive := 1