Hi Kristof,
Not sure whether you have solved the problem, but this is caused by the
recently added function invalidateStatName() in src/base/statistics.cc on the
20th April 2011 [changeset 8248]. Basically, the stats name should only contain
alphabetical and numerical characters, as well as "_" to connect them.
In your case, '[' and ']' are used which invalidated the stats name, that's why
it's causing panic in function setName() in statistics.cc. If you remove those
chars or change to something allowed, the DRAMmemory should be okay to use.
Regards,
William
[m5-users] DRAMMemory model
Kristof Du Bois
Wed, 27 Apr 2011 08:24:03 -0700
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
-- IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended recipient,
please notify the sender immediately and do not disclose the contents to any
other person, use it for any purpose, or store or copy the information in any
medium. Thank you.
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users