t171.vhd
来自「Workshop vhdl code from Esperan」· VHDL 代码 · 共 18 行
VHD
18 行
--
-- This file tests for resource sharing when using multi-indentical
-- expression in a process.
-- Only three adders should be synthesised from this code.
--
entity TEST is
port( A,B,C,D : in integer range 0 to 7;
Y,Z : out integer range 0 to 23);
end TEST;
architecture T171 of TEST is
begin
process(A, B, C, D)
begin
Y <= A + B + C;
Z <= A + B + D;
end process;
end T171;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?