Lec01 Intro
Lec01 Intro
Lecture 1 - Introduction
John Wawrzynek
Electrical Engineering and Computer Sciences
University of California, Berkeley
http://www-inst.eecs.berkeley.edu/~cs150
Michael Austin
All TA office hours held in 125 Cory. Check website for days and times.
Spring 2012 EECS150 lec01-intro Page 2
Electronics all around us Communications
Infrastructure
Consumer
Products
Aerospace and
Military
Automotive
Automotive
Course Content
Components and Design Techniques for Digital Systems
more specifically
Synchronous Digital Hardware Systems
• Synchronous: “Clocked” - all changes in the system are controlled
by a global clock and happen at the same time (not asynchronous)
• Digital: All inputs/outputs and internal values (signals) take on
discrete values (not analog).
– Example digital representation: music waveform
• Beginning 2009:
– Xilinx XUPV5
development board (a.k.a
ML505)
– Could enable very aggressive
final projects.
– But, modest use of resources
this semester.
– Project debugging with
simulation tools and with in-
system hardware debugging • State-of-the-art LX110T
tools. FPGA: ~1M logic gates.
– Interfaces: Audio in/out, digital video,
ethernet, on-board DRAM, PCIe,
USB, ...
Spring 2012 EECS150 lec01-intro Page 11
Final Project: Spring 2012
• Attend your lab section. You must stick with the same lab
section all semester.
– Lab exercises will be done individually; project with a partner.
– We will put together a lab section exchange in a few weeks to help
you move to a different section.
• The entire teaching staff hold regular office hours (see class
webpage). Take advantage of this opportunity! Come early
(and often). Don’t wait until the night before an assignment
is due!
Spring 2012 EECS150 lec01-intro Page 15
Course Materials
Textbook: Harris & Harris
Publisher: Morgan Kaufmann
• Class notes, homework & lab assignments,
solutions, and other documentation will be
available on the class webpage linked to the
calendar:
http://www-inst.eecs.berkeley.edu/~cs150
– Check the class webpage and newsgroup often!
– Updated posts will occur.
• Handheld Calculator
- Usually designed to minimize cost.
“Optimized for low cost”
Τ represents
the time of one
clock “cycle”.
• Waveform diagram shows evolution of signal value (in voltage) over time.
Observations:
1. Most of the time, signals are in
either low- or high-voltage position.
2. When the signals are at the high-
or low-voltage positions, they are
not all the way to the voltage
extremes (or they are past).
3. Changes in the signals correspond
to changes in clock signal (but don’t
change every cycle).
The facts:
1. Low-voltage represents binary 0 and high-voltage, binary 1.
2. Circuits are designed and built to be “restoring” and deviations from ideal
voltages are ignored. Outputs close to ideal.
3. In synchronous systems, all changes follow clock edges.
00 01 001
00 10 010
00 11 011
01 00 001
01 01 010
01 10 011
01 11 100
10 00 010
10 01 011
10 10 100
10 11 101
• Think about true table for 32-bit 11 00 011
adder. It’s possible to write out, 11 01 100
11 11 110
• Logic gates are often the primitive elements out of which combinational logic circuits
are constructed.
– In some technologies, there is a one-to-one correspondence between logic gate
representations and actual circuits.
– Other times, we use them just as another abstraction layer (FPGAs have no real logic
gates).
• How about these gates with more than 2 inputs?
• Do we need all these types?
DTL
Hydraulic
CMOS Gate
Mechanical LEGO logic gates.
A clockwise rotation represents
a binary “one” while a counter-
clockwise rotation represents a
binary “zero.”
Spring 2012 EECS150 lec01-intro Page 37
Restoration
• A necessary property of any successful technology for logic
circuits is "Restoration".
• Circuits need:
– to ignore noise and other non-idealities at the their inputs, and
– generate "cleaned-up" signals at their output.
• Otherwise, each stage would propagates input noise to their
output and eventually noise and other non-idealities would
accumulate and signal content would be lost.
Actual Inverter
Idealize Inverter