Professional Documents
Culture Documents
Vlsi Lab Manual7
Vlsi Lab Manual7
Vlsi Lab Manual7
TUTORIAL -7
VECTOR WAVEFORM:
2) HALF SUBTRACTOR:
VHDL PROGRAM:
library ieee; use ieee.std_logic_1164.all; entity dcd is port(a0,a1,a2,a3,a4,a5,a6,a7:out bit;x,y,z,cs:in bit); end dcd; architecture test of dcd is begin a0<=((not x) and (not y) and (not z)) and (not cs); a1<=((not x) and (not y) and z) and (not cs); a2<=((not x) and (y) and (not z)) and (not cs); a3<=((not x) and (y) and z) and (not cs); a4<=((x) and (not y) and (not z)) and (not cs); a5<=((x) and (not y) and (z)) and (not cs); a6<=((x) and (y) and (not z)) and (not cs); a7<=((x) and (y) and (z)) and (not cs); end test;
COMPILATION REPORT:
TUTORIAL -7
VECTOR WAVEFORM:
Conclusion:
Grade
Lab-In-Charge
H.O.D.