Intel® High Level Synthesis Compiler Pro Edition: 用户指南

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

A.5. 访问JSON格式的HLD FPGA报告

The high level design report data for the Intel® HLS Compiler Pro Edition is also available as JSON-formatted data.

JSON文件包含 数据,可在 <result>.prj/reports/lib/json目录中找到该数据。该目录提供的 .json文件,如下:

表 8.   <result>.prj/reports/lib/json Directory中的JSON文件
文件 描述
area.json 系统的面积分析
area_src.json Area Analysis of Source (deprecated)
block.json 系统视图的块视图
bottleneck.json Loop Analysis Report(循环分析报告)的瓶颈视图and Schedule Viewer
info.json 工程名称,编译命令,版本和时间戳汇总
loops.json Loop Analysis报告的导航树
loops_attr.json Loop Analysis report(循环分析报告)
mav.json Function View of System Viewer
new_lmv.json Memory Viewer(内核存储器查看器)
pipeline.json System Viewer的集群视图
quartus.json Quartus Prime编译摘要
summary.json Component编译名称映射
system.json System View of System Viewer
tree.json System Viewer的Navigation tree(导航树)
warnings.json 编译告警消息
重要: 这些JSON文件的结构可能因为版本的不断发布而改变,恕不另行通知。

您可以在没有特殊语法分析器(parser)的情况下读取.json文件:

  • area.json
  • area_src.json
  • loops.json
  • quartus.json
  • summary.json

例如,如果要找出一个循环的启动间隔(II)的所有值和瓶颈,您可以在loops.json文件的children小节中找到相关信息,如下所示:

“name”:”<block name|Component: component name>  # Find the loops which does not begin with “Component:”
      
      “data”:[<Yes|No>, <#|n/a>, <II|n/a>]      # The data field corresponds to “Pipelined”, “II”, “Bottleneck”