Extending the scope of translation validation by augmenting path based equivalence checkers with SMT solvers

K. Banerjee, C. Mandal, D. Sarkar
{"title":"Extending the scope of translation validation by augmenting path based equivalence checkers with SMT solvers","authors":"K. Banerjee, C. Mandal, D. Sarkar","doi":"10.1109/ISVDAT.2014.6881061","DOIUrl":null,"url":null,"abstract":"The initial behavioural specification of an embedded system goes through significant optimizing transformations, automated and also human guided, before being mapped to an architecture. Establishing the validity of these transformations is crucial to ensure that the intended behaviour of a system has not been faultily altered during synthesis. Finite state machines with datapath (FSMDs) have traditionally been used to model the specification and the implementation. Path based equivalence checkers over this model have been proposed to validate the translation process. Since specification for digital systems implementing algorithmic computations over integers involves the whole of integer arithmetic which is undecidable, majority of these equivalence checkers employ a normalization technique that tries to reduce two computationally equivalent expressions e1 and e2 to a syntactically identical form. This normalization technique, however, is not applicable to reason over finite precision datatypes. In this work, we propose to augment the normalization module, wherever necessary, with an SMT solver to determine the validity of e1= e2. The scope of translation validation can be extended to handle bit-vectors, user-defined datatypes and more sophisticated transformations by leveraging the capability of SMT solvers while keeping the basic equivalence checking framework intact. We have explored three state-of-the-art SMT solvers namely, Yices2, CVC4 and Z3. The experiments demonstrate improvement in terms of its scope of application over the existing methodology.","PeriodicalId":217280,"journal":{"name":"18th International Symposium on VLSI Design and Test","volume":"52 4","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-07-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"18th International Symposium on VLSI Design and Test","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISVDAT.2014.6881061","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6

Abstract

The initial behavioural specification of an embedded system goes through significant optimizing transformations, automated and also human guided, before being mapped to an architecture. Establishing the validity of these transformations is crucial to ensure that the intended behaviour of a system has not been faultily altered during synthesis. Finite state machines with datapath (FSMDs) have traditionally been used to model the specification and the implementation. Path based equivalence checkers over this model have been proposed to validate the translation process. Since specification for digital systems implementing algorithmic computations over integers involves the whole of integer arithmetic which is undecidable, majority of these equivalence checkers employ a normalization technique that tries to reduce two computationally equivalent expressions e1 and e2 to a syntactically identical form. This normalization technique, however, is not applicable to reason over finite precision datatypes. In this work, we propose to augment the normalization module, wherever necessary, with an SMT solver to determine the validity of e1= e2. The scope of translation validation can be extended to handle bit-vectors, user-defined datatypes and more sophisticated transformations by leveraging the capability of SMT solvers while keeping the basic equivalence checking framework intact. We have explored three state-of-the-art SMT solvers namely, Yices2, CVC4 and Z3. The experiments demonstrate improvement in terms of its scope of application over the existing methodology.
通过使用SMT求解器增加基于路径的等价检查器来扩展翻译验证的范围
在映射到体系结构之前,嵌入式系统的初始行为规范要经过重要的优化转换,包括自动化和人工指导。建立这些转换的有效性对于确保系统的预期行为在合成过程中没有被错误地改变至关重要。具有数据路径的有限状态机(fsmd)传统上用于对规范和实现建模。在此模型上提出了基于路径的等价检查器来验证翻译过程。由于在整数上实现算法计算的数字系统规范涉及整个不可确定的整数算术,因此这些等价检查器中的大多数都采用一种规范化技术,试图将两个计算等价的表达式e1和e2减少到语法相同的形式。但是,这种规范化技术不适用于对有限精度数据类型进行推理。在这项工作中,我们建议在必要时增加规范化模块,使用SMT求解器来确定e1= e2的有效性。通过利用SMT求解器的功能,可以扩展翻译验证的范围,以处理位向量、用户定义的数据类型和更复杂的转换,同时保持基本的等效性检查框架不变。我们探索了三个最先进的SMT求解器,即Yices2, CVC4和Z3。实验表明,该方法在适用范围上比现有方法有了改进。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信