Graph Coloring. Vertex Coloring problem in VLSI routing channels Standard cells Share a track Minimize channel width- assign horizontal Metal wires to.

Slides:



Advertisements
Similar presentations
VLSI DESIGN & COMPARABILITY GRAPHS By Deepak Katta.
Advertisements

Register Usage Keep as many values in registers as possible Register assignment Register allocation Popular techniques – Local vs. global – Graph coloring.
Register Allocation after Classical SSA Elimination is NP-complete Fernando M Q Pereira Jens Palsberg - UCLA - The University of California, Los Angeles.
Interval, circle graphs and circle graph recognition using split decomposition Presented by Steven Correia Kent state university Nov
An Introduction to Channel Routing
1 NP-completeness Lecture 2: Jan P The class of problems that can be solved in polynomial time. e.g. gcd, shortest path, prime, etc. There are many.
NP-Completeness: Reductions
NP and NP Complete. Definitions A problem is in the class P if there is a polynomial time solution to the problem A problem is in the class NP if there.
1 Routing and Wavelength Assignment in Wavelength Routing Networks.
1 NP-Complete Problems. 2 We discuss some hard problems:  how hard? (computational complexity)  what makes them hard?  any solutions? Definitions 
CS774. Markov Random Field : Theory and Application Lecture 17 Kyomin Jung KAIST Nov
Rajat K. Pal. Chapter 3 Emran Chowdhury # P Presented by.
CSC5160 Topics in Algorithms Tutorial 2 Introduction to NP-Complete Problems Feb Jerry Le
Complexity 11-1 Complexity Andrei Bulatov NP-Completeness.
Computability and Complexity 15-1 Computability and Complexity Andrei Bulatov NP-Completeness.
Perfect Graphs Lecture 23: Apr 17. Hard Optimization Problems Independent set Clique Colouring Clique cover Hard to approximate within a factor of coding.
Vertex Cover, Dominating set, Clique, Independent set
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
NP-Complete Problems Problems in Computer Science are classified into
Computational Complexity CSC 172 SPRING 2002 LECTURE 27.
A General Framework for Track Assignment in Multilayer Channel Routing (Multi layer routing) -VLSI Layout Algorithm KAZY NOOR –E- ALAM SIDDIQUEE
Section 2.3 Graph Coloring By Katie Lessard & Colleen Raimondi.
3rd AMORE meeting, Leiden AMORE meeting, 1-4 October, Leiden, Holland A graph theoretical approach to shunting problems L. Koci, G. Di Stefano Dipartimento.
ECE Routing 1 ECE 665 Spring 2004 ECE 665 Spring 2004 Computer Algorithms with Applications to VLSI CAD Channel Routing Global Routing.
NP-Completeness (2) NP-Completeness Graphs 4/17/2017 6:25 AM x x x x x
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 24 Instructor: Paul Beame.
CSE 421 Algorithms Richard Anderson Lecture 27 NP Completeness.
COE 561 Digital System Design & Synthesis Resource Sharing and Binding Dr. Aiman H. El-Maleh Computer Engineering Department King Fahd University of Petroleum.
ECE Synthesis & Verification - Lecture 4 1 ECE 697B (667) Spring 2006 ECE 697B (667) Spring 2006 Synthesis and Verification of Digital Circuits Allocation:
Clique Cover Cook’s Theorem 3SAT and Independent Set
Graph Theory Ch.5. Coloring of Graphs 1 Chapter 5 Coloring of Graphs.
Multi-Layer Channel Routing Complexity and Algorithm Rajat K. Pal.
Chapter 5: Computational Complexity of Area Minimization in Multi-Layer Channel Routing and an Efficient Algorithm Presented by Md. Raqibul Hasan Std No.
7/13/ EE4271 VLSI Design VLSI Routing. 2 7/13/2015 Routing Problem Routing to reduce the area.
Graph Coloring.
Lecture 22 More NPC problems
Non-Hierarchical Sequencing Graphs
Algorithmic Graph Theory1 Algorithmic Graph Theory and its Applications Martin Charles Golumbic.
Algorithmic Graph Theory1 Algorithmic Graph Theory and its Applications Martin Charles Golumbic.
Memory Allocation of Multi programming using Permutation Graph By Bhavani Duggineni.
NP-Complete Problems. Running Time v.s. Input Size Concern with problems whose complexity may be described by exponential functions. Tractable problems.
Complete Graphs A complete graph is one where there is an edge between every two nodes A C B G.
1.1 Chapter 3: Proving NP-completeness Results Six Basic NP-Complete Problems Some Techniques for Proving NP-Completeness Some Suggested Exercises.
CSE 589 Part V One of the symptoms of an approaching nervous breakdown is the belief that one’s work is terribly important. Bertrand Russell.
1 Complexities of some interesting problems on spanning trees M Sohel Rahman King’s College, London M Kaykobad KHU, NSU and BUET.
Register Allocation Ajay Mathew Pereira and Palsberg. Register allocation via coloring of chordal graphs. APLOS'05Register allocation via coloring of chordal.
EE4271 VLSI Design VLSI Channel Routing.
CSE 332: NP Completeness, Part II Richard Anderson Spring 2016.
Presented By Ravindra Babu, Pentyala.  Real World Problem  What is Coloring  Planar Graphs  Vertex Coloring  Edge Coloring  NP Hard Problem  Problem.
ICS 353: Design and Analysis of Algorithms NP-Complete Problems King Fahd University of Petroleum & Minerals Information & Computer Science Department.
NP-Completeness (2) NP-Completeness Graphs 4/13/2018 5:22 AM x x x x x
Chapter 10 NP-Complete Problems.
Graph Coloring.
Graph Coloring and Applications
Algorithms for Finding Distance-Edge-Colorings of Graphs
Richard Anderson Lectures NP-Completeness
NP-Completeness (2) NP-Completeness Graphs 7/23/ :02 PM x x x x
NP-Completeness (2) NP-Completeness Graphs 7/23/ :02 PM x x x x
NP-Completeness Proofs
By Santhosh Reddy Katkoori
NP-Completeness (2) NP-Completeness Graphs 11/23/2018 2:12 PM x x x x
Algorithmic Graph Theory and its Applications
Architecture Synthesis
Resource Sharing and Binding
NP-Complete Problems.
Graph Coloring.
EE4271 VLSI Design, Fall 2016 VLSI Channel Routing.
More NP-complete problems
NP-Completeness (2) NP-Completeness Graphs 7/9/2019 6:12 AM x x x x x
Lecture 24 Vertex Cover and Hamiltonian Cycle
Presentation transcript:

