解决方法:
PROC_ADJ_VSYNCS: process (CLK_IN,CLK)--可实现信号线延时
variable VAR_VSYNC_CNT: std_logic_vector(3 downto 0):= "0000";
constant CONST_VSYNC_CNT_MAX: std_logic_vector(3 downto 0):= "1100";
begin
if CLK_IN='1' then
CLK_OUT <= '1';
VAR_VSYNC_CNT := "0000";
elsif rising_edge(CLK) then
if (VAR_VSYNC_CNT<CONST_VSYNC_CNT_MAX) then
CLK_OUT <= '1';
VAR_VSYNC_CNT := VAR_VSYNC_CNT + 1;
else
CLK_OUT <= '0';
end if;
end if;
end process PROC_ADJ_VSYNCS;