首页> 外文期刊>IEEE Transactions on Parallel and Distributed Systems >Scalable hardware-algorithms for binary prefix sums
【24h】

Scalable hardware-algorithms for binary prefix sums

机译:二进制前缀和的可扩展硬件算法

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

摘要

We address the problem of designing efficient and scalable hardware-algorithms for computing the sum and prefix sums of a w/sup k/-bit, (k/spl ges/2), sequence using as basic building blocks linear arrays of at most w/sup 2/ shift switches, where w is a small power of 2. An immediate consequence of this feature is that in our designs broadcasts are limited to buses of length at most w/sup 2/. We adopt a VLSI delay model where the "length" of a bus is proportional with the number of devices on the bus. We begin by discussing a hardware-algorithm that computes the sum of a w/sup k/-bit binary sequence in the time of 2k-2 broadcasts, while the corresponding prefix sums can be computed in the time of 3k-4 broadcasts. Quite remarkably, in spite of the fact that our hardware-algorithm uses only linear arrays of size at most w/sup 2/, the total number of broadcasts involved is less than three times the number required by an "ideal" design. We then go on to propose a second hardware-algorithm, operating in pipelined fashion, that computes the sum of a kw/sup 2/-bit binary sequence in the time of 3k+[log/sub w/ k]=3 broadcasts. Using this design, the corresponding prefix sums can be computed in the time of 4k+[log/sub w/ k]-5 broadcasts.
机译:我们解决了设计高效且可扩展的硬件算法的问题,该算法使用最多不超过w / s的线性数组作为基本构件来计算aw / sup k /位(k / spl ges / 2),序列的和和前缀和。 sup 2 /档位开关,其中w是2的小功率。此功能的直接结果是,在我们的设计中,广播仅限于最长为w / sup 2 /的总线。我们采用VLSI延迟模型,其中总线的“长度”与总线上的设备数量成比例。我们首先讨论一个硬件算法,该算法在2k-2广播的时间内计算w / sup k /位二进制序列的总和,而相应的前缀总和可以在3k-4广播的时间内计算。十分明显的是,尽管我们的硬件算法仅使用大小最大为w / sup 2 /的线性阵列,但所涉及的广播总数仍少于“理想”设计所需数目的三倍。然后,我们继续提出以流水线方式运行的第二个硬件算法,该算法在3k + [log / sub w / k] = 3广播的时间内计算kw / sup 2 /位二进制序列的总和。使用这种设计,可以在4k + [log / sub w / k] -5个广播的时间内计算出相应的前缀和。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号