Hi Mahmood Thank you for answering. for example I want to add parameter to src/mem/ruby/network/garnet/flexible-pipeline/NetworkInterface.hh. GarnetNetworkInterface class is in GarnetNetwork.py file. I added new parameter in .py file and recompile but it said: error: 'const Params' has no member named 'num_vcs' I didn't add this parameter to build/x86/params/GarnetNetworkInterface.hh for previous run. then I added parameter to build/x86/params/GarnetNetworkInterface.hh and recompiled again and it had no compile error. then I give input in configs/ruby/Ruby.py but when I simulate my 8*8 network it has this error:
system.ruby.network.netifs000.num_vcs without default or user set value On Tue, Jul 11, 2017 at 7:37 PM, Mahmood Naderan <mahmood...@gmail.com> wrote: > Hi, > You have to edit the .py file in the src/ and then recompile. For example, > have a look at src/mem/cache/BaseCache.py and add your *cache* related > params there and the recompile. The same can be applied to other components. > > Regards, > Mahmood > > > > On Tue, Jul 11, 2017 at 7:31 PM, raziye deylamsalehi < > raziye.deylamsal...@gmail.com> wrote: > >> Hi >> >> I want to add parameter in const params of class. I go to this >> path build/x86/params and insert parameter there. that is correct? >> >> Thanks >> >> _______________________________________________ >> gem5-users mailing list >> gem5-users@gem5.org >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> > > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users