📄 clockandresetgenerator.vhd
字号:
--****************************************************************************************************
-- Clock and reset generator for ARM core simulation
-- Designed by Ruslan Lepetenok
-- Modified 22.12.2002
--****************************************************************************************************
library IEEE;
use IEEE.std_logic_1164.all;
entity ClockAndResetGenerator is port (
nRESET : out std_logic;
CLK : out std_logic
);
end ClockAndResetGenerator;
architecture Beh of ClockAndResetGenerator is
constant CLK_Period : time := 20 ns;
constant nRESET_Delay : time := 11 ns;
signal nRESET_Int : std_logic := '0';
signal CLK_Int : std_logic := '0';
begin
nRESET_Int <= '0', '1' after nRESET_Delay;
CLK_Int <= not CLK_Int after CLK_Period/2;
nRESET <= nRESET_Int;
CLK <= CLK_Int;
end Beh;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -