SPRZ544C March   2023  – October 2025 AM62A1-Q1 , AM62A3 , AM62A3-Q1 , AM62A7 , AM62A7-Q1

 

  1.   1
  2. 1Usage Notes and Advisories Matrices
    1. 1.1 Devices Supported
  3. 2Silicon Usage Notes and Advisories
    1. 2.1 Silicon Usage Notes
      1.      i2351
      2.      i2330
      3.      i2372
      4.      i2424
    2. 2.2 Silicon Advisories
      1.      i2049
      2.      i2062
      3.      i2087
      4.      i2097
      5.      i2134
      6.      i2189
      7.      i2196
      8.      i2199
      9.      i2208
      10.      i2249
      11.      i2278
      12.      i2279
      13.      i2310
      14.      i2311
      15.      i2312
      16.      i2366
      17.      i2371
      18.      i2120
      19.      i2137
      20.      i2190
      21.      i2253
      22.      i2373
      23.      i2383
      24.      i2401
      25.      i2407
      26.      i2409
      27.      i2410
      28.      i2376
      29.      i2399
      30.      i2413
      31.      i2414
      32.      i2419
      33.      i2420
      34.      i2421
      35.      i2422
      36.      i2423
      37.      i2431
      38.      i2435
      39.      i2160
      40.      i2436
      41.      i2482
      42.      i2464
      43.      i2487
      44.      i2493
  4.   Trademarks
  5.   Revision History

i2087


C71x: MMA HWA_STATUS Reports Errors Before Application Starts

Details:

Due to uninitialized internal state, the Matrix Math Accelerator (MMA) attached to the C71x may report errors in the FirstErrorCode and LastErrorCode fields of the HWA_STATUS register after power-on. Because these fields are sticky, any subsequent HWARCV instruction may throw a C71x exception.

Workaround(s):

After power-on, a short instruction sequence running on the C71x can initialize the internal MMA state before the first execution of normal MMA operation. Only one execution of the sequence is required.

The sequence generates a valid HWA_CONFIG and HWA_OFFSET value, loads it into the MMA, then clears the sticky error codes.

The sequence, in C71x assembly code is:

PROT 
    MVK32 .M2 0x0,B0 ; clear low word of VB0 
    VDUPW .C2 B0,VB0 ; duplicate word across VB0 
    HWAOPEN .L2 VB0,VB0,0 ; clear HWA_CONFIG and HWA_OFFSET 
    HWACLOSE .S1 0 ; clear any error conditions