Thanks. It's working now.

----- Original Message ----- From: "Steve Reinhardt" <[EMAIL PROTECTED]>
To: "M5 users mailing list" <[email protected]>
Sent: Monday, August 21, 2006 11:28 AM
Subject: Re: [m5-users] running m5 2.0b1


Sorry about that... we had some last-minute changes in the memory system
and we updated the regression test configs but not the example.  Here's
a patch that should fix the problem.  In the long run this CPU mem
parameter will be going away, which is why we didn't have it in the
example, but in the short term it is needed.

Steve

===== fs.py 1.26 vs edited =====
--- 1.26/configs/example/fs.py  2006-08-20 22:28:55 -04:00
+++ edited/fs.py        2006-08-21 12:27:01 -04:00
@@ -62,15 +62,18 @@
    s1 = makeLinuxAlphaSystem(mem_mode, bm[0])
    s1.cpu = cpu
    cpu.connectMemPorts(s1.membus)
+    cpu.mem = s1.physmem
    s2 = makeLinuxAlphaSystem(mem_mode, bm[1])
    s2.cpu = cpu2
    cpu2.connectMemPorts(s2.membus)
+    cpu2.mem = s2.physmem
    root = makeDualRoot(s1, s2, options.etherdump)
elif len(bm) == 1:
    root = Root(clock = '1THz',
                system = makeLinuxAlphaSystem(mem_mode, bm[0]))
    root.system.cpu = cpu
    cpu.connectMemPorts(root.system.membus)
+    cpu.mem = root.system.physmem
else:
    print "Error I don't know how to create more than 2 systems."
    sys.exit(1)


Yu Zhang wrote:
When running m5 2.0b1 in full system mode using:

'build/ALPHA_FS/m5.debug -d /tmp/output configs/example/fs.py',

it said 'error creating object 'system.cpu': parameter 'mem': not found'. What's this problem, how to solve it?


Thanks,
Yu


------------------------------------------------------------------------

_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users


_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to