Professional Documents
Culture Documents
NAME:CH VENUGOPAL
REG. NO.: 22BCE9142
SLOT: L25 + L26
LOGIC GATES
AND GATE
Testbench code for AND gate:
OR GATE
Testbench code for OR gate:
Design code for OR gate:
Result:
NOT GATE
Testbench code for NOT gate:
NAND GATE
Testbench code for NAND gate:
Design code for NAND gate:
Result:
NOR GATE
Testbench code for NOR gate:
Design code for NOR gate:
Result:
XOR GATE
Testbench code for XOR gate:
XNOR GATE
Testbench code for XNOR gate:
Design code for XNOR gate:
Result:
EXPERIMENT 2
NAME :ch venugopal
REG. NO:22BCE9142
SLOT : L25+L26
HALF ADDER
Testbench code for HALF ADDER:
FULL ADDER
Testbench code for FULL ADDER:
Design code for FULL ADDER:
Result:
HALF SUBTRACTOR
Testbench code for HALF SUBTRACTOR:
Design code for HALF SUBTRACTOR:
Result:
FULL SUBTRACTOR
Testbench code for FULL SUBTRACTOR:
Design code for FULL SUBTRACTOR:
Result:
DLD LAB ASSSIGNMENT
CH VENUGOPAL
22BCE9142
EP WAVE:
ENCODER AND DECODER
NAME : CH VENUGOPAL
REG.NO : 22BCE9142
SLOT : L25+26
ENCODER
Design code:
Testbench code:
Result:
Wave form:
DECODER
Design code:
Testbench code:
Result:
Wave form: