code: def generate_max_depth_file(model, maxs):
      with open(
          model.config.get_output_dir() + "/max_depth.json", "w"
      ) as f:
          json.dump(maxs, f, indent=4)
  
file_path: hls4ml/hls4ml/backends/vivado/passes/fifo_depth_optimization.py
imports: import json
  from pyDigitalWaveTools.vcd.parser import VcdParser
  from hls4ml.model.optimizer.optimizer import ConfigurableOptimizerPass, ModelOptimizerPass
label_desc: Use image node_id 4 for calling a global function with example usage: generate_max_depth_file(model, maxs) without return types