power
Retrieve and export FPGA power data including summary, block power, rails, thermal, clock power, and reports in text or CSV format.
Instructions
统一的功耗查询/导出工具。
通过 action 参数选择子功能:
summary: 项目总功耗摘要(静态/动态/结温)。每次调用自动保存快照。block_power: 某个 Block 的详细功耗分解(需 block_name)。rails: 各电源轨的电压、电流、功耗。thermal: 热分析结果(结温、环境温度、θ-JA 等)。clock_power: 各时钟域的功耗分布。export_report: 导出功耗报告为文本或 CSV 文件(需 output_path)。
Args: action: 操作类型:summary / block_power / rails / thermal / clock_power / export_report。 block_name: block_power 操作的 Block 名称。 output_path: export_report 操作的输出文件路径。 format: export_report 操作的输出格式,"text" 或 "csv"。 session_id: 目标会话 ID。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| format | No | text | |
| block_name | No | ||
| session_id | No | default | |
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |