t181.vhd

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

VHD
13
字号
--
-- This file tests the implementation of ranged integer (positive).
-- This code should infer the use of a 3 bits adder.
--
entity TEST is 
	port( A,B : in integer range 0 to 7;
	      Y   : out integer range 0 to 15);
end TEST;
architecture T181 of TEST is
begin
	Y <= A + B;
end T181;

⌨️ 快捷键说明

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