首页> 外国专利> Checking arithmetic computations

Checking arithmetic computations

机译:检查算术运算

摘要

Checking a correctness of computations of an arithmetic logic unit circuit 10, the arithmetic logic unit circuit 10 providing a computation result as a first number 12. The method comprises providing the computation result increased by a constant 16 by the arithmetic logic unit circuit 10 as a second number 14 and comparing a sum of the first number 12 and the constant 16 to the second number 14 then reporting an error 20 if the comparing operation does not indicate an equal result. Alternatively the first number may be summed with the negated second number 14 and the constant 16 and an error reported if the summing operation does not result to minus 1. The computation result and the computation result being increased by a constant may be calculated in parallel. The method allows the reuse of computed results to check for correctness of computations.
机译:检查算术逻辑单元电路10的计算的正确性,算术逻辑单元电路10将计算结果作为第一数12提供。该方法包括:将算术逻辑单元电路10的计算结果以常数16递增。如果比较操作未显示相等的结果,则报告第二个数字14,然后将第一个数字12和常数16之和与第二个数字14进行比较,然后报告错误20。可替代地,可以将第一数与否定的第二数14和常数16相加,如果求和运算未得到负1,则报告错误。可以并行计算计算结果和以常数增加的计算结果。该方法允许重用计算结果以检查计算的正确性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号