英特尔Agilex® 7电源管理用户指南

ID 683373
日期 12/04/2023
Public
文档目录

4.4.4.4. 发送命令到温度读取设计示例

在您开始之前,请将温度读取设计示例的.sof编程到英特尔Agilex 7 FPGA F-Series Development Kit中。
  1. Intel Quartus Prime菜单上选择Tools > System Debugging Tools > System Console
  2. System Console窗口中,点击TCL Console选项卡。
  3. 输入以下命令:source main.tcl
    控制台加载main.tcl脚本。
  4. 在System Console中输入一个受支持的命令,例如:get_temperature_5
    关于main.tcl脚本支持的命令,请参考相关信息。
图 15. 在System Console中运行一个命令程序


System Console显示命令后的结果。结果的第一个单元代表Mailbox Client with Avalon® Streaming Interface IP响应的标头(header)。

标头(header)显示执行的命令程序编号,命令的预期参数编号以及请求出错时的错误代码。在示例中,get_temperature_5是程序编码七(07),它需要一个(01)参数,并且没有错误。

注: System Console在接收到Mailbox Client with Avalon® Streaming Interface IP的一个响应之前不允许运行另一个命令程序。