📄 sn7483.vhd
字号:
--*****************************
--* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -