Digital Logic Lecture 1
Digital Logic Lecture 1
Quiz :
10%
Assignment:
05%
Projects :
05%
2 x Sessional Exams:
30%
Final Exam :
50 %
Fax machines
Digital cameras
Mobile phones etc.
Pixel coprocessor
D2A
A2D
lens
JPEG codec
Microcontroller
Multiplier/Accum
DMA controller
Memory controller
Display ctrl
UART
LCD ctrl
This top of the range car may contain more than 200 dedicated
embedded systems
Definition: Mechatronics
is the synergistic
combination of precision
mechanical engineering,
electronic controls and
systems engineering in the
design of products and
processes
Embedded
Sensors/actuators/
processors are integral
parts of mechatronic
systems
NRE cost (Non-Recurring Engineering cost): The onetime monetary cost of designing the system.
Cardiac Pacemaker
Sense heartbeat
Deliver electrical stimulus to heart on basis of sensed
heart events
Rate of stimulation and duration of stimulus controlled
by the system
Processor technology
IC technology
Design technology
Controller
Datapath
Controller
Control
logic and State
register
Register
file
IR
General
ALU
PC
Datapath
Registers
Data
memory
Control
logic
index
State register
PC
Data
memory
Program memory
Datapath
total
Custom
ALU
IR
Controller
Data
memory
Program memory
Assembly code for:
total = 0
for i =1 to
total = 0
for i =1 to
General-purpose (software)
Application-specific
Single-purpose (hardware)
Features
Program memory
General datapath with large
register file and general ALU
User benefits
Controller
Datapath
Control
logic and
State
register
Register
file
IR
PC
Program
memory
Assembly code
for:
total = 0
for i =1 to
General
ALU
Data
memory
Features
Benefits
Fast
Low power
Small size
Controller
Datapath
Control
logic
index
total
State
register
Data
memory
Programmable processor
optimized for a particular class of
applications having common
characteristics
Datapath
Control
logic and
State
register
Registers
IR
PC
Features
Controller
Program memory
Optimized datapath
Special functional units
Benefits
Program
memory
Assembly code
for:
total = 0
for i =1 to
Custom
ALU
Data
memory
IC
IC
source
gate
oxide
channel
drain
Silicon substrate
Full-custom/VLSI
Benefits
Placing transistors
Sizing transistors
Routing wires
Excellent performance, small size, low power
Drawbacks
28
Routing
Connect transistors
Sizing
Design Rules
Benefits
Drawbacks
30
Gate Array
Standard Cell
31
Good
Power,
time-to-market,
performance, NRE cost, perunit cost, area
Master of none
33
Benefits
Drawback
slower
34
2009
2007
2005
2003
2001
1999
1997
1995
1993
1991
1989
1987
1985
0.001
1983
Logic transistors
per chip
(in millions)
1981
Compilation/Synthesis: Automates
exploration and insertion of
implementation details for lower level.
Libraries/
IP
Test/
Verification
System
specification
System
synthesis
Hw/Sw/
OS
Model simulate./
checkers
Behavioral
specification
Behavior
synthesis
Cores
Hw-Sw
co simulators
RT
specification
RT
synthesis
RT
components
HDL simulators
Logic
specification
Logic
synthesis
Gates/
Cells
Gate
simulators
To final implementation
2009
2007
2005
2003
2001
1999
1997
1995
1993
1991
1989
1987
1985
1983
1981
1,000
100
10
0.1
0.01
Productivity
(K) Trans./Staff Mo.
10,000
In the past:
Hardware/software co
design
Compilers
(1960's,1970's)
Register transfers
Assembly instructions
RT synthesis
(1980's, 1990's)
Assemblers, linkers
(1950's, 1960's)
Machine instructions
Logic synthesis
(1970's, 1980's)
Logic gates
Microprocessor plus
program bits: software
Implementation
The choice of hardware versus software for a particular function is simply a tradeoff among
various design metrics, like performance, power, size, NRE cost, and especially flexibility;
there is no fundamental difference between what hardware or software can implement.
Basic tradeoff
General,
providing improved:
Generalpurpose
processor
ASIP
Singlepurpose
processor
Flexibility
Maintainability
NRE cost
Time- to-prototype
Time-to-market
Cost (low volume)
Customized,
providing improved:
Power efficiency
Performance
Size
Cost (high volume)
PLD
Semi-custom
Full-custom
1,000
10,000
100
1000
Gap
10
100
IC capacity
10
0.1
productivity
0.01
0.1
0.001
2009
2007
2005
2003
2001
1999
1997
1995
1993
1991
1989
1987
1985
0.01
1983
Logic transistors
per chip
(in millions)
10,000
1981
Productivity
(K) Trans./Staff-Mo.
In-vehicle entertainment
Generation II ABS
Heads-up display
Night Vision
Back-up collision sensor
Navigation
Tire Pressure Monitor