Title: DESIGNING DIGITAL ASICS
1DESIGNING DIGITAL ASICS
- ECE 551
- FALL 2001
- Don Bouldin, Ph.D., P.E.
- Prof. of Electrical Computer Engineering
- University of Tennessee
- TEL (865)-974-5444
- FAX (865)-974-5483
- dbouldin_at_utk.edu
2COURSE OUTLINE
- Product Development Flow
- Technology-Independent Design
- Using Hardware Description Languages
- VHDL and Verilog Syntax
3A VARIETY OF ASICS ARE POSSIBLE
4APPLICATIONS MAY USE STANDARD ICs or FPGAs/ASICs
5THE COST PER GATE DECREASES AS THE DENSITY OF AN
I.C. INCREASES
- Microprocessors and other off-the-shelf LSI/VLSI
chips are the most cost-effective because
thousands of gates are available in a single
chip. (0.001/gate 2000 gates/pin) - SSI/MSI glue logic chips are the least
cost-effective because only a few gates are
available in a single chip. (0.01/gate 1-3
gates/pin)
6SYSTEM FUNCTIONS ARE OFTEN SPLITBETWEEN THE
MICROPROCESSOR AND AN ASIC
- The most economical means of implementing logic
functions is to use a microprocessor. - When the microprocessor is too slow or too busy
to handle some fast inputs and outputs, an ASIC
can be used to implement "random" logic.
7PROGRAMMABLE LOGIC DEVICES AREBEST FOR SIMPLE
DESIGNS WITH MANY INPUTS OUTPUTS
PLDs
- Vendor prefabricates multiple sets of ANDs and
ORs with programmable connections - User specifies connections to implement desired
logic functions - Replaces 300 to 8000 gates with single package of
20-84 pins - Electrically programmable (and erasable) by the
user one at a time within minutes - PC-based development system costs 3-5K
and
and
or
and
and
8MASK GATE ARRAYS ARE BEST FOR MODERATE-SIZED
DESIGNS THAT ARE TIME-TO-MARKET CRITICAL
- Vendor prefabricates rows of gates and stockpiles
wafers - User specifies two layers to implement logic
functions - Replaces 10,000 to 10,000,000 gates (or more)
- After place route, masks are made for two
layers - Workstation-based development system costs 50K
- Turnaround time for prototypes is 3-5 weeks
9FIELD-PROGRAMMABLE GATE ARRAYS ARE BEST FOR
LOW-QUANTITY APPLICATIONS
- Vendor prefabricates parts with rows of gates and
programmable connections - User specifies connections to implement logic
functions - Replaces 2,000 to 2,000,000 gates (or more)
- Electrically programmable (some are erasable) by
the user one at a time within hours - Production quantity lt 20,000
- PC-based development system costs 5-10K
10STANDARD LIBRARY CELLS ARE BEST FOR HIGH-QUANTITY
APPLICATIONS WITH SIGNIFICANT FUNCTIONS
(MULTIPLIERS, CPU, RAM, ETC.)
- Vendor develops library disk files of significant
functions - User selects cells and specifies two layers of
interconnections - After place route, masks are made for all
layers - Replaces 100,000 to 10,000,000 gates (or more)
- Workstation-based development system costs 100K
- Turnaround time for prototypes is 8 weeks
11BIT-SLICE DATA PATHS ARE BEST FOR
SPECIAL-PURPOSEPARALLEL PROCESSING
- User develops bit-slices to be replicated
- Most efficient use of silicon
- Masks are made for all layers
- Replaces 100,000 to 10,000,000 gates (or more)
- Workstation-based development system costs 150K
- Turnaround time for prototypes is 8 weeks
12ALTERA FLEX-10K FPGA LAYOUT
13DETAILED LAYOUT OF XILINX FPGA
14A MASK GATE ARRAY CAN BE STOCKPILED AND THEN
PERSONALIZED
- The fabricator provides basic gates with space
for interconnect. - The application designer submits a logic net-list
which defines the interconnect layers.
15A MASK GATE ARRAY MAY CONTAINEMBEDDED RAM
16STANDARD-HEIGHT CELL DESIGNSREQUIRE ALL MASKS
FOR FABRICATION
- Only logic cells which are needed are fabricated.
- Higher performance and less area can be achieved
but fabrication takes longer.
17STANDARD-HEIGHT CELL CHIPS CANALSO USE EMBEDDED
RAM
18DATAPATH OR BIT-SLICE LAYOUTIS THE MOST EFFICIENT
19BEE-TRACKING APPLICATION
20FPGAS COVER HIGH-END PROGRAMMABLE LOGIC DEVICE
APPLICATIONS AND LOW-END MASK GATE ARRAY
APPLICATIONS
21RECONFIGURABLE vs. HARDWIRED FPGA
22MINIMIZING AREA INCREASES BOTH THE NUMBEROF
POTENTIAL SITES AND YIELD
23XILINX HIGH VOLUME APPLICATIONS
24APPLICATIONS OF FPGAS
- TTL/PLD Replacement
- MGA Prototyping
- Distributed Arithmetic for DSP
- Diagnostics/Testing of Other Ics
- Communication Protocol Controller
- Monitor (Portrait/Landscape)
- Position Tracker for Robot Manipulator
- Flexible Co-Processor
- CCD Imaging System Controller
- Printer Controller
- Tape Drive Controller
- Fast DMA Controller
- Artificial Neural Networks
- Hardware Accelerator
25FPGAs versus MGAs
26ASIC MARKET BREAKDOWN
27TOP TEN SEMICONDUCTOR COMPANIESIN BILLIONS OF
DOLLARS OF CAPITAL
28MICROELECTRONIC SYSTEM DESIGNCONSISTS OF
ITERATIVE REFINEMENTSOF SYNTHESIS AND
VERIFICATION
29SYNTHESIS AND PLACE ROUTE SOFTWARE CANBE USED
TO GENERATE THE IMPLEMENTATION
30ASIC DESIGN BREAKDOWN
31SYNTHESIS AND PLACE ROUTE SOFTWARE CANBE USED
TO GENERATE THE IMPLEMENTATIONS
32ASIC DESIGN FLOW
33PROFIT MODEL SHOWING VALUEOF TIME-TO-MARKET
34FIXED COSTS FOR FPGAS/ASICS
35VARIABLE COSTS FOR FPGAS/ASICS
36BREAK-EVEN ANALYSIS FOR FPGAS/ASICS
37DESIGN FLOW FOR FPGAS AND ASICS
38COMPARISON OF PRODUCT DEVELOPMENT
39COMPARISON OF PRODUCT COSTS
40SYNTHESIS AND FPGAS CAN REDUCETIME-TO-MARKET
- Synthesis can reduce the design time required to
achieve and verify a given functionality since
many candidate solutions can be constructed
quickly and accurately. - Simulation is required for verification and risk
reduction but is time-consuming and may not be
entirely representative of the full system
environment. - Prototyping with FPGAs can speed verification and
reduce risk.
41REDUCTION IN TIME-TO-MARKETINCREASES PROFITS
42DESIGN AT THE BEHAVIORAL LEVEL USING A HARDWARE
DESCRIPTION LANGUAGE AND SYNTHESIS
- The desired functionality and timing may be
described using a hardware description language
such as VHDL or Verilog and then synthesized into
the structural level for a specified technology. - Synthesis involves
- (1) translation into Boolean
equations, - (2) optimization of these for area or
delay, and then - (3) mapping to a semicustom technology
(library). - The physical level is then implemented
automatically using a placement and routing
program.
43APPROPRIATE USE OF HDL AND SCHEMATICS
- Design capture is facilitated when it is a
straightforward transcription of what the
designer has in mind. - Controller behavior can best be captured with a
HDL (hardware description language) using
primarily if-then-else statements. - Structure which defines the interconnections
among components can best be captured graphically
using schematics but a HDL can also be used. - HDL and schematics can be mixed for the best of
both worlds.
44USING SYNTHESIS WISELY
- Synthesis can provide an improvement in designer
productivity by trading CPU cycles for human
sweat. Designers can use synthesis to achieve a
higher quality solution in less time. - Synthesis facilitates retargeting a design from
one FPGA technology to another or to Mask Gate
Arrays when the requirements are frozen and the
production quantity is sufficient. - Synthesis is not a panacea since it presently
produces larger and slower solutions than
experienced designers. Direct targeting to FPGAs
is helping.
45TECHNOLOGY-INDEPENDENT DESIGN SHOULD BE PRACTICED
AS MUCH AS POSSIBLE
- Most of a design can be specified without
referring to details of the technology. - This technology-independence permits the design
to be captured once and then synthesized into
multiple technologies over a period of time. - Thus, the selection of an IC foundry can be made
on a competitive basis or changed as new
processes become available each year.
46PRINCIPLES OF SYSTEM OPTIMIZATION
- A global figure of merit for the entire system
should be determined and optimized - This figure of merit involves multiple dimensions
including cost, area, speed, power, design time,
risk, etc. - Optimization of a particular level or component
of a system may not constitute a good return on
investment. - Decisions made at the higher levels of the design
are often more significant than at the lower
levels. - Designers should pinpoint and concentrate on
sensitive components for which small changes
yield big payoffs.
47THE ORIGINAL AND PRESENT USES OF VHDL
- VHDL VHSIC HDL Very High-Speed Integrated
Circuit Hardware Description Language - In 1981 VHDL was developed by the US Dept. of
Defense to standardize documentation for
maintenance or possible redesign. - In 1987 IEEE approved a VHDL standard.
- Since then, CAE companies have been using VHDL
with enhancements for synthesis. - In 1992, a new IEEE standard with many of these
synthesis enhancements was approved.
48VERILOG
- VERILOG is a hardware description language
originally developed by Gateway Automation
(Cadence) for verification of logic. - Cadence and other CAE companies have been using
Verilog with enhancements for synthesis. - Most users say Verilog is easier to learn than
VHDL. - VERILOG is no longer proprietary.
- A VERILOG users' group broadcasts newsletters.
49TRUTH TABLE OR EQUATIONS USING VHDL
50IEEE STD_LOGIC_1164 PACKAGE
51MUX USING IF-THEN-ELSE IN VHDL
52DEC2TO4 USING CASE IN VHDL
53BCD-TO-7SEG CONVERTER USING VHDL
54BINARY UP-COUNTER USING VHDL
55TWO-DIGIT BCD COUNTER
56STATE DIAGRAM AND STATE TABLEWITH BINARY
ASSIGNMENT
57LOGIC MINIMIZATION USING K-MAPS
58LOGIC EQUATIONS AND SCHEMATIC
59STATE DIAGRAM AND FINAL SCHEMATIC
60ALGORITHMIC STATE MACHINE(ASM) FLOW CHART
61ASM CHART IN VHDL (part 1)
62ASM CHART IN VHDL (part 2)
63ASM CHART IN VHDL (part 3)
64ASM CHART IN VHDL USING ONE PROCESS
65A SCHEMATIC CAN SPECIFY STRUCTURE WITH
COMPONENTS AND INTERCONNECTIONS
66VHDL CAN SPECIFY STRUCTURE (part1)
67VHDL CAN SPECIFY STRUCTURE (part2)
68VHDL CAN SPECIFY STRUCTURE (part 3)
69STRUCTURAL HIERARCHY
70MENTOR GRAPHICS DESIGN MANAGERAND DESIGN
ARCHITECT
71MENTOR GRAPHICS SCHEMATIC