Skip to Main Content Skip to Search
Product Documentation

Reported Limitations and Tips

Reported Issues

Some long-standing issues affect the Embedded Coder software. When you are using adivdsp objects and methods to work with VisualDSP++ software and supported hardware or simulators, recall the information in this section.

The latest issues in the list appear at the bottom. PIL means "processor-in-the-loop" and is similar to hardware-in-the-loop operations.

Using 64-bit Symbols in a 64-bit Memory Section on SHARC Processors

VisualDSP++ compiler design prevents Embedded Coder from generating code the accesses 64-bit memory locations accurately. To avoid unexpected results, do not allocate 64-bit data or symbols to 64-bit memory locations on SHARC processors.

When 64-bit data is in 64-bit memory, the compiler generates code that accesses the 64-bit locations as two 32-bit values. Thus, the code does not read and write the 64-bit data accurately. It reads or writes every other 32-bit location, returning or writing the wrong values and possibly exceeding the allocated memory.

Refer to pp. 5-33 in the ADSP-2136x SHARC Processor Programming Reference, revision 1.0 for a description of how the compiler treats 64-bit (long word) data values.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS