📄 jkff.vhd
字号:
library ieee; use ieee.std_logic_1164.all;Entity JKFF is port( j,k:in std_logic; clk,reset:in std_logic; Q:out std_logic); end JKFF; Architecture bhv of JKFF is signal t:std_logic; begin process(reset,clk) begin if reset='1' then t<='0'; elsif clk='1' and clk'event then t<=(j and not(t)) or(not(k) and t); end if; end process; Q<=t; end bhv;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -