code: def create_module_add(shape, dtype):
      """Create add module.
  
      Paramters
      ---------
      shape : Tuple
          The shape tuple.
  
      dtype : Str
          The data type.
  
      Returns
      -------
      mod: Module
          The relay module.
      """
      x = relay.var("x", shape=shape, dtype=dtype)
      y = relay.var("y", shape=shape, dtype=dtype)
      z = relay.add(x, y)
      f = relay.Function([x, y], z)
      mod = tvm.IRModule()
      mod["main"] = f
      return mod
  
file_path: tvm/tests/python/contrib/test_verilator/test_verilator_ops.py
imports: import numpy
  import tvm
  import tvm.testing
  from tvm import relay
  import pytest
  from test_verilator.infrastructure import skip_test, compile_hardware, compiler_opts, run_module, offload, clear_stats, stats
label_desc: Use image node_id 1 for calling a global function with example usage: create_module_add(shape, dtype) and returns: mod