It's not as simple as you only change the se.py You should look this: http://article.gmane.org/gmane.comp.emulators.m5.users/4009
2011/4/27 Kristof Du Bois <[email protected]> > Hi, > > I've just checked out a new version of M5 from the repository. For my > simulations I need to use the DRAMMemory model so I've changed the file > se.py in the directory configs/example from: > system = System(cpu = [CPUClass(cpu_id=i) for i in xrange(np)], > physmem = *PhysicalMemory*(range=AddrRange("512MB")), > membus = Bus(), mem_mode = test_mem_mode) > to: > system = System(cpu = [CPUClass(cpu_id=i) for i in xrange(np)], > physmem = *DRAMMemory*(range=AddrRange("512MB")), > membus = Bus(), mem_mode = test_mem_mode) > > However when I try to run a simulation (for example a simple hello world > program) I get the following error: > ... > panic: invalid stat name 'system.physmem[cpu][bank]' > @ cycle 0 > [setName:build/ALPHA_SE/base/statistics.cc, line 176] > ... > Program aborted at cycle 0 > Aborted > > Does anyone know how I can fix this? > > Kristof Du Bois > > > _______________________________________________ > m5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users > -- Yours,Dongmeng
_______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
