Test Patterns for Verilog Design Error Localization

In this article we briefly state the idea behind modelbased diagnosis and its application to debugging RTL (Register Transfer Level) Verilog designs. In providing a debugging model for the Verilog HDL (Hardware Description Language) we rely on a specific abstraction (trace semantics) that captures solely quiescent states of the design. In this vein we manage to overcome the inherent complexity issues of event-based Verilog without relying on specific fault models. To leverage test patterns for design error localization we propose the filtering approach and relate it to the concept of Ackermann constraints. Notably, our empirical results demonstrate that our novel technique considerably increases the diagnosis resolution even under presence of only a couple of test cases. The article outlines a case study comprising several circuits, where the proposed technique allowed one for excluding 95 per cent of the Verilog code from being faulty by merely considering a couple of test cases.

[1]  Robert C. Aitken Modeling the Unmodelable: Algorithmic Fault Diagnosis , 1997, IEEE Des. Test Comput..

[2]  Arnaud Virazel,et al.  DERRIC: A Tool for Unified Logic Diagnosis , 2007, 12th IEEE European Test Symposium (ETS'07).

[3]  Franz Wotawa,et al.  On the relationship between model-based debugging and program slicing , 2002, Artif. Intell..

[4]  Franz Wotawa Using Multiple Models for Debugging VHDL Designs , 2001, IEA/AIE.

[5]  Michael J. C. Gordon,et al.  Relating Event and Trace Semantics of Hardware Description Languages , 2002, Comput. J..

[6]  Naveed Riaz,et al.  Advances in Automated Source-Level Debugging of Verilog Designs , 2008, New Challenges in Applied Intelligence Technologies.

[7]  Franz Wotawa,et al.  Modeling State in Software Debugging of VHDL-RTL Designs - A Model-Based Diagnosis Approach , 2003, ArXiv.

[8]  Markus Stumptner,et al.  Using Model-Based Reasoning for Locating Faults in VHDL Designs , 2000, Künstliche Intell..

[9]  Zainalabedin Navabi,et al.  VHDL: Analysis and Modeling of Digital Systems , 1992 .

[10]  Raymond Reiter,et al.  A Theory of Diagnosis from First Principles , 1986, Artif. Intell..

[11]  Franz Wotawa,et al.  Applying Model-Based Diagnosis to Software Debugging of Concurrent and Sequential Imperative Programming Languages , 1996 .

[12]  Markus Stumptner,et al.  VHDLDIAG+: Value-level Diagnosis of VHDL Programs , 1998 .

[13]  Johan de Kleer,et al.  Characterizing Non-Intermittent Faults , 1991, AAAI.

[14]  Franz Wotawa,et al.  Debugging VHDL Designs Using Temporal Process Instances , 2003, IEA/AIE.

[15]  Markus Stumptner,et al.  Extending diagnosis to debug programs with exceptions , 2003, 18th IEEE International Conference on Automated Software Engineering, 2003. Proceedings..

[16]  F. Wotawa,et al.  Model-Based Reasoning with Multiple Test Cases and its Application to Debugging , 2008 .

[17]  Hans-Joachim Wunderlich,et al.  Adaptive Debug and Diagnosis without Fault Dictionaries , 2007, ETS.

[18]  Markus Stumptner,et al.  Model-Based Diagnosis of Hardware Designs , 1999, Artif. Intell..

[19]  Daniele Theseider Dupré,et al.  Model-Based Diagnosis Meets Error Diagnosis in Logic Programs (Extended Abstract) , 1993, AADEBUG.

[20]  Daniele Theseider Dupré,et al.  Model-Based Diagnosis Meets Error Diagnosis in Logic Programs , 1993, IJCAI.

[21]  Naveed Riaz Source Level Debugging of Verilog Designs , 2010 .

[22]  Thomas Röfer,et al.  Panoramic Image Processing and Route Navigation , 1998, Künstliche Intell..

[23]  Franz Wotawa Debugging Hardware Designs Using a Value-Based Model , 2004, Applied Intelligence.

[24]  Raymond Reiter,et al.  Characterizing Diagnoses and Systems , 1992, Artif. Intell..

[25]  Wilhelm Ackermann,et al.  Solvable Cases Of The Decision Problem , 1954 .

[26]  Franz Wotawa,et al.  New Directions in Debugging Hardware Designs , 1999, IEA/AIE.

[27]  John J. Zasio,et al.  SSIM: A Software Levelized Compiled-Code Simulator , 1987, 24th ACM/IEEE Design Automation Conference.

[28]  Franz Wotawa,et al.  Automated source-level error localization in hardware designs , 2006, IEEE Design & Test of Computers.

[29]  Franz Wotawa,et al.  Debugging VHDL designs using model-based reasoning , 2000, Artif. Intell. Eng..

[30]  Rolf Drechsler,et al.  Automatic Fault Localization for Property Checking , 2008, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems.