• 中国精品科技期刊
  • CCF推荐A类中文期刊
  • 计算领域高质量科技期刊T1类
Advanced Search
Tan Jian, Luo Qiaoling, Wang Liyi, Hu Xiahui, Fan Hao, Xu Zhan. Data Constraint Generation Technology for Microprocessor Instruction Verification Based on SMT Solver[J]. Journal of Computer Research and Development, 2020, 57(12): 2694-2702. DOI: 10.7544/issn1000-1239.2020.20190718
Citation: Tan Jian, Luo Qiaoling, Wang Liyi, Hu Xiahui, Fan Hao, Xu Zhan. Data Constraint Generation Technology for Microprocessor Instruction Verification Based on SMT Solver[J]. Journal of Computer Research and Development, 2020, 57(12): 2694-2702. DOI: 10.7544/issn1000-1239.2020.20190718

Data Constraint Generation Technology for Microprocessor Instruction Verification Based on SMT Solver

Funds: This work was supported by the National Key Research and Development Program of China (2017YFB0202703).
More Information
  • Published Date: November 30, 2020
  • During the development of the processor, it is necessary to fully verify the instructions datapaths. The existing simulation verification methods have insufficient functional coverage in terms of instruction result operands constraints, relationship constraints between operands, and internal constraints of instructions, etc. This paper proposes an instruction constraint solving method based on satisfiability modulo theory (SMT) solver. The SMT solver is introduced to convert the instruction function verification tasks into constraint satisfaction problems. Constraint satisfaction problem techniques are used to generate validation tuple data, which can be used to verify the functional correctness of the instructions set. The modeling processes and examples are given in four aspects: the instruction result operand constraints, the instruction operand constraints, the instruction internal constraints, and float-pointing instructions operand constraints. In order to improve the modeling efficiency, we propose two strategies. First, once the time threshold is reached, the current process is terminated; second, using process management and thread management technology, a parallel solution framework for instruction function constraints is implemented, and a series of serial solving tasks are assigned to multiple threads that can be executed in parallel, and the speed of solution is accelerated under the conditions of the same constraints coverage. Our experiences show that under the right circumstances, instruction constraint solving technology based on SMT provides technical support for system-level functional verification to achieve test coverage of complex scenarios.
  • Cited by

    Periodical cited type(5)

    1. 刘鹏,胡文超,刘德启,韩晓霞,刘扬帆. 基于指令生成约束的RISC-V测试序列生成方法. 电子与信息学报. 2023(09): 3141-3149 .
    2. 高吉普,徐长宝,辛明勇,陈军健,刘德宏. 基于B/S结构的多核微处理器实速故障诊断技术. 电子设计工程. 2023(22): 171-175 .
    3. 谢跃伟. 基于Modbus/TCP的无线通信网络安全加密控制系统设计. 计算机测量与控制. 2023(11): 187-191+211 .
    4. 孔陶茹,齐峰,李晚春. 基于RBF-BP算法的机械臂多自由度分拣控制系统设计. 计算机测量与控制. 2022(11): 98-103+110 .
    5. 王磊,陈磊,张明儒,魏敏,李晋先. 面向数据库查询的非结构化数据融合存储系统. 电子设计工程. 2022(24): 148-152 .

    Other cited types(2)

Catalog

    Article views (675) PDF downloads (244) Cited by(7)
    Turn off MathJax
    Article Contents

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return