code: def _find_project_dir(hls_dir):
      """
      Finds the synthesis folder from the HLS project directory
  
      Args:
          hls_dir (string): HLS project location
  
      Returns:
          project_dir (string): Synthesis folder within HLS project directory
      """
      top_func_name = None
  
      with open(hls_dir + "/build_lib.sh") as f:
          for line in f.readlines():
              if "PROJECT=" in line:
                  top_func_name = line.split(sep="=")[-1].rstrip()
  
      return top_func_name + "-fpga.prj"
  
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 3 for calling a global function with example usage: _find_project_dir(hls_dir) and returns: unknown