SWCU194 March 2023 CC1314R10 , CC1354P10 , CC1354R10 , CC2674P10 , CC2674R10
Table 20-228 lists the memory-mapped registers for the AUX_MAC registers. All register offset addresses not listed in Table 20-228 should be considered as reserved locations and the register contents should not be modified.
Offset | Acronym | Register Name | Section |
---|---|---|---|
0h | OP0S | Signed Operand 0 | Section 20.8.11.1 |
4h | OP0U | Unsigned Operand 0 | Section 20.8.11.2 |
8h | OP1SMUL | Signed Operand 1 and Multiply | Section 20.8.11.3 |
Ch | OP1UMUL | Unsigned Operand 1 and Multiply | Section 20.8.11.4 |
10h | OP1SMAC | Signed Operand 1 and Multiply-Accumulate | Section 20.8.11.5 |
14h | OP1UMAC | Unsigned Operand 1 and Multiply-Accumulate | Section 20.8.11.6 |
18h | OP1SADD16 | Signed Operand 1 and 16-bit Addition | Section 20.8.11.7 |
1Ch | OP1UADD16 | Unsigned Operand 1 and 16-bit Addition | Section 20.8.11.8 |
20h | OP1SADD32 | Signed Operand 1 and 32-bit Addition | Section 20.8.11.9 |
24h | OP1UADD32 | Unsigned Operand 1 and 32-bit Addition | Section 20.8.11.10 |
28h | CLZ | Count Leading Zero | Section 20.8.11.11 |
2Ch | CLS | Count Leading Sign | Section 20.8.11.12 |
30h | ACCSHIFT | Accumulator Shift | Section 20.8.11.13 |
34h | ACCRESET | Accumulator Reset | Section 20.8.11.14 |
38h | ACC15_0 | Accumulator Bits 15:0 | Section 20.8.11.15 |
3Ch | ACC16_1 | Accumulator Bits 16:1 | Section 20.8.11.16 |
40h | ACC17_2 | Accumulator Bits 17:2 | Section 20.8.11.17 |
44h | ACC18_3 | Accumulator Bits 18:3 | Section 20.8.11.18 |
48h | ACC19_4 | Accumulator Bits 19:4 | Section 20.8.11.19 |
4Ch | ACC20_5 | Accumulator Bits 20:5 | Section 20.8.11.20 |
50h | ACC21_6 | Accumulator Bits 21:6 | Section 20.8.11.21 |
54h | ACC22_7 | Accumulator Bits 22:7 | Section 20.8.11.22 |
58h | ACC23_8 | Accumulator Bits 23:8 | Section 20.8.11.23 |
5Ch | ACC24_9 | Accumulator Bits 24:9 | Section 20.8.11.24 |
60h | ACC25_10 | Accumulator Bits 25:10 | Section 20.8.11.25 |
64h | ACC26_11 | Accumulator Bits 26:11 | Section 20.8.11.26 |
68h | ACC27_12 | Accumulator Bits 27:12 | Section 20.8.11.27 |
6Ch | ACC28_13 | Accumulator Bits 28:13 | Section 20.8.11.28 |
70h | ACC29_14 | Accumulator Bits 29:14 | Section 20.8.11.29 |
74h | ACC30_15 | Accumulator Bits 30:15 | Section 20.8.11.30 |
78h | ACC31_16 | Accumulator Bits 31:16 | Section 20.8.11.31 |
7Ch | ACC32_17 | Accumulator Bits 32:17 | Section 20.8.11.32 |
80h | ACC33_18 | Accumulator Bits 33:18 | Section 20.8.11.33 |
84h | ACC34_19 | Accumulator Bits 34:19 | Section 20.8.11.34 |
88h | ACC35_20 | Accumulator Bits 35:20 | Section 20.8.11.35 |
8Ch | ACC36_21 | Accumulator Bits 36:21 | Section 20.8.11.36 |
90h | ACC37_22 | Accumulator Bits 37:22 | Section 20.8.11.37 |
94h | ACC38_23 | Accumulator Bits 38:23 | Section 20.8.11.38 |
98h | ACC39_24 | Accumulator Bits 39:24 | Section 20.8.11.39 |
9Ch | ACC39_32 | Accumulator Bits 39:32 | Section 20.8.11.40 |
Complex bit access types are encoded to fit into small table cells. Table 20-229 shows the codes that are used for access types in this section.
Access Type | Code | Description |
---|---|---|
Read Type | ||
R | R | Read |
Write Type | ||
W | W | Write |
Reset or Default Value | ||
-n | Value after reset or the default value |
OP0S is shown in Table 20-230.
Return to the Summary Table.
Signed Operand 0
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | OP0_VALUE | W | 0h | Signed operand 0. Operand for multiply, multiply-and-accumulate, or 32-bit add operations. |
OP0U is shown in Table 20-231.
Return to the Summary Table.
Unsigned Operand 0
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | OP0_VALUE | W | 0h | Unsigned operand 0. Operand for multiply, multiply-and-accumulate, or 32-bit add operations. |
OP1SMUL is shown in Table 20-232.
Return to the Summary Table.
Signed Operand 1 and Multiply
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | OP1_VALUE | W | 0h | Signed operand 1 and multiplication trigger. Write OP1_VALUE to set signed operand 1 and trigger the following operation: When operand 0 was written to OP0S.OP0_VALUE: ACC = OP1_VALUE * OP0S.OP0_VALUE. When operand 0 was written to OP0U.OP0_VALUE: ACC = OP1_VALUE * OP0U.OP0_VALUE. |
OP1UMUL is shown in Table 20-233.
Return to the Summary Table.
Unsigned Operand 1 and Multiply
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | OP1_VALUE | W | 0h | Unsigned operand 1 and multiplication trigger. Write OP1_VALUE to set unsigned operand 1 and trigger the following operation: When operand 0 was written to OP0S.OP0_VALUE: ACC = OP1_VALUE * OP0S.OP0_VALUE. When operand 0 was written to OP0U.OP0_VALUE: ACC = OP1_VALUE * OP0U.OP0_VALUE. |
OP1SMAC is shown in Table 20-234.
Return to the Summary Table.
Signed Operand 1 and Multiply-Accumulate
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | OP1_VALUE | W | 0h | Signed operand 1 and multiply-accumulation trigger. Write OP1_VALUE to set signed operand 1 and trigger the following operation: When operand 0 was written to OP0S.OP0_VALUE: ACC = ACC + ( OP1_VALUE * OP0S.OP0_VALUE ). When operand 0 was written to OP0U.OP0_VALUE: ACC = ACC + ( OP1_VALUE * OP0U.OP0_VALUE ). |
OP1UMAC is shown in Table 20-235.
Return to the Summary Table.
Unsigned Operand 1 and Multiply-Accumulate
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | OP1_VALUE | W | 0h | Unsigned operand 1 and multiply-accumulation trigger. Write OP1_VALUE to set unsigned operand 1 and trigger the following operation: When operand 0 was written to OP0S.OP0_VALUE: ACC = ACC + ( OP1_VALUE * OP0S.OP0_VALUE ). When operand 0 was written to OP0U.OP0_VALUE: ACC = ACC + ( OP1_VALUE * OP0U.OP0_VALUE ). |
OP1SADD16 is shown in Table 20-236.
Return to the Summary Table.
Signed Operand 1 and 16-bit Addition
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | OP1_VALUE | W | 0h | Signed operand 1 and 16-bit addition trigger. Write OP1_VALUE to set signed operand 1 and trigger the following operation: ACC = ACC + OP1_VALUE. |
OP1UADD16 is shown in Table 20-237.
Return to the Summary Table.
Unsigned Operand 1 and 16-bit Addition
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | OP1_VALUE | W | 0h | Unsigned operand 1 and 16-bit addition trigger. Write OP1_VALUE to set unsigned operand 1 and trigger the following operation: ACC = ACC + OP1_VALUE. |
OP1SADD32 is shown in Table 20-238.
Return to the Summary Table.
Signed Operand 1 and 32-bit Addition
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | OP1_VALUE | W | 0h | Upper half of signed 32-bit operand and addition trigger. Write OP1_VALUE to set upper half of signed 32-bit operand and trigger the following operation: When lower half of 32-bit operand was written to OP0S.OP0_VALUE: ACC = ACC + (( OP1_VALUE << 16) | OP0S.OP0_VALUE ). When lower half of 32-bit operand was written to OP0U.OP0_VALUE: ACC = ACC + (( OP1_VALUE << 16) | OP0U.OP0_VALUE ). |
OP1UADD32 is shown in Table 20-239.
Return to the Summary Table.
Unsigned Operand 1 and 32-bit Addition
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | OP1_VALUE | W | 0h | Upper half of unsigned 32-bit operand and addition trigger. Write OP1_VALUE to set upper half of unsigned 32-bit operand and trigger the following operation: When lower half of 32-bit operand was written to OP0S.OP0_VALUE: ACC = ACC + (( OP1_VALUE << 16) | OP0S.OP0_VALUE ). When lower half of 32-bit operand was written to OP0U.OP0_VALUE: ACC = ACC + (( OP1_VALUE << 16) | OP0U.OP0_VALUE ). |
CLZ is shown in Table 20-240.
Return to the Summary Table.
Count Leading Zero
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-6 | RESERVED | R | 0h | Reserved |
5-0 | VALUE | R | 28h | Number of leading zero bits in the accumulator: 0x00: 0 leading zeros. 0x01: 1 leading zero. ... 0x28: 40 leading zeros (accumulator value is 0). |
CLS is shown in Table 20-241.
Return to the Summary Table.
Count Leading Sign
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-6 | RESERVED | R | 0h | Reserved |
5-0 | VALUE | R | 28h | Number of leading sign bits in the accumulator. When MSB of accumulator is 0, VALUE is number of leading zeros, MSB included. When MSB of accumulator is 1, VALUE is number of leading ones, MSB included. VALUE range is 1 thru 40. |
ACCSHIFT is shown in Table 20-242.
Return to the Summary Table.
Accumulator Shift
Only one shift operation can be triggered per register write.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-3 | RESERVED | R | 0h | Reserved |
2 | LSL1 | W | 0h | Logic shift left by 1 bit. Write 1 to shift the accumulator one bit to the left, 0 inserted at bit 0. |
1 | LSR1 | W | 0h | Logic shift right by 1 bit. Write 1 to shift the accumulator one bit to the right, 0 inserted at bit 39. |
0 | ASR1 | W | 0h | Arithmetic shift right by 1 bit. Write 1 to shift the accumulator one bit to the right, previous sign bit inserted at bit 39. |
ACCRESET is shown in Table 20-243.
Return to the Summary Table.
Accumulator Reset
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | TRG | W | 0h | Write any value to this register to trigger a reset of all bits in the accumulator. |
ACC15_0 is shown in Table 20-244.
Return to the Summary Table.
Accumulator Bits 15:0
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R/W | 0h | Value of the accumulator, bits 15:0. Write VALUE to initialize bits 15:0 of accumulator. |
ACC16_1 is shown in Table 20-245.
Return to the Summary Table.
Accumulator Bits 16:1
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 16:1. |
ACC17_2 is shown in Table 20-246.
Return to the Summary Table.
Accumulator Bits 17:2
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 17:2. |
ACC18_3 is shown in Table 20-247.
Return to the Summary Table.
Accumulator Bits 18:3
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 18:3. |
ACC19_4 is shown in Table 20-248.
Return to the Summary Table.
Accumulator Bits 19:4
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 19:4. |
ACC20_5 is shown in Table 20-249.
Return to the Summary Table.
Accumulator Bits 20:5
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 20:5. |
ACC21_6 is shown in Table 20-250.
Return to the Summary Table.
Accumulator Bits 21:6
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 21:6. |
ACC22_7 is shown in Table 20-251.
Return to the Summary Table.
Accumulator Bits 22:7
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 22:7. |
ACC23_8 is shown in Table 20-252.
Return to the Summary Table.
Accumulator Bits 23:8
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 23:8. |
ACC24_9 is shown in Table 20-253.
Return to the Summary Table.
Accumulator Bits 24:9
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 24:9. |
ACC25_10 is shown in Table 20-254.
Return to the Summary Table.
Accumulator Bits 25:10
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 25:10. |
ACC26_11 is shown in Table 20-255.
Return to the Summary Table.
Accumulator Bits 26:11
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 26:11. |
ACC27_12 is shown in Table 20-256.
Return to the Summary Table.
Accumulator Bits 27:12
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 27:12. |
ACC28_13 is shown in Table 20-257.
Return to the Summary Table.
Accumulator Bits 28:13
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 28:13. |
ACC29_14 is shown in Table 20-258.
Return to the Summary Table.
Accumulator Bits 29:14
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 29:14. |
ACC30_15 is shown in Table 20-259.
Return to the Summary Table.
Accumulator Bits 30:15
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 30:15. |
ACC31_16 is shown in Table 20-260.
Return to the Summary Table.
Accumulator Bits 31:16
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R/W | 0h | Value of the accumulator, bits 31:16. Write VALUE to initialize bits 31:16 of accumulator. |
ACC32_17 is shown in Table 20-261.
Return to the Summary Table.
Accumulator Bits 32:17
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 32:17. |
ACC33_18 is shown in Table 20-262.
Return to the Summary Table.
Accumulator Bits 33:18
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 33:18. |
ACC34_19 is shown in Table 20-263.
Return to the Summary Table.
Accumulator Bits 34:19
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 34:19. |
ACC35_20 is shown in Table 20-264.
Return to the Summary Table.
Accumulator Bits 35:20
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 35:20. |
ACC36_21 is shown in Table 20-265.
Return to the Summary Table.
Accumulator Bits 36:21
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 36:21. |
ACC37_22 is shown in Table 20-266.
Return to the Summary Table.
Accumulator Bits 37:22
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 37:22. |
ACC38_23 is shown in Table 20-267.
Return to the Summary Table.
Accumulator Bits 38:23
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 38:23. |
ACC39_24 is shown in Table 20-268.
Return to the Summary Table.
Accumulator Bits 39:24
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | VALUE | R | 0h | Value of the accumulator, bits 39:24. |
ACC39_32 is shown in Table 20-269.
Return to the Summary Table.
Accumulator Bits 39:32
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-8 | RESERVED | R | 0h | Reserved |
7-0 | VALUE | R/W | 0h | Value of the accumulator, bits 39:32. Write VALUE to initialize bits 39:32 of accumulator. |