code: def populate_values(values, name, data, depth):
      def get_values(x):
          return int(x[1][1:], 2)
  
      values.append({"name": name, "data": [], "max": 0, "depth": 0})
      values[-1]["data"] = [get_values(x) for x in data]
      values[-1]["max"] = max(values[-1]["data"])
      values[-1]["depth"] = int(depth[0][1][1:], 2)
      return values
  
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 1 for calling a global function with example usage: populate_values(values, name, data, depth) and returns: values, int