Method and apparatus for executing nested loops in a digital signal processor
AssigneeAtmel Corporation
InventorsKumkum Gupta, Mihran Touriguian, Ingrid Verbauwhede, Harlan W. Neff
Life of this patent
Estimating the term…
Loading patent…
AssigneeAtmel Corporation
InventorsKumkum Gupta, Mihran Touriguian, Ingrid Verbauwhede, Harlan W. Neff
Estimating the term…
A digital signal processing system for executing instructions, including a program memory which stores the instructions and a program control unit for receiving and processing a sequence of the instructions to generate control signals for controlling operation of the system, and a loop circuit for use in such a program control unit. The loop circuit controls execution of a loop (preferably a nested loop) of a sequence of the instructions. Preferably, the loop circuit includes loop registers for storing loop start and end addresses and loop count values, and logic circuitry for implementing loops (including nested loops) in response to the addresses and count values in the loop registers. The loop circuit is initialized by loading appropriate addresses and values into the loop registers. After initialization, the loop circuit executes true zero overhead nested loops of instructions in the sense that the instructions to be looped need not include any initialization instructions, any special instruction to indicate the start of a loop or any dedicated branch instruction at the end of a loop for branching back to the start. Preferably, the loop circuit includes an end address comparator and circuitry for disabling this comparator when the loop circuit is not executing a loop to reduce circuit power consumption. Other aspects of the invention are methods of operating such a digital signal processor, and such a loop circuit.
A digital signal processing system, for executing instructions and thereby processing data, said system including:
A loop circuit for controlling execution of a nested loop by a digital signal processing system, where the digital signal processing system includes a program control means for receiving a sequence of instructions from a program memory and generating control signals for controlling execution of the instructions in said sequence, wherein the nested loop includes an inner loop of a sequence of the instructions and an outer loop of another sequence of the instructions, said loop circuit including:
A loop circuit for controlling execution of a nested loop by a digital signal processing system, where the digital signal processing system includes a program control means, having an associated program count register, said program control means for receiving a sequence of instructions from a program memory and generating control signals for controlling execution of the instructions in said sequence, wherein the nested loop includes an inner loop of a sequence of the instructions and an outer loop of another sequence of the instructions, said loop circuit including:
Dependencies are inferred from the claim text.