1 Non-uniform Crossover in Genetic Algorithm Methods to Speed up the Generation of Test Patterns for Sequential Circuits Michael Dimopoulos - Panagiotis.

Slides:



Advertisements
Similar presentations
Abdullah Said Alkalbani University of Buraimi
Advertisements

Logical and Artificial Intelligence in Games Lecture 14
Informed search algorithms
Algorithm Design Techniques
New Micro Genetic Algorithm for multi-user detection in WCDMA AZMI BIN AHMAD Borhanuddin Mohd Ali, Sabira Khatun, Azmi Hassan Dept of Computer and Communication.
Linear Feedback Shift Registers (LFSR)
Von Karman Institute for Fluid Dynamics RTO, AVT 167, October, R.A. Van den Braembussche von Karman Institute for Fluid Dynamics Tuning of Optimization.
Digital Integrated Circuits© Prentice Hall 1995 Design Methodologies Design for Test.
Exclusive-OR and Exclusive-NOR Gates
Population-based metaheuristics Nature-inspired Initialize a population A new population of solutions is generated Integrate the new population into the.
Computational Intelligence Winter Term 2009/10 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Local Search Algorithms
Intelligent Control Methods Lecture 12: Genetic Algorithms Slovak University of Technology Faculty of Material Science and Technology in Trnava.
TOPIC : Finite State Machine(FSM) and Flow Tables UNIT 1 : Modeling Module 1.4 : Modeling Sequential circuits.
Genetic Algorithms Sushil J. Louis Evolutionary Computing Systems LAB Dept. of Computer Science University of Nevada, Reno
Non-Linear Problems General approach. Non-linear Optimization Many objective functions, tend to be non-linear. Design problems for which the objective.
1 IOE/MFG 543 Chapter 14: General purpose procedures for scheduling in practice Section 14.5: Local search – Genetic Algorithms.
Finite State Machine State Assignment for Area and Power Minimization Aiman H. El-Maleh, Sadiq M. Sait and Faisal N. Khan Department of Computer Engineering.
Data Mining CS 341, Spring 2007 Genetic Algorithm.
A new crossover technique in Genetic Programming Janet Clegg Intelligent Systems Group Electronics Department.
Introduction to Genetic Algorithms Yonatan Shichel.
Population New Population Selection Crossover and Mutation Insert When the new population is full repeat Generational Algorithm.
A Hybrid Heuristic for the Traveling Salesman Problem R. Baraglia, J. I. Hildalgo, R. Perego CMPSC 580, Spring 2006.
Genetic Algorithm for Variable Selection
Local Search and Stochastic Algorithms
Chapter 6: Transform and Conquer Genetic Algorithms The Design and Analysis of Algorithms.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Evolutionary Algorithms and Artificial Intelligence Paul Grouchy PhD Candidate University of Toronto Institute for Aerospace Studies
Testimise projekteerimine: Labor 2 BIST Optimization
Evolving a Sigma-Pi Network as a Network Simulator by Justin Basilico.
Soft Computing Lecture 18 Foundations of genetic algorithms (GA). Using of GA.
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
Zorica Stanimirović Faculty of Mathematics, University of Belgrade
An Iterative Heuristic for State Justification in Sequential Automatic Test Pattern Generation Aiman H. El-MalehSadiq M. SaitSyed Z. Shazli Department.
Introduction to Evolutionary Algorithms Session 4 Jim Smith University of the West of England, UK May/June 2012.
Fuzzy Genetic Algorithm
Computational Complexity Jang, HaYoung BioIntelligence Lab.
Derivative Free Optimization G.Anuradha. Contents Genetic Algorithm Simulated Annealing Random search method Downhill simplex method.
EE459 I ntroduction to Artificial I ntelligence Genetic Algorithms Kasin Prakobwaitayakit Department of Electrical Engineering Chiangmai University.
Crossovers and Mutation Richard P. Simpson. Genotype vs. Phenotype The genotype of a chromosome is just the basic data structure (it bits in a binary.
Genetic Algorithms Przemyslaw Pawluk CSE 6111 Advanced Algorithm Design and Analysis
Chapter 9 Genetic Algorithms.  Based upon biological evolution  Generate successor hypothesis based upon repeated mutations  Acts as a randomized parallel.
Genetic Algorithms Genetic algorithms provide an approach to learning that is based loosely on simulated evolution. Hypotheses are often described by bit.
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
ECE 103 Engineering Programming Chapter 52 Generic Algorithm Herbert G. Mayer, PSU CS Status 6/4/2014 Initial content copied verbatim from ECE 103 material.
Chapter 12 FUSION OF FUZZY SYSTEM AND GENETIC ALGORITHMS Chi-Yuan Yeh.
EE749 I ntroduction to Artificial I ntelligence Genetic Algorithms The Simple GA.
D Nagesh Kumar, IIScOptimization Methods: M8L5 1 Advanced Topics in Optimization Evolutionary Algorithms for Optimization and Search.
N- Queens Solution with Genetic Algorithm By Mohammad A. Ismael.
1 Autonomic Computer Systems Evolutionary Computation Pascal Paysan.
Local Search Algorithms and Optimization Problems
Genetics in EACirc DESCRIPTION OF THE COMPONENTS BASED ON EVOLUTION.
Genetic Algorithm(GA)
Evolutionary Design of the Closed Loop Control on the Basis of NN-ANARX Model Using Genetic Algoritm.
Presented By: Farid, Alidoust Vahid, Akbari 18 th May IAUT University – Faculty.
Constraints Satisfaction Edmondo Trentin, DIISM. Constraint Satisfaction Problems: Local Search In many optimization problems, the path to the goal is.
Local search algorithms In many optimization problems, the path to the goal is irrelevant; the goal state itself is the solution State space = set of "complete"
Genetic (Evolutionary) Algorithms CEE 6410 David Rosenberg “Natural Selection or the Survival of the Fittest.” -- Charles Darwin.
Using GA’s to Solve Problems
Genetic Algorithms.
Evolutionary Algorithms Jim Whitehead
VLSI Testing Lecture 6: Fault Simulation
An evolutionary approach to solving complex problems
Genetic Algorithms CPSC 212 Spring 2004.
Overview: Fault Diagnosis
Fault Models, Fault Simulation and Test Generation
Aiman H. El-Maleh Sadiq M. Sait Syed Z. Shazli
EE368 Soft Computing Genetic Algorithms.
Steady state Selection
GA.
Presentation transcript:

1 Non-uniform Crossover in Genetic Algorithm Methods to Speed up the Generation of Test Patterns for Sequential Circuits Michael Dimopoulos - Panagiotis Linardis Department of Informatics Aristotle University of Thessaloniki Greece

2 Digital Circuits Combinational Logic : inputsoutputs : Memory Sequential Circuit output = f (inputs,time)

3 Test Generation Apply a sequence of inputs to a circuit. Observe the output response and compare the response with a precomputed or expected response. Any discrepancy is said to constitute an error, the cause of which is a physical fault. TEST GENERATION TESTING In the faulty circuit, a single line/wire is S-a-0 or S-a-1. STUCK-AT Fault Model

4 Test Problem Formulation FSM goodM=(I,O,S, δ, λ ) Problem Formulation FSM faultyM f =(I,O f,S f, δ f, λ f ) For a given list of stuck-at faults : F={f 1,f 2,…,f n } Find a sequence of input vectors V (Test Sequence) that detects the faults in F. outputs Combinational Logic inputs :::: Memory :::: ? outputs Combinational Logic inputs :::: Memory ::::

5 ATPG Methods Stuck-at Fault Model ATPG Methods for Sequential Circuits Deterministic Simulation-based (random) Automatic Test Pattern Generation (ATPG) Genetic Algorithms Optimum Test Set: NP-Complete problem.

6 A Simple GA for ATPG Test seq. Test seq. Crossover Mutation Random Population Initial (A) (B) (E) End Ngen < MAX_GENERATIONS Ngen = Ngen If (Ngen%2) == 0 Expand seq. (F) Age = Ngen (C) (D)

Population Encoding of the Individuals n-input vector Sequence of m vectors n x m bit string

8 Crossover: Effect on Sequ Circuits Crossover operation degrades to mutation k-th vector 1st vector L V vector Detecting properties are preserved Detecting properties may be completely lost parents offsprings Vectors after the k-th, strongly depend on those before the k-th

9 Biased Crossover k-th vector 1st vector L V vector Detecting properties are preserved Detecting properties may be completely lost parents offsprings

10 GA Test Generation Policy Slowly increase test sequ size Slowly increase test sequ size Gradually expand candidate test sequences Append one new vector every {three} generations Direct crossover to tail of test sequ Direct crossover to tail of test sequ Try to optimize newly appended vectors Use non Uniform selection probability with emphasis on tail

11 Proposed Distribution(NonUni) Square probability distribution (normalized) for crossover selection

12 GATPG Algorithm Create_random_population For each individual Evaluate_fsimulation(individual) Sort_population/* with descending fit. value */ ngen=0/* generation num. */ do { for (j=0, i=0; i<ncross; j +=2, i++)/**** crossover ****/ { cross_over(Individual[j], Individual[j+1], child1, child2) Evaluate_ fsimulation (child1) Evaluate_ fsimulation (child2) } for (i=0; i<nmut; i +=2)/**** mutation ****/ { mutation(Individual[0], child1) mutation(Individual[1], child2) Evaluate_ fsimulation (child1) Evaluate_ fsimulation (child2) } Sort_population If ( (ngen % 3) == 0 ) { Expand_sequence(EXPAND_STEP) Evaluate_fsim(Individual[0])/* check best */ } ngen++ } while (ngen<MAX_GENERATIONS)

13 Fitness Function fitness = if (ngen < 0.25*MAX_GENERATIONS) f1 else f2 where: f1 = 20. R1 + R2. R3 f2 = 20. R1 + R3 + R2. R4. R5 and R1 = fdetected R2 = (sequ_length – eff_length) / sequ_length R3 = factivated / (fremaining+1) R4 = (faults propagated to FFs) / (num_FF. factive. seq_length) R5 = (faults propagated to outputs) / (num_ouputs. factive. sequ_length)

14 POPULATION = 32 MAX_GENERATIONS = 300 PCROSSOVER = 0.6 PMUTATION = 0.2 EXPAND_STEP = 1 POPULATION = 32 MAX_GENERATIONS = 300 PCROSSOVER = 0.6 PMUTATION = 0.2 EXPAND_STEP = 1 Experimental Results ISCAS89 Benchmark Circuits GATPG parameters:

15 Uniform Sqr (GATPG) Crossover Probability Distribution GATPG vs Uniform

16 Experimental Results Comparison with other methods Comparison with other methods

17 Experimental Results (cont)

18 Experimental Results (cont) Sequence Lengths GATPGHITECRudnick

19 Hybrid Methods (b) circuit s400(a) circuit s386

20 Conclusion Non uniform (biased) probability distribution for cut-point selection in crossover operator Non uniform (biased) probability distribution for cut-point selection in crossover operator Crossover operation degrades to mutation Crossover operation degrades to mutation GA for ATPG of Sequential Circuits: GATPG: Slowly increase test sequ size Slowly increase test sequ size Direct crossover to tail of test sequ Direct crossover to tail of test sequ