📄 ex_p4_16_neg_jkff.vhd
字号:
entity N_JKFF is port (J,K,CLK,RESET_BAR:in BIT;Q:out BIT);end N_JKFF ;architecture BEH of N_JKFF is signal INT_Q:BIT;-- INT_Q= intermediate Qbegin process(J,K,CLK,RESET_BAR,INT_Q) begin if RESET_BAR = '0' then INT_Q <='0'; elsif CLK'event and CLK='1'then if J='0' and K='1' then INT_Q<='0'; elsif J='1' and K='0' then INT_Q<='1'; elsif J='1' and K='1' then INT_Q<=not INT_Q; end if; end if; end process; Q<=INT_Q;end BEH;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -