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

📄 t191.vhd

📁 Workshop vhdl code from Esperan
💻 VHD
字号:
--
-- This example represents a 64 bit parity generator. The following code
-- implies a 64 * (xor time unit) delay due to its structure based on a single
-- for loop. The test case t192.vhd illustrates how the critical path of the 
-- design can be reduced almost by half.
--
entity TEST is
	port( A : in  bit_vector(63 downto 0);
	      Z : out bit);
end TEST;
architecture T191 of TEST is
begin
	process(A)
		variable TMP: bit;
	begin
		TMP := '0';
		for I in A'range loop
			TMP := TMP xor A(I);
		end loop;
		Z <= TMP;
	end process;
end T191;

⌨️ 快捷键说明

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