FULL ADDER AIM: To synthesize and simulate a full adder using V.H.D.L Behaioural model . TOOLS: XILINX ISE 10.1 and V.H.D.L language . Truth table of FULL ADDER: A B CIN SUM COUT 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 1 0 1 0 1 1 1 0 0 1 1 1 1 1 1 RTL Schematic :
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
FULL ADDER AIM: To synthesize and simulate a full adder using V.H.D.L Behaioural model .
TOOLS: XILINX ISE 10.1 and V.H.D.L language .
Truth table of FULL ADDER: A B CIN SUM COUT 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 1 0 1 0 1 1 1 0 0 1 1 1 1 1 1
AIM: To synthesis and simulate a 3 bit EVEN PARITY GENERATOR.
TOOL USED: XILINX ISE 10.1 and VHDL language.
THEORY: In an even parity generator, the parity bit is set to 1 if the counts of ones in a given set of bits(excluding the parity bit ) is odd making the count of ones in the entire set of bits (including the parity bit ) even. When the count of ones in the set of bits is even, then the parity bit is set to 0.
TRUTH TABLE:
X Y Z PE0 0 0 00 0 1 10 1 0 10 1 1 01 0 0 11 0 1 01 1 0 01 1 1 1
entity parity1 is Port ( x,y,z : in STD_LOGIC; pe : out STD_LOGIC);end parity1;
architecture Behavioral of parity1 is
begin
pe <= (x xor y xor z);
end Behavioral;
RESULT:
Experiment NO. – 5
AIM: To synthesis and simulate a 3 bit ODD PARITY GENERATOR.
TOOL USED: XILINX ISE 10.1 and VHDL language.
THEORY: In an odd parity generator, the parity bit is set to 1 if the counts of ones in a given set of bits(excluding the parity bit ) is even making the count of ones in the entire set of bits (including the parity bit ) odd. When the count of ones in the set of bits is odd, then the parity bit is set to 0.
TRUTH TABLE:
X Y Z PO0 0 0 10 0 1 00 1 0 00 1 1 11 0 0 01 0 1 11 1 0 11 1 1 0
CIRCUIT DAIGRAM:
PROGRAM:
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;use IEEE.STD_LOGIC_ARITH.ALL;use IEEE.STD_LOGIC_UNSIGNED.ALL;
entity parity1 is Port ( x,y,z : in STD_LOGIC; po : out STD_LOGIC);end parity1;