Eda Ieee Eds26sep2013
Eda Ieee Eds26sep2013
Susmita Sur-Kolay
Advanced Computing and Microelectronics Unit
Agenda
V SI design cycle ! a glimpse A "limpse o# EDA Algorithms Architectural Synthesis: Scheduling Allocation $hysical Synthesis: %loorplanning &outing 'e( technologies pose #resh challenges
1950
Discrete Components
1961 SSI
1966 MSI
1971 LSI
1980 VLSI
1990 ULSI
2000
2010
SI DSM
1!6 mi""ion
10 # 20 4i""ions mi""ion
"ordon Moore)s %irst a( *Intel+ ,-./0 : 1 transistors per chip (ill dou2le every year3 Why? bigger circuits on a chip smaller transistors switch faster
In late 9 s
3 /. million within . years an9 3 million in % years 3 8H0 in . years an9 ./6 8H0 in % years . mm 7 . mm 9ie Low power
!o9ay
':er a billion transistor chip ,eature si0e )%nm2 *% nm2 6. nm ### ,ew 8H0 operating fre-uency 4/3 layers of Cu interconnect &ulti to many P cores2 65 !hermal issues 5esign for &anufacturability
Data $ath $ A
I67
9 Interconnects
ocal signals "lo2al signals Cloc: signals $o(er6ground nets 9 Circuit can 2e represented as a hypergraph ! ! ! !
&7M6 &AM
A6D Converter
&andom logic
V SI Design Cycle
9 9 9 9 9 9 9 System speci#ications %unctional design ogic design Circuit design $hysical ayout design %a2rication and $ac:aging
Wafer DI$ *Dual Inline $ac:age0 $"A *$in "rid Array0
4esting
A4$" *Automatic 4est $attern "enerator0 D%4 *Design #or 4esta2ility0 8IS4 *8uilt-In Sel# 4est0
$hysical Design
A CM7S Inverter
&ecent trends: <ield-a(are D%M calls #or ,/== design rules + so restrictive design rules are 2ecoming popular
1975-19$5
19$5-%resent
Agenda
V SI design cycle ! a glimpse A "limpse o# EDA Algorithms Architectural Synthesis: Scheduling Allocation $hysical Synthesis: %loorplanning &outing 'e( technologies pose #resh challenges
4he most important tas: o#ten is to #ind the right pro2lem #ormulation
! &esource Allocation
9 8inding o# %unctional Units+ Storage+ Interconnection
8ree9y / (S(P versus (L(P *as soon as possi2le0 :: *as late as possi2le0
Multi-core schedulingH
Su2tas:s:
! ! ! ! Unit Selection ! types and num2ers %unctional Unit 8inding - mapping operations onto #unctional units Storage 8inding ! register allocation to varia2les Interconnection 8inding - providing interconnection 2et(een 2uses and multipleAers
9 Su2tas:s are hard+ tac:led one a#ter another 9 Interdependent ! su2tas: ordering
s1 s2 s3 s4
A,,
A,
A5
i#etimes o# varia2les
Compatibility graph" non/o:erlap of lifetimes &egister Allocation 2y Cli?ue partitioning JA,+ A5+ AK+ A.+ A,=L+JAF+ A/+ AML+JAN+ A-+ A,,L r, C OA,+ ANP r5 C OA5+AF+ A-P rF C OAK+A/+ A,,P rK C OA.+AMP r/ C OA,=P
Agenda
V SI design cycle ! a glimpse A "limpse o# EDA Algorithms Architectural Synthesis: Scheduling Allocation $hysical Synthesis: %loorplanning &outing 'e( technologies pose #resh challenges
@ierarchical Design
9 Several 2loc:s a#ter partitioning: 9 'eed to:
! $ut the 2loc:s together3 ! Design each 2loc:3
%loorplanning
4he #loorplanning pro2lem is to plan the positions and shapes o# the modules at the 2eginning o# the design cycle to optimi>e the circuit per#ormance:
! ! ! ! ! chip area total (irelength delay o# critical path routa2ility others+ e3g3+ noise+ heat dissipation+ etc3
9 $lacement:
! Details li:e module shapes and I67 pin positions are #iAed *2loc:s (ith no #leAi2ility in shape are called hard 2loc:s03
9 Input:
%loorplanning $ro2lem
! n rectangular 2loc:s (ith areas A1, ... , An ! 8ounds ri and si on the aspect ratio o# 2loc: 8i ! 'etlist+ i3e3+ sets o# 2loc:s to 2e connected * set o# hyperedges
o# circuit hypergraph0
9 7utput:
! 4opology
9 #or each 2loc:+ co-ordinates *Ai+ yi0
! Si>ing
9 #or each 2loc: (idth (i and height hi such that hi (i C Ai and ri hi6(i si
9 72Iective:
! 4o optimi>e the circuit per#ormance3
8ut (e don5t (ant to layout 2loc:s as long strips+ so (e re?uire ri hi6(i si #or each i3
72Iective %unction
A commonly used o2Iective #unction is a (eighted sum o# area and (irelength: cost C A D (here A is the total area o# the pac:ing+ is the total (irelength+ and and are appropriate constants3
Rirelength Estimation
9 EAact (irelength o# each net is not :no(n until routing is done3 9 In #loorplanning+ even pin positions are not :no(n yet3 9 Some possi2le (irelength estimations:
! Center-to-center estimation ! @al#-perimeter estimation
9 Slicing %loorplan: 7ne that can 2e o2tained 2y repetitively su2dividing *slicing0 rectangles hori>ontally or vertically3
9 'on-Slicing %loorplan: 7ne that may not 2e o2tained 2y repetitively su2dividing alone3 9 7tten * SSS-N50 pointed out that slicing #loorplans are much easier to handle3
A floorplan is said to 2e hierarchical order o# k+ i# it can 2e o2tained 2y recursively partitioning a rectangle into at most k parts3 A :-ary 5 F K hierarchical , #loorplan tree . /
, M F N F N N K 5 . / M N F K N -
Order ?
K F
&ectangular Duali>ation
, 5
, F / / K AdIacency "raph K
5 F
&ectangular Duali>ation
,
Characteristics
6 Every #ace+ eAcept the eAterior+ is a triangle 6 All internal vertices have degree S K 6 all cycles that are not #aces and the eAterior #ace have length S K 6#RO#$R%& 'RIA()*%A'$+ #%A(AR )RA#, -#'#.
Si>ing
9 selecting a particular *length+ (idth0 pair #or each 2loc: 9 o2Iective is to minimi>e space (astage 9 compleA #or non-slici2le #loorplans
( Classic Wor1
/Optimal Orientation of 0ells in 1licing floorplan +esigns2 %. 1tockme3er, Information and 0ontrol 45-1678., 6191:1
! This is an earlier paper than [Wong-Liu86 ! dealing "ith simpler problem ! iven s"icin( str%ct%re an' a set of mo'%"e s7apes 8or s7ape "ist9 ! :o; to orient t7ese mo'%"es s%c7 t7at t7e tota" area is sma""est<
/ K F N K 5 / F N MA,F / M
A D
8 5 C
F
A
F
D
.
5 E /
NA,,
Dead space
9 Dead space is the space that is (asted:
Dea' space
9 Minimi>ing area is the same as minimi>ing deadspace3 9 Dead space percentage is computed as *A - iAi0 6 A ,==T
5ifficulty
,. v K v 5 5 5 v K 5
m,9m5 choices m, m5
Eey I9ea
9 Dynamic programming
! Compute a set of irre9un9ant solutions at each sub/tree roote9 from the list of irre9un9ant solutions for its two chil9 subtrees ! Pic1 the best solution from the list of irre9un9ant solutions at the root
Stoc:meyer Algorithm
9 Compact #loorplan representation schemes needed 9 4opology generation and si>ing interdependent - need integrated approach
! A'D-7& graph search 2ased method JDasgupta et al3 4CAD U-NL
! Very #ast mapping o# digital design onto %$"A chip ! 7ptimal per#ormance in terms o# circuit speed
9 Minimi>e delay or (ire-length laid out on the chip I'= 9 Depends on i i i ho( i #ar the components are placed
, 5 F K
i,
iF
CL=
i5
C 86module
K
, / #,
5 . ,= #5
F M N ,= .
, K F M 5 / N
iK
$lacement
'etlist
%$"A
Method: 4op-do(n partition-2ased ! $ractical implementation o# linear arrangement 2y recursive min-cut 2i-partitioning ! $lace linear arrangement o# C 8s 2y space-#illing curves *@il2ert+ V0 &esults: ! Derivation o# theoretical 2ounds on ?uality o# placement : (irelength ,, ,5 ,F ,. ! Speedup : 5A compared to V$&+ a popular earlier method
,= M N / ,K F 5 ,/
, 5 F
K / . M N - ,= ,,,5 ,F,K,/ ,.
@il2ert
,
$ritha 8anerIee et al3+ ;#)A #lacement using 1pace ;illing 0ur"es: 'heor3 <eets #ractice + Special issue on Con#iguring Algorithms+ $rocesses and Architecture *CA$A0 in ACM 4ransactions on Em2edded Computing System *4ECS0+ vol3 -+ no3 5+ pp3 ,-5F+ 7cto2er 5==-3
*c+r+m0
, F
3 % 4
. ) 6 $
nF
n,
9 9
$ro2lem: place modules having di##erent resource types on %$"As Method: 4hree phase deterministic algorithm - 7*nF0 time compleAity ! &ecursive min-cut partition 2ased linear arrangement o# modules ! Uni#ied topology generation and si>ing #or module shape ; position ! placement o# minority resources 2y graph theoretic approach &esults: ! Speedup: 5A to FMFA over eAisting (or: ! Wuality: FKT improvement in (ire-length over eAisting (or:
$ritha 8anerIee et al3+ ;ast *nified ;loorplan 'opolog3 )eneration and 1izing on ,eterogeneous ;#)As + IEEE 4rans3 on CAD o# Integrated Circuits and Systems+ vol3 5N+ no3 /+ pp3 ./,-..,+ May 5==-3
3
inst,
* %
. ) 6 $
, F K / N
4
inst5
9 $ro2lem: some modules on %$"A re-con#igured+ some static *partial0 9 Method: 4hree phase deterministic algorithm
! %iA position o# static modules such that ! $lace remaining modules satis#ying di##erent resource re?uirements ! Minimi>e (ire-length
9 &esults:
! 'o recon#iguration overhead (ithout sacri#icing ?uality o# solution
$ritha 8anerIee et al3+ ;loorplanning for #artiall3 Reconfigura le ;#)As, I$$$ 'rans. on 0A+ of Integrated 0ircuits and 13stems+ vol3 F=+ no3 ,+ pp3 N-,M+ Xan 5=,,
Agenda
V SI design cycle ! a glimpse A "limpse o# EDA Algorithms Architectural Synthesis: Scheduling Allocation $hysical Synthesis: %loorplanning &outing 'e( technologies pose #resh challenges
9 7utput:
! "eometric layouts o# all nets
9 72Iective:
! Minimi>e the total (ire length+ the num2er o# vias+ or Iust completing all connections (ithout increasing the chip area3 ! Each net meets its timing 2udget3
Classi#ication o# &outing
9 Concurrent Approach:
! Consider all nets simultaneously+ i3e3+ no ordering3
Steiner 4ree
9 %or a multi-terminal net+ (e can construct a spanning tree to connect all the terminals together3 9 8ut the (ire length (ill 2e large3 9 8etter use Steiner 4ree:
A tree connecting all terminals and some additional nodes *Steiner nodes03
Steiner 'ode
9 May need to route tens o# thousands o# nets simultaneously (ithout overlapping3 9 72stacles may eAist in the routing region3
"lo2al &outing
9 Channel: $ins on 5 opposite sides3 9 5-D S(itch2oA: $ins on K sides3 9 F-D S(itch2oA: $ins on all . sides3
O !ecti"e: %ind a Steiner tree 'i #or each net (i, 1A i A n such that ,3
53 maB -%en -'i.. is minimi>ed 1u !ect to conditions *-e!. A 0-e!. #or all e! $ (here %en -'i. C the length o# the Steiner tree 4i C *eI0 C capacity o# edge *eI0 U *eI0 C 1 (ires through the channel corresponding to edge eI
9 72Iective:
! %ind the shortest path connecting S and 43
Ma>e &outing
S
8asic Idea
9 A 8readth-%irst Search *8%S0 o# the grid graph3 9 Al(ays #ind the shortest path possi2le3 9 Consists o# t(o phases:
! Rave $ropagation ! &etrace
An Illustration
S
= , /
, 5 F K
5 F K /
4
F / .
Rave $ropagation
9 At step :+ all vertices at Manhattandistance : #rom S are la2eled (ith :3 9 A $ropagation ist *%I%70 is used to :eep trac: o# the vertices to 2e considered neAt3
S
5 F
5 F K /
4
F / .
,
4 A#ter Step =
5 F
,
4
5 F K
A#ter Step F
A#ter Step .
&etrace
9 4race 2ac: the actual route3 9 Starting #rom '3 9 At "erteB Cith k, go to an3 "erteB Cith la el k-,3
S
5 F
F /
, /
5 F K
K /
4
%inal la2eling
4ype o# &outing region *channel+ s(itch2oA0 &outing model *manhattan+ Y-routing0 'um2er o# terminals *i3e3 t(o terminal vs3 multi-terminal nets0 'um2er o# availa2le layers 'et type *i3e3 critical vs3 not-critical nets0 'et (idth *in case o# gridless routing0
Channel
"rid
Columns
ayer ,
=
ayer 5
Agenda
V SI design cycle ! a glimpse A "limpse o# EDA Algorithms Architectural Synthesis: Scheduling Allocation $hysical Synthesis: %loorplanning &outing 'e( technologies pose #resh challenges
'e( Challenges
9 Design #or Manu#actura2ility 9 4hree-dimensional ICs 9 Intellectual $roperty $rotection and @ard(are Security
2ac:
9'eed to predict 7$C overhead and More .2C frien'"3 incorporate into cost model o# routing algorithm 9 &ule-2ased vs Model-2ased methods
4hree-dimensional ICs
9 Stac:ed dies
! Additional vias called through silicon via*4SV0
! 'eed to #ormulate the design automation pro2lems ta:ing these additional constraints into account
$aradigm Shi#t
I$ reuse and sharing are adopted to manage compleA design challenges to meet time-to-mar:et to meet lo( cost re?uirement
Sur-Kolay
NF
ogic design
% C *A8 D C0 G*DDE*YD<00
Circuit design
IC Design
$hysical design ; D%M
%a2rication
@ard(are I$ *Chip0
%a2
,,6=,6,F
Sur-Kolay
N/
4roIans
A Combinational Trojan A Sequential Trojan
Insertion o# 4roIan ! 4he circuit is modi#ied 2y introducing or resi>ing gates or redesigning the inter#ace Activation o# 4roIan ! 4he change is activated under a speci#ic condition to eAtract valua2le in#ormation #rom the circuit or to hamper its normal 2ehavior
,,6=,6,F Sur-Kolay N.
Categories o# misappropriations
during sharing and reuse
I$ Vendor *Design @ouse0 arger I$ 6 SoC company *,0 Additional Copies o# I$
IC
*50
Design I$
*50 Mas: *F0
troIan *F0
Misappropriation6 Unauthori>ed &euse 9 "eneration o# illegal copies *,0 9 Unauthori>ed access *50 *hac:ing or interception0 Unauthori>ed in#ormation retrieval Inclusion o# 4roIan *eAtra un(anted circuitry0 *F0
NM
troIan IC *F0
,,6=,6,F
Sur-Kolay
Security Mechanisms
,,6=,6,F
Sur-Kolay
NN
$arting &emar:s
9 In the late UN=s+ 8ryan $reas commented that most EDA pro2lems have 2een solved 9 Moore)s la( has 2een alive and the ne( technology nodes have :ept on posing #resh optimi>ation ! mostly com2inatorial challenges 9 More Moore+ More than Moore and 8eyond Moore to other nano-scopic devices 9 8iochips have separate constraints
! 'ovel design automation #ormulation (ill arise
y k n a h T
n o i t n e t t a r u o y r o f ou