×

System and method for dynamically sizing hardware loops and executing nested loops in a digital signal processor

  • US 6,671,799 B1
  • Filed: 08/31/2000
  • Issued: 12/30/2003
  • Est. Priority Date: 08/31/2000
  • Status: Active Grant
First Claim
Patent Images

1. For use in a digital signal processor comprising an instruction fetch stage, a decode stage, a dispatch stage, and an execute stage, an apparatus for dynamically sizing a hardware loop capable of executing a plurality of instruction sequences forming a plurality of instruction loops comprising:

  • N pairs of loop start registers and loop end registers, each loop start register capable of storing a loop start address and each loop end register capable of storing a loop end address;

    N comparators, each of said N comparators associated with one of said N pairs of loop start registers and loop end registers, wherein each of said N comparators is capable of comparing a selected one of a first loop start address and a first loop end address to a fetch program counter value to detect one of a loop start hit and a loop end hit; and

    fetch address generation circuitry capable of detecting said loop start hit and said loop end hit and fetching from an address in a program memory an instruction associated with one of said loop start hit and said loop end hit and loading said fetched instruction into said hardware loop.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×