0% found this document useful (0 votes)
112 views

COA LabReport

The document describes experiments conducted in a computer organization and architecture lab. It includes an introduction to the Logisim software and details of experiments realizing digital circuits like a full adder, 4-bit ripple carry adder, multiplexer and arithmetic logic unit using Logisim.

Uploaded by

Himanshu Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
112 views

COA LabReport

The document describes experiments conducted in a computer organization and architecture lab. It includes an introduction to the Logisim software and details of experiments realizing digital circuits like a full adder, 4-bit ripple carry adder, multiplexer and arithmetic logic unit using Logisim.

Uploaded by

Himanshu Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

CS 2103 COMPUTER ORGANIZATION AND ARCHITECTURE LAB

INDIAN INSTITUTE OF INFORMATION TECHNOLOGY,


RANCHI

COMPUTER ORGANIZATION & ARCHITECTURE


LAB REPORT
B.TECH - SEMESTER III

Submitted by,

Name :

Branch :

Roll No :
CS 2103 COMPUTER ORGANIZATION AND ARCHITECTURE LAB

LIST OF EXPERIMENTS

Cycle 1
1. a) DESIGN OF FULL ADDER USING LOGISIM

b) REALIZATION OF FOUR BIT RIPPLE CARRY ADDER USING FULL ADDER CIRCUIT

2. a) REALIZATION OF 8 BIT ADDER USING 4 BIT ADDER CIRCUIT

b) REALIZATION OF 32 BIT ADDER USING 8 BIT ADDER CIRCUIT

3. a) DESIGN OF FOUR TO ONE MULTIPLEXER (SINGLE BIT ) USING LOGISIM

b) REALIZATION OF SINGLE STAGE LOGIC UNIT AND FOUR BIT LOGIC UNIT

4. a) REALIZATION OF SINGLE BIT ARITHMETIC CIRCUIT

b) REALIZATION OF FOUR BIT ARITHMETIC CIRCUIT

5. a) DESIGN OF SHIFTER CIRCUIT

b) DESIGN OF 2 TO 1 MUX WITH MULTIBIT DATA

6. REALIZATION OF 4 BIT ARITHMETIC LOGIC SHIFT UNIT


CS 2103 COMPUTER ORGANIZATION AND ARCHITECTURE LAB

INTRODUCTION TO LOGISIM SOFTWARE

Logisim is an educational and user friendly tool. It mainly consists of an interactive graphical
schematic editor and logic simulator. Logisim has a layout similar to most available software
tools. Fig. 1 portrays the basic layout of Logisim

Fig 1. Main window layout of Logisim

Window environment details of Logisim

The main window consists of the following items:

1. Canvas:
The canvas is the area for the user to create and simulate digital circuits. Whenever a new
circuit
is added, a new canvas will be created.

2. Explorer Pane:
CS 2103 COMPUTER ORGANIZATION AND ARCHITECTURE LAB

This pane contains the list of wiring (for input or output connections), gates, multiplexers,
arithmetic circuits, memory and other components that are available for digital design in
Logisim software. They are the built-in modules of Logisim to support the realization of
complex circuits.

3. Attribute Table:

Gives detailed attributes (parameters) of digital design components of any circuit. The
attribute table allows the user to alter certain features (I/O bits, label, orientation etc) of a
digital component

4. Toolbar:

The toolbar provides short cuts to several commonly used items


o Simulation tool: shaped like a hand, is used in simulation mode to alter input pins.

o Design tool: It helps to drop down any block from toolbar, explorer pane and to make
interconnections between different components

o Input pin: green circle surrounded by a square box, is used to send a signal through a
wire. When placing the input on the canvas it initializes the input to logic 1 or 0. The number
of bits can be increased in the Attribute Table. The input value can be altered using the
simulation tool

o Output pin: green circle surrounded by a circular shape, is used to observe the output
from a digital circuit. The output pin toggles upon subsequent use of simulation tool.

Error Checking

During the design of any digital circuit, error can occur mainly in the interconnection of
different components and can be identified by the colour change in the wiring. The details are
given in Table 1

Table 1. Interconnection colour indications


CS 2103 COMPUTER ORGANIZATION AND ARCHITECTURE LAB

Experiment No: 1 Realization of 4 bit Ripple Carry Adder using Logisim


AIM

a) To design a full adder using Logisim software


b) To realize a 4-bit ripple carry adder using the full adder circuit

THEORY

Full Adder:

It is one among the simplest combinational circuit and is the basic building block of arithmetic circuit of
processors. It is a combinational circuit used to perform bitwise addition of numbers considering the carry
generated during previous arithmetic operations. A full adder can be obtained by combining two half
adders and hence the name full adder. Full adder circuit has three input states and two output states. Two
inputs correspond to the bits of the binary numbers taken and the third input corresponds to previous
carry. There are two outputs-sum and the new carry. Similar to half adder, full adder can also be designed
using basic gates. In practice, a set of full adders are implemented on chip using universal gates to
perform arithmetic operations.

TRUTH TABLE OF FULL ADDER

INPUT OUTPUT
X Y Cin S 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

Ripple Carry Adder:

Multiple full adder circuits can be cascaded in parallel to add two N-bit numbers. For an N-
bit parallel adder, there must be N number of full adder circuits. A ripple carry adder is a logic circuit in
which the carry-out of each full adder is the carry in of the succeeding next most significant full adder. It
is called a ripple carry adder because each carry bit gets rippled into the next stage. In a ripple carry adder
the sum and carry out bits of any half adder stage is not valid until the carry in of that stage occurs. In
simple words, the final result of the ripple carry adder is valid only after the joint propagation delays of
all full adder circuits inside it.
CS 2103 COMPUTER ORGANIZATION AND ARCHITECTURE LAB

CIRCUIT DIAGRAMS

Full Adder

Ripple Carry Adder

PROCEDURE

1. Open a new file in Logisim


2. Add a new circuit with name ‘Full Adder’
3. Build the full adder circuit in LogiSim using ‘analyze circuit’ option
4. Add a new circuit with name ‘Four Bit Adder’
5. Drop four units of full adder circuits to the new canvas
6. Use splitters to feed data inputs A and B where both A and B are four-bit data
7. Use splitter to take data output SUM
8. Connect the input data to input pins and output data to output points properly using wires
9. Simulate the circuit by feeding proper binary data at A and B
CS 2103 COMPUTER ORGANIZATION AND ARCHITECTURE LAB

OUTPUT

Screenshot of circuits realized using Logisim

Full Adder

Ripple Carry Adder

RESULT

Full adder and ripple carry adder circuits are realized using Logisim software and their corresponding
outputs are verified
CS 2103 COMPUTER ORGANIZATION AND ARCHITECTURE LAB

You might also like