def METHOD_NAME(cls, monitor, compile_fn, user_namespace, verilog_prefix,
          compile_guard, *args):
    bind_str = monitor.verilogFile
    ports = []
    for mon_arg, cls_arg in zip(monitor.interface.ports.values(),
                                cls.interface.ports.values()):
        if str(mon_arg.name) != str(cls_arg.name):
            error_str = f"""