Logisim Manual
Logisim Manual
MANUAL
FUNDAMENTALS OF
INFORMATION TECHNOLOGY
ITIS101
DEPARTMENT OF IT
1.1 Introduction…………………………………………………………………….3
1.2 Basic Gates……………………………………………………………………...4
1.3 Universal Gates…………………………………………………………………6
1.4 Logisim Tool…………………………………………………………………….8
1.5 Logic circuit design using logisim……………………………………………..22
1.6 Exercises ………………………………………………………………………..25
1.7 References……………………………………………………………………….25
Logic gates are electronic circuits that operate on one or more input signals to produce standard
output signal. Logic gates are the building blocks of all the circuits in a computer system. The
name logic gate is derived from the ability of such device to make decisions, in the sense that
it produces one output level when some combinations of input levels are present, and a different
output level when other combinations of input levels are present.
There are only three basic types of basic gates, AND gate, OR gate and NOT gate. The fact
that computers are able to perform very complex operations, from the way these basic gates
are interconnected. The interconnection of gates to perform a variety of logical operations is
called logic design.
Logic gates are electronic circuits as they are made up of number of electronic devices and
components. Each gate is dedicated to specific logic operation. Input and output to logic gates
can occur only in two levels. These two levels are called as LOW and HIGH, or TRUE and
False or ON and OFF or simply 1 and 0. A table which lists all the possible combinations of
input variables and the corresponding outputs is called truth table.
Logic gate is electronic device, which can have one or more inputs but only one output.
The output will be HIGH or LOW based on the value/s of the input/s. There are three
basic gates. AND, OR gate and NOT gate.
We will study each gate in details.
The OR gate may have two or more inputs but only one output. The out will be high (1) even
if one of its input is high (1). Its output will be low (0) when each of its input is low (0).
Therefore OR gate is defined as a device whose output is high, even if one of its input is high.
The logic symbol, and truth table of two input OR gate is shown in fig 1.2.2a and
1.2.2b respectively. The Symbol for OR operation is ‘+’.
A NOT gate also called as inverter has only one input and only one output. The NOT gate
generates an output signal which is reverse of the input signal. It means if its input is low then
output will be high. And if its input is high then its output will be low i.e. the output is
complement of its input, so it is called inverter.
The logic symbol, and truth table of NOT gate is shown in fig 1.2.3a and
1.2.3b respectively. The Symbol for NOT operation is ‘-‘(bar)
The NAND gate and NOR gates are called universal gates because using these gates any
logic circuit can be realized single-handedly. (means using NOR gates only you
can build any logic circuit or Using NAND gates only you can build any logic circuits)
The logic symbol, and truth table of NAND gate is shown in fig 1.3.1a and 1.3.1b
respectively.
The logic symbol, and truth table of NOR gate is shown in fig 1.3.2a and 1.3.2b
respectively.
Welcome to Logisim!
Logisim allows you to design and simulate digital circuits. It is intended as an educational
tool, to help you learn how circuits work.
Step5: Notice the two dots on the left side of the AND gate and one dot on right side of the
AND gate. These are spots where wires can be attached (dragged).
Select the text tool ( ). You can click on an input pin and start typing to give it a
label. (It's better to click directly on the input pin than to click where you want the text to go,
because then the label will move with the pin.) You can do the same for the output pin.
Note that the input pins both contain 0s; and so does the output pin. This already tells us that
the circuit already computes a 0 when both inputs are 0.
Now to try another combination of inputs. Select the poke tool ( ) and start poking the
inputs by clicking on them. Each time you poke an input, its value will toggle (toggle means
changes from 1 to 0 or 0 to 1).
Note: Students should try all other combinations of input values and check the corresponding
output. The Truth table is given below.
Step 4 : Click on editing Area where you want the OR Gate to go.
attach the pins to the two left side wires. You should also place an output pin ( ) next to
the OR gate's output as shown below.
Select the text tool ( ). You can click on an input pin and start typing to give it a
label. (It's better to click directly on the input pin than to click where you want the text to go,
because then the label will move with the pin.) You can do the same for the output pin.
Note that the input pins both contain 0s; and so does the output pin. This already tells us that
the circuit already computes a 0 when both inputs are 0.
Now to try another combination of inputs. Select the poke tool ( ) and start poking the
inputs by clicking on them. Each time you poke an input, its value will toggle(toggle means
changes from 1 to 0 or 0 to 1).
Exercises
Note:: An X-OR gate is a two input , one output logic circuit, whose output assumes logic 1
state when one and only one of its two inputs assumes a logic 1 state.
Students can follow the same steps which is explained in example 1. In step 3 Select the X-
OR gate with two inputs.
Students can verify the output for different combinations of input values with the help of
following truth table .
Example 4:: Design a two input Ex-NOR ( X-NOR - Exclusive NOR gate)
Note: An X-NOR gate is a combination of an X-OR gate and a NOT gate. The X-NOR gate
is a two input , one output logic circuit, whose output assumes a 1 state only when both the
inputs assumes a 0 state or when both the inputs assumes a 1 state. It is used as equality
detector because its output s a1 only when its inputs are equal.
When both the inputs are having same value (both are zero), you can see the out is 1, similarly
for other input combinations, you can verify the output with the help of following truth table.
Example 1: Design a logic circuit using logisim for the given expression Y= A (B+C) and
verify its Truth table.
Solution: The final step and the truth table for the given expression is given for your
reference. You can verify its output by changing the input values.
Note: For the Input values A=1, B=1 and C=0 the output y=1 is shown in the above diagram. For the
other input values, students can verify the output with the help of following truth table.
A B C (B+C) A(B+C)
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 1 0
1 0 0 0 0
1 0 1 1 1
1 1 0 1 1
1 1 1 1 1
Example 2: Design a logic circuit using logisim for the given expression
Y= (AB)’ +A + (B+C)’ and verify its Truth table.
Solution: The final step and the truth table for the given expression is given for your
reference. You can verify its output by changing the input values.
Note: For the Input values A=0, B=0 and C=0 the output y=1 is shown in the above diagram. For the
other input values, students can verify the output with the help of following truth table.
1. Construct a Three input AND gate and verify its truth table.
2. Construct a Three Input NOR gate and verify its Truth table.
3. Design the logic circuit for Y=AB+A’ +BC and verify its truth table
4. Design a logic circuit for Q=P(Q+R) and verify its truth table
5. Design a logic circuit for Y=ST+RS’+(TR)’ and verify its truth table
6. Design a logic circuit for T=M+NP+Q and verify its truth table
7. Design a logic circuit for Y=ABC+A’BC+BC and verify its truth table
8. Design a logic circuit for Q= ((PS)’ +(SQ)’ )’ and verify its truth table
9. Design a logic circuit for Y= (A+ B’)( A’+ C) and verify its truth table
10. Design a logic circuit for Y= A(B+C’)+BC and verify its truth table
1.7 References:
[1] Kumar, A. (2001). Fundamentals of Digital Circuits. Prentice-hall of India Private limited
New Delhi.