首页> 外国专利> Area optimization of hardware for algorithms by optimizing sizes of variables of the algorithm

Area optimization of hardware for algorithms by optimizing sizes of variables of the algorithm

机译:通过优化算法变量的大小来优化算法硬件的区域

摘要

Described herein are methods and systems for optimizing area related to hardware implementation of algorithms. The algorithms may be related to functionality of an embedded system, for instance. System functionality may be initially implemented in software and converted to hardware implementation. Prior to implementing system functionality in actual hardware, algorithms for selected system functionality or desirable all system functionality may be evaluated to determine values attained by selected variables or desirably all the variables comprised therein. In one embodiment, a probe may applied to the original software code to determine a maximum value and a minimum value corresponding to each of the variables of the algorithm (or at least one such variable) may be tracked across one or more invocations of functions (or other code components) of the algorithm comprising such variables. Based on such tracked values, a minimum size (e.g., in bit-width), for each of the variables, needed to express the various values attained by the variables may be determined. The original software code implementing system functionality may then be modified to declare or otherwise specify an optimal (e.g., the minimum bit-width needed to express values attained) bit-width, which can result in reduced area for a hardware implementation.
机译:本文描述了用于优化与算法的硬件实现有关的区域的方法和系统。该算法例如可以与嵌入式系统的功能有关。系统功能可以最初以软件实现,然后转换为硬件实现。在实际硬件中实现系统功能之前,可以评估用于选定系统功能或所需的所有系统功能的算法,以确定由选定变量或希望包含在其中的所有变量获得的值。在一个实施例中,可以将探针应用于原始软件代码以确定与算法的每个变量(或至少一个这样的变量)相对应的最大值和最小值,可以跨一个或多个函数调用来跟踪(或包含此类变量的算法)。基于这样的跟踪值,可以确定表达变量所获得的各种值所需的每个变量的最小大小(例如,以位宽为单位)。然后可以修改实现系统功能的原始软件代码,以声明或以其他方式指定最佳(例如,表达获得的值所需的最小比特宽度)比特宽度,这可以导致硬件实现的面积减小。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号