Hi,

Disregarding my last mail.....

I am trying to run four CPUs with seperate L1s and a combined L2.

The run.py is as follows
##############################################################
AddToPath('../M5/m5_1.1/m5/python/m5/')
AddToPath('../M5/m5_1.1/m5-test')
AddToPath('../M5/m5_1.1/m5/python/m5/objects')

from m5 import *
from SimpleConfig import *
import Benchmarks

# Instantiate four CPUs
cpu1 = SimpleCPU()
cpu2 = SimpleCPU()
cpu3 = SimpleCPU()
cpu4 = SimpleCPU()

SimpleCPU.max_insts_any_thread = 10

cpu1.workload = Benchmarks.mesa()

cpu2.workload = Benchmarks.art()

cpu3.workload = Benchmarks.equake()

cpu4.workload = Benchmarks.ammp()

root = Root()
root.cpu = cpu1, cpu2, cpu3, cpu4
##################################################################

This ran successfully. My question would be

1) How do I add i, d cache with specific size, assoc, latency etc for each CPU. I have tried to add the line SimpleCPU.icache = BaseCache(size = '32kB') but it gives me the error
Error creating object 'cpu0' of type 'SimpleCPU':
  parameter 'icache': could not resolve object name "root"
Program aborted at cycle 0
Aborted

2) How do I link all of the four L1s to a combined L2

3) How do I fast forward instructions.

4) Is there documentation to know the syntax and coding for run.py and to know the tree of the python objects. How to know what root config to use with what CPU and cache etc?

Thanks in advance

Bushra Ahsan


Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users

Reply via email to