BEC015 - ASIC Design
BEC015 - ASIC Design
PRESENTED BY
Dr.Rakesh Hiremath
Dept of ECE
KLEIT, Hubballi-27
INTRODUCTION
CPLD FPGA
• Architecture: PAL-like Gate Array-like
• Density : Low to Medium to high
• Speed medium Application
: Fast,
• Interconnect: predictable Routing
dependent
• Power Consumption: Medium
High Crossbar
DESIGN
FLOW
• The sequence of steps to design an ASIC is known as the
Design flow . The various steps involved in ASIC design
flow are given below.
1. Design entry : Design entry is a stage where the micro
architecture is implemented in a Hardware Description
language like VHDL, Verilog , System Verilog etc.
In early days , a schematic editor was used for design entry
where designers instantiated gates. Increased complexity in
the current designs require the use of HDLs to gain
productivity . Another advantage is that HDLs are
independent
.
CONTD
…
2.Logic synthesis: Use an HDL (VHDL or Verilog) and a logic
synthesis tool to produce a net list a description of the logic
cells and their connections
3. System partitioning : Divide a large system into ASIC-
sized pieces.
4. Pre-layout simulation: Check to see if the design functions
correctly.
5. Floor planning: Arrange the blocks of the netlist on the
chip.
6. Placement: Decide the locations of cells in a block.
7. Routing: Make the connections between cells and blocks.
CONTD
…
8.Extraction : Determine the resistance capacitance of
and the interconnect.
9. Post layout simulation. It is used to check to see whether the
design still works with the added loads of the interconnect or
not
• The AOI and OAI logic cells can be built using CMOS using
series parallel network of transistors called stacks. The
following figure illustrates the procedure to build the n
channel and p channel stacks using the AOI221 cell as an
example
TRANSMISSION GATE
• The following figure shows the CMOS transmission gate
(TG,Tx gate,pass gate,coupler) We connect a p channel
transistor(to transmit a strong 1) in parallel with a n
channel transistor(to transmit a strong 0)
TRANSISTOR AS
RESISTORS
JUNCTION CAPACITANCE
•
LIBRARY – CELL DESIGN(CONT)
PROGRAMMABLE ASICS,
PROGRAMMABLE ASIC
LOGIC CELLS
PROGRAMMABLE ASICS
An Actel antifuse. (a) A cross section. (b) A simplified drawing. (c) From above,
an antifuse is approximately the same size as a contact.
Figure 5.1 The Actel ACT1 architecture. (a) Organization of the basic cells. (b) The
ACT1 logic module. (c) An implementation using pass transistors. (d) An
example logic macro.
SHANNON’S EXPANSION
THEOREM
• We can use Shannon’s expansion theorem to expand a
function:F = A · F (A = ‘1’) + A' · F (A = ‘0’)
– Where F(A=‘1’) is the function evaluated with A=‘1’
and F(A=‘0’) is the function evaluated with A=‘0’
Example: F = A' · B + A · B · C' + A' · B' · C
= A · (B · C') + A' · (B + B' · C)
F (A = '1') = B · C' is the cofactor of F with respect to ( wrt ) A
or FA
• Eventually we reach the unique canonical form , which
uses only minterms
• Final result for example above should be:
• F = A' · B · C + A' · B' · C + A · B · C' + A' · B · C'
BOOLEAN FUNCTIONS OF
TWO VARIABLES USING A
2:1 MUX
Function, F F= Canonical form Minterms Minterm Function M1
code number A0 A1 SA
1 '0' '0' '0' none 0000 0 0 0
0
2 NOR1-1(A, B) (A + B') A' · B 1 0010 2 B A
0
3 NOT(A) A' A' · B' + A' · B 0, 1 0011 3 0 A
1
4 AND1-1(A, B) A · B' A · B' 2 0100 4 A B
0
5 NOT(B) B' A' · B' + A · B' 0, 2 0101 5 0 B
1
6 BUF(B) B A' · B + A · B 1, 3 1010 6 0 1
B
7 AND(A, A·B A·B 3 1000 8 0 A
B) B
8 BUF(A) A A · B' + A · B 2, 3 1100 9 0 1
A
9 OR(A, B) A+B A' · B + A · B' + A · B 1, 2, 3 1110 13 B A
1
10 '1' '1' A' · B' + A' · B + A · B' + A · 0, 1, 2, 3 1111 15 1 1
B 1
ACT1 LM AS A FUNCTION WHEEL
(CONT.)
• A 2:1 MUX is a function wheel that can generate BUF, INV,
AND-11, AND1-1, OR, AND
• Define a function WHEEL (A, B) = MUX (A0, A1, SA)
• MUX (A0, A1, SA) = A0 · SA' + A1 · SA
• Each of the inputs (A0, A1, and SA) may be A, B, '0', or '1'
• The ACT 1 LM is built from two function wheels, a 2:1
MUX, and a two-input OR gate:
Figure 5.3 The ACT1 logic module as a boolean function generator. (a) A 2:1 MUX
viewed as a logic wheel. (b) The ACT1 logic module viewed as two
function wheels.
IMPLEMENTING A
FUNCTION WITH AN ACT1
• LMof using the WHEEL functions to implement:
Example
F = NAND (A, B) = (A · B)’
1. First express F as the output of a 2:1 MUX:
expand F wrt A (or wrt B; since F is
symmetric)
F = A · (B') + A' · ('1')
2. Assign WHEEL1 to implement INV (B), and
WHEEL2 to implement '1'
3. Set the select input to the MUX connecting
WHEEL1 and WHEEL2, S0 + S1 =
A. We can do this using S0 = A, S1 = '1'
• A single Actel ACT1 LM can implement all combinational two-input
functions, most three input functions and many four input functions
• A transparent D latch can be implemented with one ACT1 LM and an
edge triggered D flip-flop can be implemented with two LM’s
ACTEL ACT2 AND ACT3
LOGIC MODULES The ACT2 and
ACT3 logic
modules. (a) The
C- module. (b)
The ACT2 S-
module. (c) The
ACT3 S-
module. (d) The
equivalent circuit
of the SE. (e) The
SE configured as
a positive edge-
triggered D flip-
flop.
ACTEL TIMING
MODEL Exact delay values in Actel FPGAs can not
be determined until interconnect delay is
known - i.e., place and route are done
Critical path delay between registers is:
tPD + tSUD + tCO
There is also a hold time for the flip-flops -
tH
The combinational logic delay tPD is
dependent on the logic function (which may
take more than one LM) and the wiring
delays
The flip-flop output delay tCO can also be
influenced by the number of gates it drives
(fanout)
Figure 5.14 Use of programmed inversion to simplify logic. (a) The function F = AB’+ AC’+ AD’+ A’CD
requires four product terms to implement while (b) the complement F’ = ABCD+ A’D’+ A’C’
requires only three product terms.
ALTERA MAX ARCHITECTURE
Macrocell features:
Wide,
programmable
AND array
Narrow, fixed OR
array
Logic Expanders
Programmable
inversion
• The UIM has 21 output connections to each FB. Most (but not all) of the nine I/O
cells attached to each FB have two input connections to the UIM, one from a chip
input and one feedback from the macrocell output. For example, the XC7272 has
18 I/O cells that are outputs only and thus have only one connection to the UIM,
• In the UIM: the XC7272, for example, has H = 126 tracks and V = 168/2 = 84
tracks. The actual physical height, V , of the UIM is determined by the size of
the FBs, and is close to the die height.
ALTERA MAX 5000 AND 7000
The Altera FLEX interconnect scheme. (a) The row and column FastTrack
interconnect. (b) A simplified diagram of the interconnect architecture showing
the connections between the FastTrack buses and a LAB. Boxes A, B, and C
represent the bus-to-bus connections.
ALTERA FLEX
• Altera refers to the FLEX interconnect and MAX 9000
interconnect by the same name, FastTrack, but the two
are different because the granularity of the logic cell
arrays is different.
• The FLEX architecture is of finer grain than the MAX arrays
—because of the difference in programming technology. The
FLEX horizontal interconnect is much denser (at 168
channels per row) than the vertical interconnect (16 channels
per column), creating an aspect ratio for the interconnect of
over 10:1 (168:16).
• This imbalance is partly due to the aspect ratio of the die,
the array, and the aspect ratio of the basic logic cell, the
LAB.
LOW LEVEL PROGRAMMING
LANGUAGES
Typical approach :
• Define requirements
• Design with off-the shelf chips
- at 0.5 year mark : first prototypes
- 1 year : ship with low margins/loss
• start ASIC integration
- 2 years : ASIC-based prototypes
- 2.5 years : ship, make profits (with competition)
SOC BENEFITS
• With SoC
• Define requirements
• Design with off-the shelf cores
- at 0.5 year mark : first prototypes
- 1 year : ship with high margin and market share
SOC ARCHITECTURE
SOC ARCHITECTURE
A typical SoC consists of:
• A microcontroller,microprocessor or digital signal processor core-
multiprocessor SoCs (MPSoC) having more than one processor
core
• memory blocks including a selection of ROM,RAM,EEPROM AND
Flash Memory.
• timing sources including Oscillators and PLLs.
• peripherals including Counter-timers, real-time timers and power -on
reset generators
• external interfaces including industry standards
such as USB,Firewire,Ethernet.
• analog interfaces including ADCs and DACs
• A bus – either proprietary or industry-standard such as the AMBA bus
from ARM Holdings – connects these blocks. DMA controllers route
data
directly between external interfaces and memory, bypassing the processor
VOICE OVER IP SOC
Higher Efficiency
Flexible Configuration
Guaranteed Bandwidth and latency
Integrated arbitration
ER
W
PO
W
L O
D N
N IG
V A S
L
T CA D E
N I I
U Y S
PH
OVERVIEW OF PHYSICAL DESIGN
FLOW
Tips and guideline for physical design
1.Placement based synthesis
PLACEMENT BASED SYNTHESIS
1. Ire-placement optimization
2. In placement optimization
3.Post Placement Optimization (PPO) before clock
tree synthesis (CTS)
4. PPO after CTS.
.
PLACEMENT BASED
• SYNTHESIS
In-placement optimization re-optimizes the logic based on VR. This can perform
cell sizing, cell moving, cell bypassing, net splitting, gate duplication, buffer
insertion, area recovery. Optimization performs iteration of setup fixing,
incremental timing and congestion driven placement.
Post placement optimization before CTS performs netlist optimization with ideal
clocks. It can fix setup, hold, max trans/cap violations. It can do placement
optimization based on global routing. It re does HFN synthesis.
Technology Scaling:
• Threshold should scale.
• Leakage should be reduced.
• Dynamic Voltagescaling.
LOW POWER DESIGN
TECHNIQUES
Reduce Switching activity:
• Conditional Clock.
• Conditional Precharge.
• Switching-off inactive blocks.
• Conditional Execution.
Run it Slower:
• Use Parallelism.
• Less pipeline stag
LOW-POWER DESIGN TOOLS
• Numerous EDA tools are available to help IC designers
achieve low-power designs. These tools are classified into two
main categories:
• Power-analysis and power-estimation tools
• Power-optimization tools
• Power-estimation tools estimate the power of a specific
design by identifying its high power consuming modules at
early stages of the design. These tools give IC designers the
ability to make high-level design decisions to reduce power
or leave the design untouched based on a set of specific
power constraints.
• Power-optimization tools come into play after the decision is
made by IC designers to reduce the power.
LOW POWER DESIGN TOOL
CHARACTERISTICS
TIPS AND GUIDELINES FOR LOW- POWER
DESIGN