📄 dff.vhd
字号:
--------- 电子系 学号:J02301 姓名:张宗旺----library ieee;use ieee.std_logic_1164.all;entity D_FF is port (CLK,RST,SET,D:in std_logic; Q:out std_logic);end D_FF;architecture ALG of D_FF isbegin process (RST,SET,CLK) begin if RST ='0' then Q<='0'; elsif SET ='0' then Q<='1'; elsif CLK'event and CLK='1' then Q<=D ; end if; end process;end ALG;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -