Vlsi Economy
Vlsi Economy
Agenda
1.
2.
3.
4.
Course Logistics
Course Content
Design Implementation Options
VLSI Economy
Announcements
1.
2.
3.
4.
5.
Welcome
All assignments are posted to the course website
Please check your email regularly
There is a digital circuit review at the end of these lecture notes
Read Chapter 1
Module #1
Page 1
Course Overview
Requisites:
- 20%
- 20%
- 20%
Module #1
Page 2
Course Overview
Where does this course fit into the Electrical Engineering curriculum?
Module #1
Page 3
Course Overview
Where does this course fit into the Computer Engineering curriculum?
Module #1
Page 4
Course Content
Module #1
Page 5
Course Content
Module #1
Page 6
Course Content
EE367
EE261
EE414
EE317
You are here
Module #1
Page 7
Course Content
Analog Simulators
- SPICE, Cadence Spectre
- Simulation Program for the Integrated Circuit Environment
- Numerical Solver that performs KVL, KCL, and Branch Equations
- Performs Numerical Integration for transient simulations
Advantages
- Real analog view of signals
Disadvantages
- long run time limits number of nodes that can be simulated
- typically used for 10's of transistors
- full VLSI designs can't be simulated using SPICE
Module #1
Page 8
Course Content
Digital Simulators
- ModelSim, Xilinx, NC-Verilog
- only gives the state of the node (0,1,X,x,Z,z,)
- this simplifies computation which reduces run time
- allows 1000's of nodes to be simulated simultaneously
Advantages
- many nodes can be simulated
- relevant for VLSI systems
Disadvantages
- only see the state, not the analog nature
Module #1
Page 9
Course Content
Design Entry
Sel
- Schematics
A
Out
B
- Hardware Description Language (HDL)
if (Sel = 0)
Out = A
else
Out = B
Synthesis
Synthesis
A
B
Out
Module #1
Page 10
Course Content
Layout
Side
Top
DRC / LVS
Module #1
Page 11
Course Content
VLSI Design Sizes
- more transistors are being integrated on chip
- this means we must rely more heavily on CAD/CAE
Module #1
Page 12
Course Content
VLSI Design Process
Module #1
Page 13
Module #1
Page 14
Standard Cell
- all of the gates and basic building blocks are designed
- each block has a spec sheet, layout, symbol, HDL instance, and simulation deck
- the designer combines the pre-existing blocks to form the new ASIC
- still considered an ASIC
Advantages
- faster development
- still relatively fast in performance
Disadvantages
- not as much optimization in performance, area, power as a custom ASIC
Module #1
Page 15
FPGA
Module #1
Page 16
Development Time
Per-Piece Cost
most
most
least
least
least
most
Module #1
Page 17
VLSI Economy
Economy
- there are two general types of economy in VLSI
1) you are going to use the IC design in your own product you sell
2) you design and sell the individual IC
- both require a financial analysis that includes:
1)
2)
3)
4)
5)
upfront cost
engineering development cost
per piece cost
predicted monthly volume
predicted life span of product
Module #1
Page 18
VLSI Economy
Economy Example of Using your IC
- your company is developing a product that will use a VLSI design. You are to choose which
implementation option is the best between a Custom ASIC, STD Cell ASIC, Gate Array, or FPGA
- in this case, all 4 of the implementation options meet the electrical specifications so it a simple
matter
of economy in selecting the best option
- the product that this IC goes into will ship in 24 months regardless of the development time of your
IC
(assuming it is done of course!)
- your marketing department thinks that you will sell 5,000 product per month and that the product
life cycle is 5 years (starting after the 24 months of development)
- you are given the following:
NRE Engineering
Per-Piece Cost
Module #1
Page 19
VLSI Economy
Economy Example
Module #1
Page 20
VLSI Economy
Economy Considerations
Quantitative considerations for this example.
Answer
- Which options takes the most development?
ASIC
- If the product runs 5 years, which option is the most cost effective? ASIC
- What if the product only sells for 1 year?
FPGA
- What if the product only sells for 2 years?
Gate Array
Module #1
Page 21
VLSI Economy
Economy Considerations
Qualitative considerations for this example.
Idea
- If performance mattered, how could you justify doing a Custom ASIC?
for the product
- What if you are a small company and cant afford the NRE?
use an FPGA
- What is the danger of doing an FPGA?
Module #1
Page 22
VLSI Economy
Economy of Selling your IC
- if you design and sell your IC, you need a similar analysis.
- But now you need to consider
1) Profit Margin - for each IC sold, how much of that is gross profit versus the cost of
simply making the IC
2) Break Even Point - you invest upfront NRE and engineering time. The gross profit
from the first x ICs that you sell go toward paying off that investment.
The # of ICs and the time it takes to reach that point is called
Break Even
- If the product doesnt sell enough, you may not make enough to
pay for the initial development.
3) Opportunity Cost
- if you only have 5 skilled IC designers, you want to make sure they
are working on the most profitable product. If they are working on
product A then they cant be working on product B. If B is more
profitable, you are not using your resources effectively.
Module #1
Page 23
Digital Review
Combinational Logic
Combinational Logic Gates :
- Output depends on the logic value of the inputs
- no storage
Module #1
Page 24
Digital Review
NOT
out = in = in
f(in) = in = in
OR
out = a+b
f(a,b) = a+b
AND
out = ab
f(a,b) = ab
Module #1
Page 25
Digital Review
XOR
out = ab f(a,b) = ab
NOR
out = a+b
f(a,b) = a+b
NAND
out = ab
f(a,b) = ab
Module #1
Page 26
Digital Review
XNOR
out = ab
f(a,b) = ab
Module #1
Page 27
Digital Review
DeMorgans Theorems
-
Inverting the output of any gate results in the same function as the opposite
gate (AND/OR) with inverted inputs
Module #1
Page 28
Digital Review
DeMorgans Theorems
-
Graphically : breaking the bar changes the logic function (AND-OR) under the break
out = a+b
1) Break bar
out = a+b
2) Change + to under break
out = ab
Module #1
Page 29
Digital Review
Boolean Expressions Using SOP
-
Truth Table
a b out
00 0
0 1 1 minterm m1 = ab
1 0 1 minterm m2 = ab
11 0
SOP Expression :
f(a,b) = ab + ab
Module #1
Page 30
Digital Review
Boolean Expressions Using POS
-
Truth Table
a b out
0 0 0 maxterm m0 = a+b (input configuration of 0's)
01 1
10 1
1 1 0 maxterm m3 = a'+b' (input configuration of 0's)
POS Expression :
Module #1
Page 31
Digital Review
Boolean Expressions Using SOP & POS
-
SOP Expression :
f(a,b) = ab + ab
is equal to
POS Expression :
Module #1
Page 32
Digital Review
Karnaugh Maps
-
Truth Table
ab
00
01
10
11
out
0
1
1
1
a
0 1
b 0
1
No dependency on b, minterm = a
No dependency on a, minterm = b
SOP expression :
f(a,b) = a + b
Module #1
Page 33
Digital Review
Karnaugh Maps
-
Truth Table
ab
00
01
10
11
out
0
1
1
1
a
0 1
b 0
1
maxterm = a+b
POS expression :
f(a,b) = a + b
Module #1
Page 34
Digital Review
Sequential Logic
- Concept of Storage Element
- With Storage, logic functions can depend on current & past values of inputs
- Sequential State Machines can be created
D-Flip-Flop
- on timing event (i.e., edge of clock input), D input goes to Q output
CLK
D
D
Q
Q
Q
tc2q
EELE 414 Introduction to VLSI Design
Module #1
Page 35
Digital Review
State Machines
- Moore :
- Mealy :
Module #1
Page 36
Digital Review
State Machine Example : Design a 2-bit Gray Code Counter
00
01
1) Number of States?
:4
2) Number of bits to encode states?
: 2n=4, n=2
3) Moore or Mealy?
: Moore
For this counter, we can make the outputs be the state codes
11
10
Module #1
Page 37
Digital Review
State Machine Example : Design a 2-bit Gray Code Counter
00
01
11
STATE
Current Next
Acur Bcur Anxt Bnxt
0
0
1
1
0
1
1
0
0
1
1
0
Anxt Logic
Bnxt Logic
Bcur
0 1
Acur 0
1
1
1
0
0
Bcur
0 1
Acur 0
1
10
A
B
Bnxt = Acur
Anxt = Bcur
counter
output
B
Q
CLK
Module #1
Page 38