def METHOD_NAME(state, src, dst):
    src_node = state.add_read(src)
    dst_node = state.add_write(dst)
    tasklet = state.add_tasklet('aaa2', {'a'}, {'b'}, 'b = a + 1')
    # input path (src->tasklet[a])
    state.add_memlet_path(src_node, tasklet, dst_conn='a', memlet=dace.Memlet(data=src, subset='0'))
    # output path (tasklet[b]->dst)
    state.add_memlet_path(tasklet, dst_node, src_conn='b', memlet=dace.Memlet(data=dst, subset='0'))