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

📄 t182.vhd

📁 Workshop vhdl code from Esperan
💻 VHD
字号:
--
-- This file tests the implementation of ranged integer (negative).
-- This code should infer the use of a 4 bits for the signals 
-- A and B (3 for the max value, 1 for the sign). Y will be 5 bits (4 for the
-- max value, 1 for the sign bit). 
--
entity TEST is 
	port( A,B : in integer range -3 to 7;
	      Y   : out integer range -6 to 14);
end TEST;
architecture T182 of TEST is
begin
	Y <= A + B;
end T182;

⌨️ 快捷键说明

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