This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AMIC110:存储器对齐要求

Guru**** 2482105 points
Other Parts Discussed in Thread: AMIC110

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1452848/amic110-memory-alignment-requirements

器件型号:AMIC110

工具与软件:

大家好、我将使用 Beckhoff 的 EtherCAT 从站堆栈代码工具为 AMIC110处理器生成从站堆栈代码。

SSC 工具生成包含16位索引元素的打包结构、然后 在16位整数之后生成32位数据元素(整数或浮点)。  AMIC110硬件是否存在存储器对齐限制?  如果无关紧要、在32位边界上对齐浮点数是否更快?  

以下是 SSC 工具输出的一个示例、在本例中为32位整数、但浮点数具有相同的效果:


typedef 结构 obj_struct_packed_start{
uint16 u16SubIndex0;/**<\short Subindex 0 */
uint32 aEntries[11];/**<短子索引1 - 11 */
} obj_struct_packed_end
TOBJ800E;
#endif //#ifndef _ahu_objects_H_

感谢您提供有关 AMIC110硬件数据对齐要求的任何信息。

John