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.

[参考译文] TMS320C6748:数据显示

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/677274/tms320c6748-data-display

器件型号:TMS320C6748

 您好!

DSP6748使用浮点类型变量从 FPGA 接收数据4和7。 当显示为十六进制时、它是0x00000004和0x00000007。

但当以十进制显示时、它将变为5.605194e-45和9.809089e-45。 这是为什么? 我的接收数据中是否有错误?

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

    您好!
    0x00000004看起来不像浮点4.0。 您可以参考 www.h-schmidt.net/.../IEEE754.html 等工具 来查看浮点数的十六进制表示。
    根据我在 FPGA 中使用浮点的经验、成本有点高、因此通常情况下、数据从 FPGA 中以整数或更好的 Q 格式(即定点小数)输出、并且需要在 DSP 上显式转换为浮点。
    希望这对您有所帮助。