Professional Documents
Culture Documents
Faculty:
Engr. Shaista Ashraf
Computer Sciences Department,
Bahria University (Karachi Campus)
Summary
Analog Quantities
Most natural quantities that we see are analog and vary
continuously. Analog systems can generally handle higher
power than digital systems.
Temperature
(°F)
100
95
90
85
80
75
70
Time of day
1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12
A .M . P.M .
Digital Waveforms
HIGH HIGH
Rising or Falling or Falling or Rising or
leading edge trailing edge leading edge trailing edge
LOW LOW
t0 t1 t0 t1
10%
Ringing
Pulse Definitions
In addition to frequency and period, repetitive pulse waveforms
are described by the amplitude (A), pulse width (tW) and duty
cycle. Duty cycle is the ratio of tW to T.
Volts
Pulse
width
Amplitude (A) (tW)
Time
Period, T
1
Computer Printer
0
0
t0 t1
Two
binary A= B Outputs
numbers
B
A< B
Binary input
7-segment display
Switching Switching
sequence sequence
control input control input
Summary
Basic System Functions
The counting function
Counter Parallel
output lines Binary Binary Binary Binary Binary
code code code code code
1 2 3 4 5 for 1 for 2 for 3 for 4 for 5
Input pulses Sequence of binary codes that represent
the number of input pulses counted.
Pins
Pin 1
Fixed OR
Programmable array and
AND array output logic