Graph Coloring

Vertex Coloring problem in VLSI routing channels Standard cells Share a track Minimize channel width- assign horizontal Metal wires to tracks.. (min # of tracks = min channel width

Vertex Coloring problem in VLSI routing channels Standard cells Minimize channel width- assign horizontal Metal wires to tracks.. (min # of tracks = min channel width

Vertex=wire edge=overlapped wires color = track R B R G B CHORDAL GRAPH

Vertex Coloring problem in register allocation channels Share a register Minimize # of registers: assign variable (lifetimes) to registers (min # of registers ) TIME increasing

Clique paritioning: edges are connected if there is no conflict (no overlapping wires, no overlapping lifetimes) R B R G B COMPLEMENT OF CHORDAL GRAPH IS COMPARABILITY GRAPH

Clique paritioning: example R B R G B

Garey & Johnson Text Instance: graph G=(V,E), positive integer K<=|V|. Question: is G K-colorable ? Solvable in polynomial time for K=2, NP- complete for K>=3. General problem solvable in polynomial time for comparability graphs, chordal graphs, and others.

Also same for clique partitioning Graph G=(V,E), K<=|V| Question : can vertices of G be partitioned into k<=K disjoint sets V1, V2,…Vk such that for 1<=i<=k the subgraph induced by Vi is a complete graph?

abab cdcd a b d c ? In our application, our graphs are always chordal ! (in channel routing problem)

Register allocation in loops coloring of a circular arc graph which is NP-complete a b d c ? LOOP- variable c is defined in loop iteration i and used in the next loop iteration i+1 Time increasing c ? LOOP

Channel routing is still a hard problem due to the vertical constraints Which we cannot accommodate in our graph theory formulation (which Only looks at horizontal constraints i.e. horizontal intervals) top down view

Berge’s Algorithm(contract- connect) for Vertex Coloring a b c e d Consider a,b a b c e d a b c e d

ab c e d b c e d a b c e d a b c e d a

b c e d a b c e d a b c e d a be c e d a b c e d a c d a SMALLEST Complete graph

Consider a,b b c e d a be c e d a

adG eb BcBc R b Ge d a Ra Gb Bc Ge Rd b c e d Ra