首页> 外国专利> System and method for predicting lwarx and stwcx instructions in test pattern generation and simulation for processor design verification and validation

System and method for predicting lwarx and stwcx instructions in test pattern generation and simulation for processor design verification and validation

机译:在测试模式生成和仿真中预测lwarx和stwcx指令以进行处理器设计验证和确认的系统和方法

摘要

A system and method for predicting lwarx (Load Word And Reserve Index form) and stwcx (Store Word Conditional) instruction outcome is presented. A lwarx instruction establishes a reservation on an address/granule, and a stwcx instruction targeted to the same address/granule “succeeds” only if the reservation for the granule still exists (conditional store). Since the reservation may be lost due to situations such as, for example, a processor (or another processor) executing a different lwarx or ldarx instruction (or other mechanism), which clears the first reservation and establishes a new reservation, the invention described herein builds test patterns in a manner that ensures, stwcx success and failure predictability. As a result, stwcx instructions are testable during test pattern execution.
机译:提出了一种用于预测lwarx(加载字和保留索引形式)和stwcx(存储字条件的)指令结果的系统和方法。 lwarx指令在地址/颗粒上建立保留,而只有相同颗粒/颗粒的保留仍然存在时(条件存储)​​,指向相同地址/颗粒的stwcx指令才会“成功”。由于预留可能由于诸如处理器(或另一个处理器)执行不同的lwarx或ldarx指令(或其他机制)之类的情况而丢失,该情况清除了第一预留并建立了新的预留,因此这里描述的发明以确保stwcx成功和失败可预测性的方式构建测试模式。结果,可以在测试模式执行期间测试stwcx指令。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号