?? full_adder.vhd
字號:
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
entity full_adder is
Port (a, b, c : in std_logic;
sum, carry_out : out std_logic);
end full_adder;
architecture Behavioral of full_adder is
begin
sum <= a xor b xor c;
carry_out <= (a and b) or (b and c) or (c and a);
end Behavioral;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -