US 11,055,095 B2
Nested loop control
Kai Chirca, Dallas, TX (US); Timothy D. Anderson, University Park, TX (US); Todd T. Hahn, Sugar Land, TX (US); and Alan L. Davis, Sugar Land, TX (US)
Assigned to Texas Instruments Incorporated, Dallas, TX (US)
Filed by TEXAS INSTRUMENTS INCORPORATED, Dallas, TX (US)
Filed on May 24, 2019, as Appl. No. 16/422,823.
Prior Publication US 2020/0371800 A1, Nov. 26, 2020
Int. Cl. G06F 9/30 (2018.01)
CPC G06F 9/30065 (2013.01) [G06F 9/3013 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A nested loop controller, comprising:
a first register configured to store an outer loop value;
a second register having configured to store an inner loop value;
a third register configured as a predicate first-in, first-out buffer (FIFO); and
a comparator coupled to the second register and to the third register, wherein the nested loop controller is configured to:
initialize the outer loop value of the first register to an initial first value;
initialize the inner loop value of the second register to an initial second value;
perform one of an increment or a decrement of the inner loop value of the second register in response to a tick instruction during execution of a loop; and
in response to the inner loop value reaching a second threshold, reset the inner loop value of the second register to the initial second value; and
wherein the comparator is configured to:
shift a first value into the third register when the inner loop value is equal to the second threshold; and
shift a second value into the third register when the inner loop value is not equal to the second threshold.