⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 t.vhd

📁 在quartus开发环境下
💻 VHD
字号:
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity t is
port(t,cp:in std_logic;
     q:out std_logic);
end;
architecture one of t is
	signal q_temp:std_logic;
begin
process(cp)
begin
if cp'event and cp='1' then
	if t='1' then
		q_temp<=not q_temp;
	else
		q_temp<=q_temp;
	end if;
end if;
end process;
q<=q_temp;
end;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -