?? a.vhd
字號:
--異步置位/復位D觸發器
library ieee;
use ieee.std_logic_1164.all;
entity a is
port(clk,d,clr,pset:in std_logic;
q:out std_logic);
end a;
architecture rtl of a is
begin
process(clk,pset,clr)
begin
if(pset='0') then
q<='1';
elsif(clr='0') then
q<='0';
elsif(clk'event and clk='1') then
q<=d;
end if;
end process;
end rtl;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -