code: def _find_reports(sln_dir, top_func_name, full_report=False):
      csim_file = sln_dir + f"/csim/report/{top_func_name}_csim.log"
      if os.path.isfile(csim_file):
          _show_csim_report(csim_file)
      else:
          print("C simulation report not found.")
  
      syn_file = sln_dir + f"/syn/report/{top_func_name}_csynth.rpt"
      if os.path.isfile(syn_file):
          _show_synth_report(syn_file, full_report)
      else:
          print("Synthesis report not found.")
  
      cosim_file = sln_dir + f"/sim/report/{top_func_name}_cosim.rpt"
      if os.path.isfile(cosim_file):
          _show_cosim_report(cosim_file)
      else:
          print("Co-simulation report not found.")
  
imports: import os
  import re
  import sys
  import xml.etree.ElementTree
label_desc: Use image node_id 4 for calling a global function with example usage: _find_reports(sln_dir, top_func_name, full_report) without return types