Lab - Work: Digital Logic Fundamentals
Lab - Work: Digital Logic Fundamentals
LAB -WORK
Remarks:
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
OBJECTIVE #1
• Getting familiar with the environment of Proteus
• Modes available in Software
• Simulation of Digital Circuit in Proteus.
INTRODUCTION TO PROTEUS ISIS:
• Getting Familiar with the Software Environment:
Proteus is a Virtual System Modelling and circuit simulation application. The suite
combines mixed mode SPICE circuit simulation, animated components and
microprocessor models to facilitate co-simulation of complete microcontroller based
designs.
Proteus ISIS (Intelligent Schematic Input System) is the complete solution for
developing, testing and virtually prototyping circuit designs. This software allows to
perform schematic capture and to simulate the circuits.
Proteus also has the ability to simulate the interaction between software running on
a microcontroller and any analog or digital electronics connected to it. It simulates
Input / Output ports, interrupts, timers, USARTs and all other peripherals present on
each supported processor.
A demonstration on the use of PROTEUS will be given to you in this lab session, which
will encourage you to use this software before actually implementing any circuit design.
If you need to place any component (e.g. LEDs, Buttons, Crystal oscillator,
capacitors, 7 SEG-COM Cathode, Resistors) in the schematic area just follow the
same steps.
Now left click on the Editing Window to place the component on the schematic -
repeat the process to all components on the schematic.
Sub circuit Mode: Different Ports like Input, Output, Bidirectional, Power, Ground
and Bus.
Generators Mode: DC, Sine, Pulse, Exponential, SFFM, PWLIN, File, Audio, D-state,
D-edge, D-pulse, D-clock, D-pattern & Scriptable.
Moreover, all of the input generators, such as AC, DC, and PULSE, are contained
in the Generator mode and it will be shown when clicked.
In addition, “Ground” will not contain in this groups because it is not input signal but
it is just a terminal junction. Therefore, it will be group in the Terminal mode as
shown in Figure.
In addition, there is another input that usually be used in digital circuit designed
system but it does not exist in real world as an equipment. It is called as “LOGIC
STATE”. It can be find in picking part section (typing “logic state” and pick it).
After selecting all the devices, devices needed to be placed on the schematic area
(Editing Window) and wiring before the simulation can be run by following these
steps:
2. Place mouse to wherever the device is preferred to be place and then click the
left button of the mouse. The device will be place. If it needed to be moved.
Click the right button of the mouse on the device symbol to select the part and
then hold the left button of the mouse and move the symbol to wherever it is
needed to be places.
3. To wire the device together, click at the source pin of the device and then move
mouse cursor to the destination pin of the device. In this step the red line will be
appear and it will be the wire of the circuit after click mouse on the destination
pin of the circuit (as shown in figure).
4. After wiring, all of the devices and all input together, the simulation is ready to
be run by clicking on to run button and to stop button at the bottom of the
screen.
However, to see the result measurements needed to be added in the circuit.
However, Proteus build a module that can be used to show the logic in 2 ways:
1. Logic Display
The display that Proteus has for monitoring the logic value is called “logic-
probe”. It has 2 sizes and these sizes have the same functions. It can be found
from “picking devices” page.
2. Waveform Display
In the low frequency case, logic-probe is the easiest way for digital logic analysis
because human eyes can see the result of the simulation. Also, logic-probe also
works for high frequency system but human eyes cannot see the results.
Therefore, Proteus create Digital Logic Analyzer for the high frequency
analysis. To use the logic analyzer on Proteus following these steps:
Click on the ‘Probe Mode’ and place the voltage probe to the point that needed
to be measured.
a) After connect the probe to measured point, the probe will be named as identifier
of the measure point.
b) Click on the ‘Graph Mode’ and select “digital” from “Graphs” box then assign the
form of digital display. The Green screen will appear as measurement monitor as
shown in the figure.
c) Clicking at the word “DIGITAL ANALYSIS” on the screen. New window will appear
as the expanded screen.
d) Click on graph>> add trace, new pop up window will appear to add the measure
points needed on “Probe P1” (if many probes appear on the design, Proteus may
ask to offer all probes adding) then click OK. The select probes will be added on
the screen.
e) For checking the result click at the bottom ‘Simulation for 1 sec’.
TASK:
Make truth table and logic expression for the logic gates and design those using Logic
State and Logic Probe only.
OBSERVATIONS:
Write your observations neatly and precisely.