code: def uint_to_binary(i, N):
      # Gets the binary representation of the number
      bits = [int(b) for b in list(f"{i:0b}")]
  
      # Zero padding, so exactly N bits are used
      while len(bits) < N:
          bits.insert(0, 0)
  
      return bits
  
file_path: hls4ml/hls4ml/utils/fixed_point_utils.py
imports: import math
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: uint_to_binary(i, N) and returns: bits