def METHOD_NAME(self, prefix, bus, offset, numThreads, cpu_params, l1_params ):
    #print "createThreads() {} numThreads={} ".format(prefix,numThreads)
    prefix += "thread"
    links = []
    for i in range( numThreads ) :
        name = prefix + str(i) + "_"
        cpu = sst.Component( name + "cpu", "miranda.BaseCPU")
        cpu.addParams( cpu_params )
        l1 = sst.Component( name + "l1cache", "memHierarchy.Cache")
        l1.addParams(l1_params)
        link = sst.Link( name + "cpu_l1_link")
        link.setNoCut();
        link.connect( ( cpu, "cache_link", "100ps" ) , (l1,"high_network_0","1000ps") )
        link = sst.Link( name + "l1_bus_link")
        link.setNoCut();
        portName =  "high_network_" + str(offset+i)
        link.connect( ( l1, "low_network_0", "50ps" ) , ( bus, portName, "1000ps" ) )
        link = sst.Link( name + "src_link" )
        link.setNoCut();
        cpu.addLink( link, "src", "1ps" );
        links.append( link )
    return links