Modulo Scheduling of Multicycle Loops
Table 6–15. Modulo Iteration Interval Table for Weighted Vector Sum (2-Cycle Loop)
Unit/Cycle
0
.D1
LDW ai_i+1
.D2
.M1
.M2
.L1
.L2
.S1
.S2
1X
2X
Unit/Cycle
1
.D1
.D2
.M1
.M2
.L1
.L2
.S1
.S2
1X
2X
Note:
The asterisks indicate the iteration of the loop; shading indicates changes in scheduling from Table 6–14.
6-72
2
4
*
**
LDW ai_i+1
LDW ai_i+1
*
LDW bi_i+1
LDW bi_i+1
3
5
MPY pi
SUB cntr
MPY pi
6
8
***
****
LDW ai_i+1
LDW ai_i+1
**
***
LDW bi_i+1
LDW bi_i+1
*
MPYHL pi+1
MPYHL pi+1
ADD ci
*
B LOOP
B LOOP
SHR bi+1
ADD ci
*
MPYHL pi+1
MPYHL pi+1
7
9
STH ci
*
**
MPY pi
MPY pi
*
**
SUB cntr
SUB cntr
*
AND bi
AND bi
*
SHR pi_s
SHR pi_s
SHR pi+1_s
*
**
MPY pi
MPY pi
10, 12, 14, ...
*****
LDW ai_i+1
****
LDW bi_i+1
**
MPYHL pi+1
*
ADD ci
ADD ci+1
**
B LOOP
*
SHR bi+1
*
ADD ci
**
MPYHL pi+1
11, 13, 15, ...
*
STH ci
STH ci+1
***
MPY pi
***
SUB cntr
**
AND bi
**
SHR pi_s
*
SHR pi+1_s
***
MPY pi
Need help?
Do you have a question about the TMS320C6000 and is the answer not in the manual?
Questions and answers