Hello,
I have a problem with script. I have written:

...
> cpus = [CPUClass(cpu_id=i) for i in xrange(np)]
> system = System(cpu = cpus,
>                 physmem =
> PhysicalMemory(range=AddrRange("2GB"),latency='40ns'),
>                 membus = Bus(), mem_mode = test_mem_mode)

system.toL2bus = Bus()
> system.l2 = L2(size = options.l2size, assoc = 8)
> system.physmem.port = system.membus.port
> system.l2.cpu_side = system.toL2bus.port
> system.l2.mem_side = system.membus.port
>
> for i in xrange(np):
>     system.cpu[i].workload = process[i]
>     system.cpu[i].connectMemPorts(system.toL2bus)
> ...
>
>

And im getting error while executing:



> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "/home/marcin/m5/src/python/m5/main.py", line 350, in main
>     exec filecode in scope
>   File "../../configs/example/se_ak2.py", line 198, in <module>
>     system.cpu[i].connectMemPorts(system.toL2bus)
>   File "/home/marcin/m5/src/python/m5/SimObject.py", line 587, in
> __getattr__
>     % (self.__class__.__name__, attr)
> AttributeError: object 'TmpClass' has no attribute 'connectMemPorts'



Do you know what could cause this problem?
Thanks in advance, Marcin
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to