experiment 3

5
Experiment- 3 Aim :- Designing half and full adder, half and full subtractor using logic gates. Apparatus :- Software: Orcad Capture Hardware: Digital IC Trainer Kit IC used- 7400 , 7402 , 7404 , 7408. 7432 ,7486 and patch cords. Procedure :- Software Implementation 1. Open Capture CIS application. 2. Go to File->New->Project. 3. Give a project name and specify the directory to save the project. Click OK. 4. Select “Create a blank Project” and click OK. 5. Go to Place->Part->Add Library. Select “7400” library and choose the required gate and place it on the grid. 6. Go to Place->Wire and connect the wires as required. 7. Click Place->Part->Add Library- Select “Source”Library and choose “Digiclock” option. 8. Set the ONTIME and OFFTIME of the digiclock as required. 9. Place the Digiclock at the required inputs. 10. Go to Pspice->Create netlist. 11. Again click Pspice->New Simulation Profile and give a suitable name. 12. Set “Run to time” in the Simulation Settings and click OK. 13. Click Pspice->Marker->Voltage/Level Marker and place it at the desired inputs and outputs. 14. Go to Pspice->Run and the output shall appears. Hardware Implementation 1. Implement the circuits as per the circuit diagram using patch cords. 2. Switch on the board and enable input keys(LED indicators). 3. Observe and record the logic outputs using logic output LED indicators. 4. Verify the truth table.

Upload: vineetsharma

Post on 03-Feb-2016

217 views

Category:

Documents


0 download

DESCRIPTION

Half Adder Full Adder in orcad capture

TRANSCRIPT

Page 1: Experiment 3

Experiment- 3

Aim :-

Designing half and full adder, half and full subtractor using logic gates.

Apparatus :-

Software: Orcad Capture

Hardware: Digital IC Trainer Kit

IC used- 7400 , 7402 , 7404 , 7408. 7432 ,7486 and patch cords.

Procedure :-

Software Implementation

1. Open Capture CIS application.

2. Go to File->New->Project.

3. Give a project name and specify the directory to save the project. Click OK.

4. Select “Create a blank Project” and click OK.

5. Go to Place->Part->Add Library. Select “7400” library and choose the required gate and place it

on the grid.

6. Go to Place->Wire and connect the wires as required.

7. Click Place->Part->Add Library- Select “Source”Library and choose “Digiclock” option.

8. Set the ONTIME and OFFTIME of the digiclock as required.

9. Place the Digiclock at the required inputs.

10. Go to Pspice->Create netlist.

11. Again click Pspice->New Simulation Profile and give a suitable name.

12. Set “Run to time” in the Simulation Settings and click OK.

13. Click Pspice->Marker->Voltage/Level Marker and place it at the desired inputs and outputs.

14. Go to Pspice->Run and the output shall appears.

Hardware Implementation

1. Implement the circuits as per the circuit diagram using patch cords.

2. Switch on the board and enable input keys(LED indicators).

3. Observe and record the logic outputs using logic output LED indicators.

4. Verify the truth table.

Page 2: Experiment 3

Precautions:-

1.Circuit should be properly connected.

2. Switch off the board if not In use.

3. Wires should be held by their heads while being removed else they may get damaged.

Circuit Diagram: Half Adder

Output:

Truth Table:

A B Sum (U1) Carry (U2)

0 0 0 0

0 1 1 0

1 0 1 0

1 1 0 1

Page 3: Experiment 3

Circuit Diagram: Full Adder

Output:

Truth Table:

A B C Sum (U1) Carry (U2)

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

Page 4: Experiment 3

Circuit Diagram: Half Subtractor

Output:

Truth Table:

A B Difference

(U7)

Borrow

(U6)

0 0 0 0

0 1 1 1

1 0 1 0

1 1 0 0

Page 5: Experiment 3

Circuit Diagram: Full Subtractor

Output:

Truth Table:

A B C Difference

(U9)

Borrow

(U12)

0 0 0 0 0

0 0 1 1 1

0 1 0 1 1

0 1 1 0 1

1 0 0 1 0

1 0 1 0 1

1 1 0 0 0

1 1 1 1 1