






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Lecture 1
What is digital logic?
Digital Hardware
Implementing a Digital System
Moore’s Law
Design Process of Digital Hardware
Digital signal
Discrete
Signal that can have one of a finite set of possible values
Analog signal
Continuous
Signal that can have one of an infinite number of possible values
Counting fingers Fingers = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
Temperature Infinite possibilities
Digital system
System that takes in digital inputs and generates digital outputs
Example: Computer
Many other digital systems exist
Digital circuits
Connection of digital components that together compose the digital systems
Digital signal with only two possible values --
Binary
Typically represented as 0 and 1
One binary digit is a - bit
We’ll only consider binary digital signals
Digital components
Digital circuit
Digital system
World is mostly analog
Many digital systems convert analog signals to digital signals
Many applications changing over to digital implementations (cassette tapes -> MP3s, VHS -> DVD, …)
More and more analog products are becoming digital.
How Do We Encode Data as Binary for Our Digital System
Some inputs inherently binary
button
Encoding Text: ASCII, Unicode
ASCII: 7- (or 8-) bit encoding of each letter, number, or symbol
Unicode: Increasingly popular 16-bit bit encoding
Encodes characters from various world languages
Symbol Encoding 1110010 1110011 1110100 1101100 1101110 1100101 0111001 0100001 0100000
r s t l n e 9
Symbol Encoding
Question: What does this ASCII bit sequence represent? 1010010 1000101 1010011 1010100
R E S T
How to Encode Numbers: Binary Numbers
Each position represents a quantity; symbol in position
means how many of that quantity
Base ten ( decimal )
So each position power of 10
Base two ( binary )
So each position power of 2
Other number representations also exists
We’ll cover this in Chapter 5
Analog signal (e.g., audio) may lose quality
time
Volts 0
original signal
lengthy transmission (e.g, cell phone)
(^0) time
received signal
How fix -- higher, lower,?
time
Volts
digitized signal 0
01 10 11 10 11
Let bit encoding be: 1 V: “01” 2 V: “10” 3 V: “11”
time
Can fix -- easily distinguish 0s and 1s, restore
time
Digitized signal not perfect re-creation, but higher sampling rate and more bits per encoding brings closer.
Volts 0
01 10 11 10 11
Example compression scheme: 00 --> 0000000000 01 --> 1111111111 1X --> X
74273 D-Type Flip-Flop with Reset
7493 4-Bit Binary Ripple Counter
7485 4-Bit Magnitude Comparator
7447 BCD to 7-Segment Decoder/Driver
7432 Quad 2-Input OR Gate
7402 Quad 2-Input NOR Gate
7400 Quad 2-Input NAND Gate
Part Number Description
a f
b
motion sensor
lamp
microprocessor
light sensor
f
a
b
motion sensor
lamp
custom circuit
light sensor
Sample digital camera task execution times (in seconds) on a microprocessor versus a digital circuit.
Store 1 0.
Compress 8 0.
Read 5 0.
Digital Camera Task Microprocessor Custom digital circuit
Digital camera implemented with: (a) a microprocessor
(b) custom circuits
(c) a combination of custom circuits and a microprocessor
To perform function X, we require this much area 18 months later, this much area 18 months later, this much area
18 months later, this much area
18 months later, this much area
18 months later, this much area
18 months later, this much area
18 months later, this much area
18 months later, this much area
18 months later, this much area
18 months later, this much area
18 months later, this much area
18 months later, this much area
~20 years
Cray 1A
1 million transistors (Cray 1) Modern chip – 1 billion transistors
1 cm
1 cm
Millimeter scale Includes sensors, microprocessors, wireless communication, power supply Costs dollars, even just cents, each
Electronically tracked and instructed to deliver medicine to specific location “Swallowing the pill and the instrument”
Pump controls amount of medicine based on body temperature and pH
http://www.templehealth.org/capsule/a pril_22_05/april2205_news03.htm
Courtesy of Joe Kahn
Image: "Smart dust" particles self-assembled on drops of oil in water. The microscopic particles are nanostructured flakes of porous silicon that spontaneously assemble, orient, sense, and report on their local environment. UCSD, 2003.
~20 years
Available today Pentium 4 Extreme Edition ( million) Xilinx FPGA (1 billion) Geforce 6800 Ultra (222 million)
Pentium 4 Extreme Edition (178 million) Xilinx FPGA (1 billion) Geforce 6800 Ultra (222 million)