...
首页> 外文期刊>International Journal on Software Tools for Technology Transfer >Debugging formal specifications: a practical approach using model-based diagnosis and counterstrategies
【24h】

Debugging formal specifications: a practical approach using model-based diagnosis and counterstrategies

机译:调试正式规格:使用基于模型的诊断和对策的实用方法

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

Creating a formal specification for a design is an error-prone process. At the same time, debugging incorrect specifications is difficult and time consuming. In this work, we propose a debugging method for formal specifications that does not require an implementation. We handle conflicts between a formal specification and the informal design intent using a simulation-based refinement loop, where we reduce the problem of debugging overconstrained specifications to that of debugging unrealizability. We show how model-based diagnosis can be applied to locate an error in an unrealizable specification. The diagnosis algorithm computes properties and signals that can be modified in such a way that the specification becomes realizable, thus pointing out potential error locations. In order to fix the specification, the user must understand the problem. We use counterstrategies to explain conflicts in the specification. Since counterstrategies may be large, we propose several ways to simplify them. First, we compute the counterstrategy not for the original specification but only for an unrealizable core. Second, we use a heuristic to search for a countertrace, i.e., a single input trace which necessarily leads to a specification violation. Finally, we present the countertrace or the counterstrategy as an interactive game against the user, and as a graph summarizing possible plays of this game. We introduce a user-friendly implementation of our debugging method and present experimental results for GR(1) specifications.
机译:为设计创建正式规范是一个容易出错的过程。同时,调试不正确的规格既困难又耗时。在这项工作中,我们提出了一种不需要正式实现的用于正式规范的调试方法。我们使用基于仿真的细化循环来处理正式规范和非正式设计意图之间的冲突,从而将调试过度约束的规范的问题减少到调试无法实现的问题。我们展示了如何将基于模型的诊断应用于在无法实现的规范中定位错误。诊断算法计算属性和信号,这些属性和信号可以以使规范变为现实的方式修改,从而指出潜在的错误位置。为了修订规范,用户必须了解问题。我们使用对策来解释规范中的冲突。由于对策可能很大,因此我们提出了几种简化对策的方法。首先,我们不针对原始规范计算对策,而仅针对无法实现的核心计算对策。其次,我们使用试探法来搜索反跟踪,即单个输入跟踪,这必然导致违反规范。最后,我们将反跟踪或反策略作为针对用户的互动游戏,并以图表的形式概述了该游戏的可能玩法。我们介绍了我们的调试方法的用户友好实现,并提供了GR(1)规范的实验结果。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号