Hi Fulya,
I didn't modify the Perl script. I only modified the template. I think the Perl 
script will straightly follow the format of template to create an output.xml. 
When you modify the template, make sure that you also change the number of 
cores. I think it would generate the xml file.
As for switching cpus, I think it doesn't matter since the Perl script is 
unaware of how you get the stat.txt as long as it could find all the reqired 
fields. I hope I understood your question correctly.
Thanks,Teng

From: [email protected]
Date: Wed, 7 Aug 2013 19:33:34 -0400
To: [email protected]
Subject: Re: [gem5-users] McPAT template XML for multi-core system

Hi Teng,I ran into the same error, I still dont know what the problem is. It 
could be that the mcpat parser we have is for an older version. I was not even 
able to generate the xml file. Could you also post the modified pearl script 
you have for multicore system. I also have question, does it work with switch 
cpus? I am restoring from a checkpoint and switching cpus.

Best,Fulya Kaplan
On Aug 7, 2013, at 7:20 PM, Teng Lu <[email protected]> wrote:




Hi,

I am trying to use the Perl script to take the gem5 output and create the input 
file for McPAT, following the instructions in 
https://www.cl.cam.ac.uk/~acr31/sicsa/ . The template provided in the web page 
is for single core system but I want to simulate a multi-core system. Is there 
a template for multi-core system? Or do I need to change the template myself? 
Or change the Perl script to generate output.xml for multi-core system 
automatically?

I have attached a copy of template modified by myself, in which I duplicate the 
content under "cores". I can generate the output.xml successfully but when I 
input it into McPAT, there seems to be some layout problem and I got the 
following error message:

The value of homogeneous_L1Directories or number_of_L1Directories is not 
correct!
I was wondering if anyone has suggestions about how can I generate the input 
file of a multi-core system for McPAT from the gem5 output? Thanks a lot!

Best,
Teng
                                          
<mcpat-template-multicore.xml><output.xml>_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users                            
          
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to