sn7483.vhd
来自「VHDL子程序集,包括各种例程资料以及源码.」· VHDL 代码 · 共 24 行
VHD
24 行
--*****************************
--* 4 BIT ADDER IC SN7483 *
--* Filename : SN7483 *
--*****************************
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.std_logic_unsigned.all;
entity SN7483 is
port (
Cin: in std_logic;
X: in std_logic_vector(3 downto 0);
Y: in std_logic_vector (3 downto 0);
S: out std_logic_vector (4 downto 0)
);
end SN7483;
architecture SN7483_arch of SN7483 is
begin
S <= ('0'& X) + Y + Cin;
end SN7483_arch;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?