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

📄 t153.vhd

📁 Workshop vhdl code from Esperan
💻 VHD
字号:
--
-- This file implements Latch inference on variables in a combinational
-- process. The variable TMP is read before assigned a value to. Hence 
-- implying a latch memory element. 
--
entity TEST is 
	port( A, RST : in bit;
	      Z : out bit);
end TEST;
architecture T153 of TEST is
begin
	process(A, RST)
		variable TMP : bit;
	begin
		if RST = '1' then
			TMP := '0';
		else
			Z <= not TMP;
			TMP := A;
		end if;
	end process;
end T153;

⌨️ 快捷键说明

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