It should work in the config file as long as you do it after the system is constructed but before you call instantiate.
On Thu, Jul 15, 2010 at 7:43 AM, Zhe Wang <zhw...@cise.ufl.edu> wrote: > Hi Jie > Thanks for replying. > I clean up all the previous build and recompile M5, it works. > > I tried write "system.cpu[i].issueWidth=2" in the se.py file, but this > one doesn't work. It still give me issue_width = 8, any ideas how to do it > in configuration file? > > Thanks > > Zhe > > > > On 7/14/2010 5:17 PM, Jie Meng wrote: >> >> Hi Zhe, >> >> Did you recompile M5 to make the change work? If m5 is recompiled with the >> the change in O3CPU.py, you should see it in the new config.ini file. >> >> You could also change the "fetch_width" or "issue_width" in your se.py or >> fs.py configuration files. For example, "system.cpu[i].issueWidth=2; ... ". >> >> Hope this would help! >> >> Best, >> Jie >> >> >> On Jul 14, 2010, at 3:34 PM, Zhe Wang wrote: >> >> >>> >>> Hi >>> I am trying to use O3 cpu and change the fetch_width and issue_width >>> into a smaller one ( default is 8). I found the default value is set in >>> src/cpu/o3/O3CPU.py. But after I change it in the O3CPU.py file, the output >>> file config.ini still give me "fetch_width=8". Could someone tell how to >>> change it? >>> >>> Thanks >>> >>> Zhe >>> _______________________________________________ >>> m5-users mailing list >>> m5-users@m5sim.org >>> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users >>> >> >> _______________________________________________ >> m5-users mailing list >> m5-users@m5sim.org >> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users >> >> > > _______________________________________________ > m5-users mailing list > m5-users@m5sim.org > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users > _______________________________________________ m5-users mailing list m5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/m5-users