def create_connections(target, custom_components, template):
    """Create the tcl string to handle connections for a qsys system.

    Parameters
    ----------
    target : Target
        NamedTuple that provides information about the target configuration
    custom_components : list of str
        List of custom tcl components to include in the Platform Designer system
    template : QuartusTemplates
        template object to utilize qsys template

    Returns
    -------
    string
        Connections section of tcl file
    """
    built_string = ""
    for custom_component in custom_components:
        built_string += template.add_custom_component_connections(
            custom_component, target)
    return built_string