def METHOD_NAME(ports_num):
    char = ""
    for i in range (ports_num):
        char +=  r'	  <port name="M_AXI_HP' + str(2)+'" mode="master" range="0xFFFFFFFF" dataWidth="128" portType="addressable" base="0x0"/>' + "\n"
    return char