Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.5555/1950815.1950915acmconferencesArticle/Chapter ViewAbstractPublication PagesaspdacConference Proceedingsconference-collections
research-article

Facilitating unreachable code diagnosis and debugging

Published: 25 January 2011 Publication History

Abstract

Code coverage is a popular method to find design bugs and verification loopholes. However, once a piece of code is determined to be unreachable, diagnosing the cause of the problem can be challenging: since the code is unreachable, no counterexample can be returned for debugging. Therefore, engineers need to analyze the legality of nonexistent execution paths, which can be difficult. To address such a problem, we analyzed the cause of unreachability in several industrial designs and proposed a diagnosis technique that can explain the cause of unreachability. In addition, our method provides suggestions on how to solve the un-reachability problem, which can further facilitate debugging. Our experimental results show that this technique can greatly reduce an engineer's effort in analyzing unreachable code.

References

[1]
M. F. Ali, A. Veneris, S. Safarpour, R. Drechsler, A. Smith and M. Abadir, "Debugging Sequential Circuits Using Boolean Satisfiability," ICCAD'04, pp. 204--209.
[2]
M. F. Ali, S. Safarpour, A. Veneris, M. S. Abadir and R. Drechsler, "Post-Verification Debugging of Hierarchical Designs," ICCAD'05, pp. 871--876.
[3]
V. Boppana, I. Ghosh, R. Mukherjee, J. Jain, and M. Fujita "Hierarchical Error Diagnosis Targeting RTL Circuits," VLSI design'00, pp. 436--441.
[4]
D. Brand, R. A. Bergamaschi, and L. Stok, "Be Careful with Don't Cares," ICCAD'95, pp. 83--86.
[5]
R. E. Bryant, "Symbolic Simulation --- Techniques and Applications," DAC'90, pp. 517--521.
[6]
K. H. Chang, I. Wagner, V. Bertacco, and I. L. Markov, "Automatic Error Diagnosis and Correction for RTL Designs," HLDVT '07, pp. 65--72.
[7]
H. Z. Chou, K. H. Chang, and S. Y. Kuo, "Optimizing Blocks in an SoC Using Symbolic Code-Statement Reachability Analysis," ASPDAC'10, pp. 787--792.
[8]
H. Z. Chou, I. H. Lin, C. S. Yang, K. H. Chang and S. Y. Kuo, "Enhancing Bug Hunting Using High-Level Symbolic Simulation", GLSVLSI'09, pp. 417--420.
[9]
G. Cunningham, B. Jackson, and J. Dines, "Expression Coverability Analysis: Improving Code Coverage with Model Checking," DVCON'04.
[10]
A. Datta and V. Singhal, "Formal Verification of a Public-Domain DDR2 Controller Design," VLSI design'08, pp. 475--480.
[11]
N. Éen and N. Sörensson, "An Extensible SAT-solver," SAT'03, pp. 502--518.
[12]
G. Fey, S. Staber, R. Bloem, and R. Drechsler, "Automatic Fault Localization for Property Checking," IEEE TCAD, 2008, vol. 27(6), pp. 1138--1149.
[13]
J. L. Hennessy, and D. J. Patterson, "Computer Architecture: A Quantitative Approach, 2nd edition," Morgan Kaufman, 1996.
[14]
M. Janota, R. Grigore, and M. Moskal, "Reachability Analysis for Annotated Code," SAVCBS'07, pp. 23--30.
[15]
T. Y. Jiang, C. N. Liu, and J. Y. Jou, "Effective Error Diagnosis for RTL Designs in HDLs," ATS'02, pp. 362--367.
[16]
A. Kolbl, J. Kukula and R. Damiano, "Symbolic RTL simulation," DAC'01, pp. 47--52.
[17]
A. Kolbl, J. Kukula, K. Antreich, and R. Damiano, "Handling Special Constructs in Symbolic Simulation," DAC'02, pp. 105--110.
[18]
S. Y. Kuo, "Locating Logic Design Errors via Test Generation and Don't-Care Propagation," EDAC'92, pp 466--471.
[19]
J. C. Madre, O. Coudert and J. P. Billon, "Automating the Diagnosis and the Rectification of Design Errors with PRIAM," ICCAD'89, pp 30--33.
[20]
C. H. Shi and J. Y. Jou, "An Efficient Approach for Error Diagnosis in HDL Design," ISCAS'03, pp. 732--735.
[21]
A. Smith, A. Veneris and A. Viglas, "Design Diagnosis Using Boolean Satisfiability," ASPDAC'04, pp. 218--223.
[22]
Avery Design Systems Inc., http://www.avery-design.com
[23]
Bug UnderGround, http://bug.eecs.umich.edu

Cited By

View all
  • (2015)Automated rectification methodologies to functional state-space unreachabilityProceedings of the 2015 Design, Automation & Test in Europe Conference & Exhibition10.5555/2755753.2757138(1401-1406)Online publication date: 9-Mar-2015
  • (2015)Hidden truths in dead software pathsProceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering10.1145/2786805.2786865(474-484)Online publication date: 30-Aug-2015

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
ASPDAC '11: Proceedings of the 16th Asia and South Pacific Design Automation Conference
January 2011
841 pages
ISBN:9781424475162

Sponsors

Publisher

IEEE Press

Publication History

Published: 25 January 2011

Check for updates

Qualifiers

  • Research-article

Conference

ASPDAC '11
Sponsor:

Acceptance Rates

Overall Acceptance Rate 466 of 1,454 submissions, 32%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 27 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2015)Automated rectification methodologies to functional state-space unreachabilityProceedings of the 2015 Design, Automation & Test in Europe Conference & Exhibition10.5555/2755753.2757138(1401-1406)Online publication date: 9-Mar-2015
  • (2015)Hidden truths in dead software pathsProceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering10.1145/2786805.2786865(474-484)Online publication date: 30-Aug-2015

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media