Docsity

COMPLETE LAB FILE BCS352, Slides of Computer Architecture and Organization

Partial preview of the text

Download COMPLETE LAB FILE BCS352 and more Slides Computer Architecture and Organization in PDF only on Docsity!

LABORATORY MANUAL

Department of Computer Science & Engineering

Computer Organization Lab (RCS- 352 ) Manual (CSE, III SEM)) Page 2

LIST OF EXPERIMENTS

Sr.

No.

Title of experiment Corresponding

CO

  1. Verification of^ Logic^ Gates^ C 209.
  2. Implementing HALF ADDER, FULL ADDER using basic logic gates.

C 209.

  1. Implementing Binary - to - Gray, Gray - to - Binary code conversions.

C 209.

  1. Implementing 3 - 8 line DECODER and Implementing 4 x 1 and 8 x1 MULTIPLEXERS.

C 209.

  1. Verify the excitation tables of various FLIP-FLOPS. C 209.
  2. Design^ of^ an^8 - bit^ Input/^ Output^ system with four^8 - bit Internal Registers.

C 209.

  1. Design of an 8 - bit ARITHEMATIC LOGIC UNIT. C 209.
  2. Write an algorithm and program to perform matrix multiplication of two n * n matrices on the 2 - D mesh SIMD model, Hypercube SIMD Model or multiprocessor system.

C 209.

  1. Study of Scalability for Single Board, Multi-board, multicore, multiprocessor using Simulator.

C 209.

Computer Organization Lab (RCS- 352 ) Manual (CSE, III SEM)) Page 4

DO ’ S AND DON T’S

D O’s

  1. Conform to the academic discipline of the department.
  2. Enter your credentials in the laboratory attendance register.
  3. Read and understand how to carry out an activity thoroughly before coming to the laboratory.
  4. Ensure the uniqueness with respect to the methodology adopted for carrying out the experiments.
  5. Shut down the machine once you are done using it.

DON T’S

  1. Eatables are not allowed in the laboratory.
  2. Usage of mobile phones is strictly prohibited.
  3. Do not open the system unit casing.
  4. Do not remove anything from the computer laboratory without permission.
  5. Do not touch, connect or disconnect any plug or cable without your faculty/laboratory technician’s permission.

Computer Organization Lab (RCS- 352 ) Manual (CSE, III SEM)) Page 5

GENERAL SAFETY INSTRUCTIONS

  1. Know the location of the fire extinguisher and the first aid box and how to use them in case of an emergency.
  2. Report fires or accidents to your faculty /laboratory technician immediately.
  3. Report any broken plugs or exposed electrical wires to your faculty/laboratory technician immediately.
  4. Do not plug in external devices without scanning them for computer viruses.

INDEX

Experiment

No.

Experiment

Name

Date of

Conduction

Date of

Submission

Faculty

Signature

INPUTS OUTPUT USING VOLTMETER USING LED A B

EXPERIMENT 1

Aim: Verification of logic gates Equipment Required & Component Required: S.No. Equipments Specification Quantity 1 Digital IC Trainer kit - 1 2 Digital Multimeter 1 S.No. Components Specification Quantity 1 Digital ICs

1 each 2 Patch cords

Theory:

  • Details of IC used and pin configurations.
  • Working of logic gates.
    1. OR GATE: VCC 14 13 12 11 10 9 8 1 2 3 4 5 6 7 GND PIN CONFIGURATION OF 74 LS 32 TRUTH TABLE OBSERVATION TABLE INPUT A INPUT B OUTPUT Y 0 0 0 0 1 1 1 0 1 1 1 1

INPUTS OUTPUT USING VOLTMETER USING LED A B

INPUTS (^) OUTPUT USING VOLTMETER USING LED A B

4. NOR GATE

TRUTH TABLE OBSERVATION TABLE

