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

📄 t18.vhd

📁 Workshop vhdl code from Esperan
💻 VHD
字号:
--
-- This file tests the support for the use of aggregate with arrays.
--
entity TEST is
	port (	A : in  bit_vector(3 downto 0);
		Z : out bit_vector(3 downto 0));
end TEST;
architecture T18 of TEST is 
	subtype NIBBLE is bit_vector(3 downto 0);
	type T_A_OF_A is array (0 to 7) of NIBBLE; 
	signal MY_ARRAY_A, MY_ARRAY_B : T_A_OF_A;
begin 
	MY_ARRAY_A <= (7 => MY_ARRAY_B(0), 6 => A, others => "0000");
	MY_ARRAY_B <= (others => (others => '1'));
	Z <= MY_ARRAY_A(6);
end T18;


⌨️ 快捷键说明

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