Copyright ? 1997 Altera Corporation
3/3/2011 P.1
Powerful
of
CLIQUE
Danny Mok
Altera HK FAE
(dmok@altera.com)
Copyright ? 1997 Altera Corporation
3/3/2011 P.2
Architecture of FLEX Device
FastTrack? Interconnect
LAB
Same ROW
Copyright ? 1997 Altera Corporation
3/3/2011 P.3
Copyright ? 1997 Altera Corporation
3/3/2011 P.4
Three Routing Possibility
FastTrack? Interconnect
Minimum Delay
LC -> LC
Routing 1
Copyright ? 1997 Altera Corporation
3/3/2011 P.5
Three Routing Possibility
FastTrack? Interconnect
Medium Delay
LC -> ROW -> LC
Routing 2
Copyright ? 1997 Altera Corporation
3/3/2011 P.6
Three Routing Possibility
FastTrack? Interconnect
Maximum Delay
LC -> ROW -> COL -> LC
Routing 3
Copyright ? 1997 Altera Corporation
3/3/2011 P.7
Which one faster?
Which one run FASTEST?SLOWEST?How about this one?
Copyright ? 1997 Altera Corporation
3/3/2011 P.8
What is CLIQUE?
? Clique is an option which provided by Altera
Max+Plus II which used to
– control the logic placement
– force the logic placement within
? the same LAB (no ROW/COLUMN trace delay) -- Highest
speed
? the same ROW (no COLUMN trace delay)
Copyright ? 1997 Altera Corporation
3/3/2011 P.9
Where is this Option?
Copyright ? 1997 Altera Corporation
3/3/2011 P.10
Example
No Hierarchy design,all is TTL,
No way to apply CLIQUE
Copyright ? 1997 Altera Corporation
3/3/2011 P.11
Floorplan Look
BAD
It only run at 77.56MHz
Copyright ? 1997 Altera Corporation
3/3/2011 P.12
Only a Little Bit Effort Planning
Change a flat design to 2 module
Need to run at high
speed
Isolate the unrelate logic to different module
Copyright ? 1997 Altera Corporation
3/3/2011 P.13
Floorplan Look
BETTER
Copyright ? 1997 Altera Corporation
3/3/2011 P.14
Register Performance
No logic change,only little bit planning in advance,the speed improve from
77.56Mhz to 138.88Mhz (79% increase),Yes,it is so easy !!!!!!!
Copyright ? 1997 Altera Corporation
3/3/2011 P.15
Use CLIQUE wisely
Copyright ? 1997 Altera Corporation
3/3/2011 P.16
No CLIQUE apply
Copyright ? 1997 Altera Corporation
3/3/2011 P.17
Apply CLIQUE to MUX16-16
Copyright ? 1997 Altera Corporation
3/3/2011 P.18
What is the CLOCK Frequency?
a.) Faster
b.) no Change
c.) Slower
SLOWER
Copyright ? 1997 Altera Corporation
3/3/2011 P.19
Why?
? The 16x16 MUX is construct from 16 individual 16-to-1
MUX
? This 16 individual 16-to-1 MUX is no relationship with
each other
? Apply CLIQUE to this 16x16 MUX means you force this
16 individual MUX place together
? Now this 16 individual 16-to-1 MUX somehow has
relationship between each other through this CLIQUE
application
? Is that CLIQUE is not GOOD?
Copyright ? 1997 Altera Corporation
3/3/2011 P.20
Apply CLIQUE to individual 16-1 MUX
Copyright ? 1997 Altera Corporation
3/3/2011 P.21
So Easy,the performance increase by 37%
Copyright ? 1997 Altera Corporation
3/3/2011 P.22
Use CLIQUE wisely
? CLIQUE really help you to achieve HIGH SPEED
design
– if and only if apply it correctly
? Apply CLIQUE ONLY to the logic which having
relationship with each other
? Breakdown your big design to smaller sub-module
design will easier for apply CLIQUE
– that is Floorplan in advance means for
THINK BEFORE CLIQUE
Copyright ? 1997 Altera Corporation
3/3/2011 P.23
Design Revolution
? In the past,design is base on FUNCTIONAL partition
– address decoder,state machine 1,state machine 2 etc.
? Todays,we are facing with HIGH SPEED DESIGN
? High Speed Design need a good floor planning in
advance
? CLIQUE is a powerful tools to control placement
Good Floor Planning in advance + CLIQUE = HIGH SPEED DESIGN
Copyright ? 1997 Altera Corporation
3/3/2011 P.24
Conclusion
Apply CLIQUE at the whole design = No CLIQUE at all !!!!!!