Visit the Direct Insight web site

Product category: Design Services
News Release from: IBM Haifa Research Lab | Subject: Coverage-Directed Generation
Edited by the Electronicstalk Editorial Team on 10 February 2006

Machine learning and simulation-based verification

Register for the FREE Electronicstalk email newsletter now! News about Design Services and more every issue. Click here for details.

Now in its third-year at the IBM Haifa Research Lab, the Coverage-Directed Generation project, known as CDG, is being successfully used for simulation-base verification

Approximately 80-90% of today's verification efforts use simulation-based verification, as opposed to formal verification. Coverage directed test generation (CDG) provides test generators with automated feedback, which can greatly reduce the manual work in the verification process and increase its efficiency.

Simulation-based verification usually follows a circular path.

It begins when the engineers first decide on a verification plan.

Next, they create directives that guide a random test generator, which produces tests that can be run on the design.

Most verification environments today have built-in random generation capabilities, and in large and complex designs external test generators are used.

Genesys and X-Gen are examples of two random test generators (RTGs) developed at the IBM Haifa Lab and are currently used as the primary means to verify processors across IBM chiefly at the processor and system level.

CDG itself is being used both at the unit level, where the test generation is part of the verification environment, and at the processor and system levels together with Genesys and X-Gen.

The generated tests are then used as input to the simulator along with the design being tested.

During simulation, monitors and checkers determine whether the behaviour is a pass or fail.

Coverage tools such as Meteor, also developed at the IBM Haifa Lab, are used to collect information and provide reports that analyse the design's behaviour and verify that all the required types of behaviour were tested, or 'covered'.

Tools such as Meteor include sophisticated analytical abilities along with full data mining and reporting features.

These coverage reports and analysis information are fed back into the random test generators so that a new set of more 'directed' tests can be formulated.

This is where CDG machine learning comes into play.

The Haifa CDG system is unique in that it learns from observing test directives on one hand and coverage data on the other.

Based on these observations, CDG learns the relationships between the directives and coverage data, and based on this, it can provide directives that improve the probability of hitting coverage events (either covered or uncovered events).

Say, for example, a test plan is required to check behaviours A, B, and C on a processor.

CDG looks at what was input to the RTG and what was output to the coverage reports, and then gives new directives to the RTG so it can generate improved test suites.

The goal of CDG is to automatically provide the test generator with directives that are based on coverage analysis.

This feedback loop is all done using machine learning.

By analysing the feedback loop, CDG can automatically provide directives to the test generator, which help in reaching difficult cases, namely noncovered or rarely covered tasks.

CDG also enables the same behaviours to be tested using different tests, thereby ensuring a more robust verification process and increasing the chance of uncovering hidden bugs.

Although coverage-directed test generation is not new, the integration of machine learning has turned this approach from a complex inefficient one into one that provides successful design verification.

Previous attempts at coverage-directed test generation used techniques such as reverse engineering of the design under test and genetic algorithms to create heuristics that would solve the problem.

Using their machine learning approach, Shai Fine and Avi Ziv at the IBM Haifa Research Lab have developed the first effort to successfully use coverage directed generation for simulation-based verification.

Their first paper on this approach: 'Coverage directed test generation for functional verification using Bayesian networks', published at DAC 2003, is already quoted in three textbooks and being taught as a basic technique in the field of verification.

Courses in simulation-based verification are still difficult to find in Israel, where formal verification is far more popular as an academic field of study.

This year, Avi Ziv will be giving a course at the Technion on 'Advanced topics in simulation-based functional verification' as part of the Computer Science Department's curriculum.

Shai Fine and Avi Ziv hope this is part of a growing trend where simulation-based verification, currently being driven primarily by industry initiatives, will slowly make its way into the academic environment.

IBM Haifa Research Lab: contact details and other news
Email this article to a colleague
Register for the free Electronicstalk email newsletter
Electronicstalk Home Page

Related Business News

Vista Partners Updates Coverage on TXP...
...Corporation; Maintains $0.80 Price Target. Vista Partners announced today that it has update coverage on TXP Corporation . Vista Partners provides equity research to institutional and individual investors, with a focus on publicly traded small capitalization companies.

John Eargle, 76; award-winning audio engineer
John Eargle, an award-winning audio engineer who wrote technical books on sound recording and worked as a consultant for electroacoustical product development, was found dead May 9 at his home in the Hollywood Hills. He was 76.

Eurocopter looks back at the Bo108...
...- predecessor of the EC135. May 2007 - Today a best seller among the Eurocopter range, the EC135 has established itself as a leader on the light twin market, with operations spanning from emergency medical services to corporate transport , offshore, police missions and military ope

Buses boost follows complaints
A £24m public transport interchange opens in Barnsley this weekend as part of a long-term strategy to reverse the decline in bus passenger numbers in South Yorkshire. (17/05/2007 08:39:28)

Arts Council to hold grants review...
...in Beaver Bay April 21, public invited. The Arrowhead Regional Arts Council will review applications to its Rural and Community Art Grant program at its board meeting, Saturday, April 21, from 3 to 5 p.m. at the Beaver Bay Community Center located at 711 Macdonald Ave. in Beaver Bay.

Search the Pro-Talk network of sites

Visit the Direct Insight web site