def load_memory( s, section_list ):

    section_addr = section_list[0]
    section_data = section_list[1]
    section_len  = len( section_data )

    #print(section_addr)
    #print(section_data)
    #print(section_len)

    assert len(s.mem) > (section_addr + section_len)
    s.mem[ section_addr : section_addr + section_len ] = section_data
dataset/ETHPy150Open cornell-brg/pymtl/pclib/test/TestSimpleMemory.py/TestSimpleMemory.load_memory/original