def generate_memory_region(region_descriptor):
    """ Generates definition of memory region.

    Args:
        region_descriptor (dict): memory region description

    Returns:
        string: repl definition of the memory region
    """

    return """
{}: Memory.MappedMemory @ sysbus {}
    size: {}
""".format(region_descriptor['name'], region_descriptor['address'], region_descriptor['size'])