Lecture 6 Physical Design
Lecture 6 Physical Design
Design
Lecture 6:
Route
Finish
4
Prepare Design
Moving from Logical to
Physical Design
Import
• Define design (.v) Floorpla
• Define design constraints/targets (.sdc) n
Placeme
• Define operating conditions/modes nt
(MMMC) CTS
• Define technology and libraries (.lef) Rout
• Define physical properties e
(Floorplan) Finish
Design
Verilog Physical
netlist Design
Flow GDSII
5
SDC
Design
Import
Floorpla
n
idealistic. 0.9V e
Finish
• We didn’t care about power supplies. 0.7V 0.9V Design
A bit about
Multiple Voltage
Domains
Often referred to as “Low Power Design” Methodologies
7
Design
Import
Floorpla
n
• Place macros
• Routing congestion ROM
• •Take into account:
Orientation
• Manual usually better then
Auto
• Place switches
• For the power down
8
Design
Import
Floorpla
n
LS
Low-to-Hight level
shifter
LS
LS
VSS
LS
IN OUT
0.9 0.7
V V VDD1
LS
VDD2
VSS
https://www.vlsicommunity.com
9
Multiple Domain Design – Power
Design
Import
Floorpla
n
Gating VDD
Placemen
t
CTS
Rout
e
Finish
Design
VDD VVDD1 VVDD2 VDD
domain domain
sleep_control
(on/off)
VDD
Glo VDD
VVDD1 VVDD2
VSS
D
VD
D
VD
VVDD1 VVDD2
VDDV
VDD VDD
VVDD1 VVDD2
9
Design
Import
Floorpla
n
Floorplannin
g
Floorplanning Goals and Objectives
Design
• Floorplanning is a mapping Import
between the logical description Floorpla
(the netlist) n
and the physical description (the Placeme
floorplan). nt
CTS
• Goals of floorplanning:
• Arrange the blocks on a chip. Rout
• Decide the location of the I/O e
pads. Finish
• Decide the location and Design
number of the power pads.
• Decide the type of power
distribution.
• Decide the location and type 12
Fullchip Design Overview
• Chip size
Core
• Number of Gates placeme
nt area
• Number of Metal
The location
layers of the core,
• Interface to the I/O areas P/G
pads and the RAM
outside P/G grid IP
Ring
• Hard IPs/Macros P/G
s ROM
Gri
• Power Delivery d
Strap
s
• Multiple Voltages
Peripher
• Clocking Scheme y
• Flat or Hierarchical? (I/O)
13
area
Floorplanning Inputs and
Design
Import
Floorpla
n
Outputs Placemen
t
• Inputs
CTS
• Outputs Rout
• Design netlist (required) • Die/block e
Finish
• Area requirements area Design
IO Ring Placemen
t
CTS
• The pinout is often decided by front-end designers, with input Rout
size? Placemen
t
CTS
Route
Finish
Design
“Core “Pad
Limited” Limited” 16
Design
Import
Flo rpla
o n
Utilization Plact
emen
TS
• Utilization refers to the percentage of core area C
out
that is taken up by standard cells. Re
Desig
• A typical starting utilization might be 70% Finis n
h
• This can vary a lot depending on the design
• High utilization can make it difficult to close a Low standard-
cell
design utilization
• Routing congestion,
• Negative impact during optimization
legalization stages.
• Local congestion
• Can occur with pin-dense cells like
multiplexers, so utilization is not completely
sufficient for determining die size. High standard-
• Run a quick trial route to check for routing cell
1 Adam Teman, 201
Uniquifying the Netlist
• When moving to the physical domain, the netlist must be unique
• A unique netlist, means that each sub-module is only referenced
once.
• In the example, the non-unique netlist cannot optimize instance
m1/u1 module amod1
module amodwithout changing instance m2/u1
bmo bmo
(); BUFFD1 ();
d d BUFFD1 u1 ();
u1 ();
endmodule m m m m endmodule
module bmod module amod2
();
1 2 u11 2 (); BUFFD1 u1
u1 ();
amod u1
u1 endmodule
m1 ; amod module bmod
m2 ; Non-unique (); amod1
endmodule Unique m1 ; amod2 m2
• A synthesized netlist must be uniquified before ; endmodule
placement can begin. This can be done either by
the synthesizer or during design import.
18
Design
Import
Floorpla
n
Rout
routing, timing and power. Usually push them to the sides of e
Finish
the floorplan. Design
19
Placement
Design
Import
Floorpla
n
Regions Placemen
t
CTS
• Sometimes, we want to “help” the tool put Rout
certain e
Finish
Design
logic in certain regions or cluster them together.
• Place and Route tools define several types
of placement regions:
• Soft guide – try to cluster these cells
together
without a defined area.
• Guide – try to place the cells in the
• defined area. place the cells in the defined
Fence – must
• Region
area and keep place
– must out allthe
other cells.
cells in the defined
area, but other cells may also be placed
there. 20
Design
Import
Floorpla
n
• cells.
These, too, have several types: margin
Design
Route
Finish
Design
Hard blockage
always created
on all four sides
Soft blockage
created only for the
channels between
the macros or
between the macro
and the core
boundary
22
Design
Import
Floorpla
n
(20,20)
23
Guidelines for a good
Design
Import
Floorpla
n
floorplan
Single
Use blockage
Placemen
t
CTS
RAMS out of toimprove
large pin
core area the way in the Rout
corner accessibili e
Finis Desig
Large ty
RAM RAM RAM h n
routing 1 2 3
channel
RAM s RAM RAM RAM
Avoid 4 5 6
Standard cells constricti
area
ve
RAM channels
RAM Avoid many
•
pins in the RAM
q narrow RAM 8
channel. 7
PLL MY_SUB_BLOCK Rotate for pin
accessibility
Pins away
from
24
corners
1 4 5
2 3
Moving to Hierarchical Power
MSV Floorplanning
Physical Design Design Planning
A bit about
Hierarchical
Design
Or how do you deal with a really big chip
2
Flat vs. Hierarchical
Design
Import
Fullchip Design Floorpla
n
constraints as I/O
level e
Finish
Design
set_input_delay 1.5 [get_port
constraints IN1]
1.5n IN
s 1
Block
Boundary
• Interface Logic Models (ILMs) help simplify and speed-up
design
A X A X
B Y B Y
Clk
as:
• Layers, spacing, size, e
Finish
Design
overlap
• Net groups, pin guides Pins at partition
corners can
• Pins can be assigned: make routing
difficult
• Placement-based
(flightlines)
• Route-based (trial
• route, boundary
Can be used to influence Pin guide 1
crossings).
automatic pin placement of
• Pinparticular
guides net groups Pin guide 2
Partition 28
Design
Import
Floorpla
n
Partition Partition B Pa
A rtit
io
n
Feedthrough C
Candidates
29
The Chip Hall of Fame
• Speaking about floorplans, this is one of the
most essential attributes of an FPGA. And it
started with the:
Source:Xilinx
• Ross Freeman, CEO of Xilinx, bet on
Moore’s law
making transistors cheap enough to
“waste”. Source:Xilinx
• Release date: Nov. 1, 1985
• Process: Seiko 2um
• 64 Logic Cells and FFs, 38 I/O pins
• Originally called a “logic cell array”
and programmed logic was drawn by hand.
2017 Inductee to the IEEE Chip Hall of
1 4 5
2 3
Moving to Hierarchical Power
MSV Floorplanning
Physical Design Design Planning
Power
Planning
Design
Import
Floorpla
n
s Power
problem
Static Power Fail
(Leakage
Power)
Electromigrati
Power on
density (EM)
Floorplan problem in
+ the Long run
Design of the
grid
32
Design
Import
IR Drop Floorpla
n
Placemen
t
CTS
• The drop in supply voltage over the length of the supply Rout
line e
Finish
Design
• A resistance matrix of the power grid is constructed
• The average current of each gate is considered
• The matrix is solved for the current at
each node, to determine the IR-drop.
VDD
VDD Pad Ideal voltage
level
Minimu
m
Toleranc
Actual voltage e Level
33
level
Design
Import
Floorpla
n
34
Design
Import
BUT
Design
• Less Electromigration
• Carry current from pads to transistors on chip
• Maintain stable voltage with low noise
More (Wider) Power
• Provide average and peak power demands Lines:
• Provide current return paths for signals • Fewer (signal)
• Avoid electromigration & self-heating wearout
routing resources
• Consume little chip area and wire (i.e., higher
congestion)
• Easy to lay out
35
Design
Import
Floorpla
n
M1. e
Finish
Design
• Square resistance is given to be 0.1 10 3
m
what is the resistance of the
R R L W
ohm/square 1000
wire?
• If 0.1
we make a 100nm wide rail, 100 109 m
• Now, given a max current of 1mA/1um,
I max 1mA 100nm
due to Electromigration, what is the IR 1μm
drop when conducting such a current 0.1mA
IRdrop max Rwire 104 103
through this wire? I 100mV
• So what do we do?
• Make the power rails as wide and as thick as
possible!
36
Hot
Design
Import
Floorpla
n
Spots Placemen
t
CTS
• We generally map the IR drop of a chip using a color Rout
map to e
Finish
Design
highlight “hot spots”, where the IR drop is bad.
Source:
Cadence
• •Require
Initial power
powerestimation
budget
Design
Route
Finish
Design
Blocks with
the highest
performance
and highest
power
consumption
Close to border
power pads (IR
drop)
Away from each
other
(EM)
41
Design
Import
Floorpla
n
44