Skip to main content
QUICK REVIEW

[Paper Review] Modeling State in Software Debugging of VHDL-RTL Designs -- A Model-Based Diagnosis Approach

Bernhard Peischl, Franz Wotawa|arXiv (Cornell University)|Nov 3, 2003
Software Testing and Debugging TechniquesComputer Science18 references4 citations
TL;DR

This paper presents a model-based diagnosis approach for automated fault localization in VHDL-RTL designs by extending a value-level model to explicitly capture state and temporal behavior through time-unfolded process executions. The method enables precise fault localization in sequential circuits by modeling signal evolution over time, with empirical results showing scalability on ISCAS’85 benchmark circuits, including C6288 with up to 287 single-fault diagnoses and 2.8 million ms runtime.

ABSTRACT

In this paper we outline an approach of applying model-based diagnosis to the field of automatic software debugging of hardware designs. We present our value-level model for debugging VHDL-RTL designs and show how to localize the erroneous component responsible for an observed misbehavior. Furthermore, we discuss an extension of our model that supports the debugging of sequential circuits, not only at a given point in time, but also allows for considering the temporal behavior of VHDL-RTL designs. The introduced model is capable of handling state inherently present in every sequential circuit. The principal applicability of the new model is outlined briefly and we use industrial-sized real world examples from the ISCAS'85 benchmark suite to discuss the scalability of our approach.

Motivation & Objective

  • To address the lack of automated support for fault localization in VHDL-RTL designs, especially in sequential circuits with evolving state.
  • To extend existing model-based diagnosis techniques to handle temporal behavior and state evolution in hardware designs.
  • To improve debugging scalability and precision by modeling process semantics and signal values across time points.
  • To evaluate the approach on industrial-sized benchmarks from the ISCAS’85 suite to assess real-world feasibility.
  • To lay the foundation for integrating simulation and verification results into diagnosis for enhanced fault detection.

Proposed method

  • The approach uses a domain-independent diagnosis engine combined with a language-specific model derived from VHDL-RTL source code.
  • A value-level model abstracts syntax and semantics of VHDL, representing statements and expressions as components for diagnosis.
  • The model is extended by time-unfolding process executions, creating temporal instances to represent state evolution over time.
  • Process semantics and event handling are incorporated to model signal transitions and sequential behavior.
  • Diagnosis is computed by checking consistency between observed behavior and model assumptions, identifying minimal sets of faulty components.
  • The method supports both single-point-in-time and temporal diagnosis by analyzing signal values across multiple time steps.

Experimental results

Research questions

  • RQ1How can model-based diagnosis be adapted to handle state and temporal behavior in sequential VHDL-RTL designs?
  • RQ2Can a value-level model be extended to represent process execution over time while preserving diagnostic accuracy?
  • RQ3What is the computational scalability of the approach on real-world industrial circuit benchmarks?
  • RQ4How does the inclusion of temporal behavior improve fault localization compared to single-time-point analysis?
  • RQ5What is the impact of simulation results on refining the diagnosis model for better precision?

Key findings

  • The extended model successfully captures state evolution in sequential circuits by time-unfolding process executions and modeling signal transitions.
  • For the ISCAS’85 benchmark suite, the median number of single-fault diagnoses ranged from 1 (C432) to 306 (C6288), with C6288 requiring up to 2,792,591 ms.
  • The average number of single-fault diagnoses varied from 1.40 (C432) to 287.02 (C6288), indicating increasing complexity with circuit size.
  • Circuit C6288 had the highest median runtime (122,317 ms) and maximum runtime (2,792,591 ms), demonstrating the method's computational intensity on large designs.
  • The approach scales to industrial-sized circuits, with C7552 (3,512 gates) yielding 4.75 average single-fault diagnoses and 8,219 ms average runtime.
  • The method enables precise fault localization across time, showing principal applicability for sequential circuit debugging beyond single-time-point analysis.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.