t33.vhd

来自「Workshop vhdl code from Esperan」· VHDL 代码 · 共 14 行

VHD
14
字号
--
-- This file tests support for Top level generics. Your synthesis tool
-- should allow you to set up the value for the generic SIZE prior synthesis.
--
entity TEST is
	generic (SIZE : integer);
	port( 	A,B : in  bit_vector(SIZE -1 downto 0);
		Z   : out bit_vector(SIZE -1 downto 0));
end TEST;
architecture RTL of TEST is
begin
	Z <= A and B;
end RTL;

⌨️ 快捷键说明

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