code: def _read_verification_file(filename):
      """
      Reads verification data (latency, initiation interval) obtained through simulation
  
      Args:
          filename (string):  Location of verification file
  
      Returns:
          results (dict): Verification data obtained from simulation
      """
      results = {}
      if os.path.isfile(filename):
          with open(filename) as dataFile:
              verification_data = dataFile.read()
              verification_data = read_js_object(verification_data)
  
          try:
              results["Number of Invoations"] = verification_data[
                  "verifJSON"
              ]["functions"][0]["data"][0]
  
              latency = verification_data["verifJSON"]["functions"][0][
                  "data"
              ][1].split(",")
              results["Latency (MIN)"] = latency[0]
              results["Latency (MAX)"] = latency[1]
              results["Latency (AVG)"] = latency[2]
  
              ii = verification_data["verifJSON"]["functions"][0][
                  "data"
              ][2].split(",")
              results["ii (MIN)"] = ii[0]
              results["ii (MAX)"] = ii[1]
              results["ii (AVG)"] = ii[2]
          except Exception:
              print(
                  "Verification data not found. Run ./[projectname]-fpga to generate."
              )
      else:
          print(
              "Verification file not found. Run ./[projectname]-fpga to generate."
          )
      return results
  
file_path: hls4ml/hls4ml/report/quartus_report.py
imports: import os
  import webbrowser
  from ast import literal_eval
  from calmjs.parse import asttypes, es5
  from tabulate import tabulate
label_desc: Use image node_id 7 for calling a global function with example usage: _read_verification_file(filename) and returns: results