📄 rise_edg.vhd
字号:
--******************************
--* D F/F With Synchronous *
--* Clear Using RISING_EDGE *
--* Filename : RISE_EDG *
--******************************
library IEEE;
use IEEE.std_logic_1164.all;
entity RISE_EDG is
port (
D: in STD_LOGIC;
CLK: in STD_LOGIC;
RESET: in STD_LOGIC;
Q: out STD_LOGIC
);
end RISE_EDG;
architecture RISE_EDG_arch of RISE_EDG is
begin
process (CLK,RESET)
begin
if rising_edge (CLK) then
if RESET = '0' then
Q <= '0';
else
Q <= D;
end if;
end if;
end process;
end RISE_EDG_arch;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -