首页> 外文期刊>Science of Computer Programming >Randomised testing of a microprocessor model using SMT-solver state generation
【24h】

Randomised testing of a microprocessor model using SMT-solver state generation

机译:使用SMT求解器状态生成的微处理器模型的随机测试

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

摘要

We validate a HOL4 model of the ARM Cortex-MO microcontroller core by testing the model's behaviour on randomly chosen instructions against real chips from several manufacturers. The model and our intended application involve precise timing information about instruction execution, but the implementations are pipelined, so checking the behaviour of single instructions would not give us sufficient confidence in the model. Thus we test the model using sequences of randomly chosen instructions. The main challenge is to meet the constraints on the initial and intermediate execution states: we must ensure that memory accesses are in range and that we respect restrictions on the instructions. By careful transformation of these constraints an off-the-shelf SMT solver can be used to find suitable states for executing test sequences. We also use additional constraints to test our hypotheses about the timing anomalies encountered.
机译:通过根据多家制造商的真实芯片在随机选择的指令上测试模型的行为,我们验证了ARM Cortex-MO微控制器内核的HOL4模型。该模型和我们预期的应用程序包含有关指令执行的精确时序信息,但是实现是流水线的,因此检查单个指令的行为将无法使我们对模型有足够的信心。因此,我们使用随机选择的指令序列测试模型。主要挑战是要满足对初始和中间执行状态的约束:我们必须确保内存访问在范围内,并且我们遵守对指令的限制。通过仔细转换这些约束条件,可以使用现成的SMT求解器来找到用于执行测试序列的合适状态。我们还使用其他约束条件来检验关于遇到的时间异常的假设。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号