INPUT A INPUT B OUTPUT Y 0 0 1 0 1 0 1 0 0 1 1 0

  1. NAND GATE: PIN CONFIGURATION OF 74 LS 00 TRUTH TABLE OBSERVATION TABLE INPUT A INPUT B OUTPUT Y 0 0 1 0 1 1 1 0 1 1 1 0

INPUTS OUTPUT USING VOLTMETER USING LED A B

6. EX-OR GATE:

PIN CONFIGURATION OF 7486

TRUTH TABLE OBSERVATION TABLE

INPUT A INPUT B OUTPUT Y 0 0 0 0 1 1 1 0 1 1 1 0 Pre-Experiment Questions:- Q.1 What are the different types of logic gates? Q.2 Give the truth table of all the basic gates. Q.3 Which gates are known as universal Gates? And why? Q.4 Differentiate between NAND and AND Gate. Procedure:

  1. Identify the pin no’s of the given IC.
  2. From the IC No. Find out the type of gate.
  3. Check for the proper working of the gate.
  4. Connect the circuit as per circuit diagram.
  5. For all combination of input condition. Tabulate the output voltage by connecting a voltmeter at the output end.
  6. Verify it with truth Table.
  7. Repeat the above procedure for all gates. Result & Conclusion: All Logic Gates are verified.

INPUT A INPUT B OUTPUTS S C 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1

EXPERIMENT 2

Aim: Design and implementation of HALF ADDER, FULL ADDER using basic logic gates Equipment & Components Required: S.No. Equipments Specification Quantity 1 Digital IC Trainer kit - 1 2 Digital Multimeter 1 S.No. Components Specification Quantity 1 Digital ICs

1 each 2 Patch cords

Theory: a) To design and implement half adder using logic gates HALF ADDER CIRCUIT DIAGRAM TRUTH TABLE

b) To design and implement full adder using logic gates FULL ADDER CIRCUIT DIAGRAM TRUTH TABLE Pre-Experiment Questions: Q.1 Explain the truth table of half adder. Q.2 How many Ex-or and or or gate can be used to make a half adder?

EXPERIMENT 3

Aim: Design and implementation of Binary to Gray, Gray to Binary Code conversions Equipment & Components Required: 1 S.No. Equipments Specification Quantity 1 Digital IC Trainer kit - 1 2 Digital Multimeter 1 S.No. Components Specification Quantity 1 Digital ICs

1 each 2 Patch cords

Theory: a) To design and implement Binary to Gray Code conversions Pin diagram of Binary to gray code converter using 7486 Ic(Ex-Or Gate) INPUTS OUTPUTS

A B C D G 4 G 3 G 2 G 1

Circuit Diagram of Binary to Gray Code Converter Truth Table b) To design and implement Binary to Gray Code conversions Pin diagram of Gray to Binary code converter using 7486 Ic(Ex-Or Gate)

  • Operate the switches and fill in the truth table (Write " 1 " if LED is ON and "0" if L 1 is OFF Apply the various combination of inputs according to the truth table and observe the condition of Output LEDs. Result & Conclusion: Binary to gray and gray to binary code converter has been designed using EXOR gate and its truth table verified. Post-Experiment Question: Q.1 What are the advantages of code converter? Q.2 What are the properties of gray code? Q.3 Describe a way by which we can convert BCD to binary using hardware approach. Q.4 List the process to generate n bit gray codes.

EXPERIMENT 4

Aim: Design and implementation of 3 - 8 line DECODER, 4x1 MUX and 8 x MULTIPLEXERS Equipment ’ s & Components Required : S.No. Equipment’s Specification Quantity 1 Digital IC Trainer kit - 1 2 Digital Multimeter 1 S.No. Components Specification Quantity 1 Digital ICs

1 each 2 Patch cords - 6 Theory: a) 4 to 2 encoder using logic gates: Truth Table Logic Diagram: I 3 I 2 I 1 I 0 O 1 O 0 0 0 0 1 0 0 0 0 1 0 0 1 0 1 0 0 1 0 1 0 0 0 1 1