hottub.patents
US 12,450,009 B2#3414593 Most CitedActiveUnited States (USPTO)Utility

System and method for predication handling

0Forward Citations (#3414593 Global)
0.0/yrCitation Velocity (#3414593 Global)
0.00Citation PageRank (#3414593 Global)
34Prior Art Cited
20Claims (3 Indep. · 17 Dep.)
7Drawings / Sheets

Abstract

A method for writing data to memory that provides for generation of a predicate to disable a portion of the elements so that only the enabled elements are written to memory. Such a method may be employed to write multi-dimensional data to memory and/or may be used with a streaming address generator.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 34 · Forward citations: 0.

Claims (20 — 3 Independent, 17 Dependent)

  1. Claim 1Independent Claim

    A method for writing data to a memory, the method comprising: for a first iteration of a first loop in a first dimension, receiving a first block of data comprising a plurality of elements; receiving a total byte count for the first loop; receiving a width value associated with the first loop; determining that the total byte count for the first loop exceeds the width value; disabling a first portion of the first block of data in response to determining that the total byte count exceeds the width value; enabling a second portion of the first block of data in response to determining that the total byte count exceeds the width value; and writing only the second portion of the first block of data to the memory.

  2. Claim 2Depends on #1

    The method of claim 1, further comprising advancing the total byte count for the first loop until the width value has been met.

  3. Claim 3Depends on #2

    The method of claim 2, wherein advancing the total byte count comprises incrementing the total byte count.

  4. Claim 4Depends on #1

    The method of claim 1, wherein receiving the total byte count comprises multiplying an iteration count by a width of an iteration of the first loop.

  5. Claim 5Depends on #4

    The method of claim 4, wherein determining that the total byte count exceeds the width value comprises determining that a product of the iteration count and the width of the iteration exceeds the width value.

  6. Claim 6Depends on #1

    The method of claim 1, wherein determining that the total byte count exceeds the width value comprises advancing the total byte count for each iteration.

  7. Claim 7Depends on #6

    The method of claim 6, wherein advancing the total byte count comprises decrementing, for each iteration of the first loop, the total byte count down from the width value until the total byte count reaches or goes below zero.

  8. Claim 8Depends on #1

    The method of claim 1, wherein disabling the first portion of the first block of data comprises disabling all bytes after the total byte count exceeds the width value.

  9. Claim 9Depends on #1

    The method of claim 1, wherein determining that the total byte count exceeds the width value comprises determining that the total byte count saturates the width value, and wherein the method further comprises disabling all bytes in response to determining that the total byte count saturates the width value.

  10. Claim 10Depends on #1

    The method of claim 1, wherein a size of the second portion of the first block of data corresponds to a difference between the width value and a current value of the total byte count.

  11. Claim 11Independent Claim

    A digital signal processor comprising: a CPU configured to, for a first iteration of a first loop in a first dimension, receive a first block of data comprising a plurality of memory elements; and a streaming address generator configured to: receive a total byte count for the first loop; receive a width value associated with the first loop; determine that the total byte count for the first loop exceeds the width value; disable a first portion of the first block of data in response to determining that the total byte count exceeds the width value; and enable a second portion of the first block of data in response to determining that the total byte count exceeds the width value, wherein the CPU is configured to write only the second portion of the first block of data to memory.

  12. Claim 12Depends on #11

    The digital signal processor of claim 11, wherein the streaming address generator is further configured to advance the total byte count for the first loop until the width value has been met.

  13. Claim 13Depends on #12

    The digital signal processor of claim 12, wherein to advance the total byte count, the streaming address generator is configured to increment the total byte count.

  14. Claim 14Depends on #11

    The digital signal processor of claim 11, wherein the streaming address generator is configured to determine the total byte count by at least multiplying an iteration count by a width of an iteration of the first loop.

  15. Claim 15Depends on #14

    The digital signal processor of claim 14, wherein to determine that the total byte count exceeds the width value, the streaming address generator is configured to determine that a product of the iteration count and the width of the iteration exceeds the width value.

  16. Claim 16Depends on #11

    The digital signal processor of claim 11, wherein to determine that the total byte count exceeds the width value, the streaming address generator is configured to advance the total byte count for each iteration.

  17. Claim 17Independent Claim

    A digital signal processor system comprising: a memory; and a digital signal processor for reading from and writing to the memory, the digital signal processor comprising: a CPU configured to, for a first iteration of a first loop in a first dimension, receive a first block of data comprising a plurality of memory elements; and a streaming address generator configured to: receive a total byte count for the first loop; receive a width value associated with the first loop; determine that the total byte count for the first loop exceeds the width value; disable a first portion of the first block of data in response to determining that the total byte count exceeds the width value; and enable a second portion of the first block of data in response to determining that the total byte count exceeds the width value, wherein the CPU is configured to write only the second portion of the first block of data to the memory.

  18. Claim 18Depends on #17

    The digital signal processor system of claim 17, wherein the streaming address generator is further configured to advance the total byte count for the first loop until the width value has been met, and wherein to advance the total byte count, the streaming address generator is configured to increment the total byte count.

  19. Claim 19Depends on #17

    The digital signal processor system of claim 17, wherein the streaming address generator is configured to determine the total byte count by at least multiplying an iteration count by a width of an iteration of the first loop.

  20. Claim 20Depends on #19

    The digital signal processor system of claim 19, wherein to determine that the total byte count exceeds the width value, wherein the streaming address generator is configured to determine that a product of the iteration count and the width of the iteration exceeds the width value.

Technical Overview & Description

This application is a continuation of U.S. patent application Ser. No. 16/422,250, filed May 24, 2019, scheduled to issue as U.S. Pat. No. 11,392,316, on Jul. 19, 2022, which is hereby incorporated by reference herein in its entirety. BACKGROUND Modern digital signal processors (DSP) face multiple challenges. Workloads continue to increase, requiring increasing bandwidth. Systems on a chip (SOC) continue to grow in size and complexity. Memory system latency severely impacts certain classes of algorithms. As transistors get smaller, memories and registers become less reliable. As software stacks get larger, the number of potential interactions and errors becomes larger. Even conductive traces on circuit boards and conductive pathways on semiconductor dies become an increasing challenge. Wide busses are difficult to route. Signal propagation speeds through conductors continue to lag transistor speeds. Routing congestion is a continual challenge. In many DSP algorithms, such as sorting, fast Fourier transform (FFT), video compression and computer vision, data are processed in terms of blocks. Therefore, the ability to generate both read and write access patterns in multi-dimensions is helpful to accelerate these algorithms. SUMMARY An example method for writing data to memory described herein comprises fetching a block of data comprising a plurality of elements and calculating a predicate to disable at least one of the elements to create a disabled portion of the block of data and to enable remainder of the elements to create an enabled portion. The method further comprises writing only the enabled portion of the block of data to memory. An exemplary digital signal processor described herein comprises a CPU and a streaming address generator. The CPU is configured to fetch a block of data comprising a plurality of memory elements. The streaming address generator is configured to calculate a predicate to disable at least one of the elements to create a disabled portion o

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

Non-Patent Literature (10)

  • ‘
  • Computer Architecture Lecture 8: Vector Processing (Chapter 4)
  • ’
  • by Liu, archived on Nov. 23, 2018. (Year: 2018).
  • ‘
  • Appendix G
  • —
  • Vector Processors
  • ’
  • Revised by Krste Asanovic, copyright 2003, Elsevier Science. (Year: 2003).