Full Adder VHDL source code
This page of VHDL source code covers Full Adder vhdl code.
S = (A) EXOR (B) EXOR (Ci)CO= (A) EXOR (B) EXOR (Ci) + AB
VHDL Code
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
entuty FA is
Port(a,b,ci : in STD_LOGIC; s,co : out STD_LOGIC);
end FA;
architecture Behavioral of FA is
begin
s<= a xor b xor ci;
co<=(a and b) or (b and ci) or ( ci and a);
end Behavioral;
USEFUL LINKS to VHDL CODES
Refer following as well as links mentioned on left side panel for useful VHDL codes.
D Flipflop
T Flipflop
Read Write RAM
4X1 MUX
4 bit binary counter
Radix4 Butterfly
16QAM Modulation
2bit Parallel to serial
RF and Wireless tutorials
WLAN 802.11ac 802.11ad wimax Zigbee z-wave GSM LTE UMTS Bluetooth UWB IoT satellite Antenna RADAR