Thanks for your explain. Yes, for the .rcS file, we don't need to rebuild
gem5.


2013/5/1 Newton Singh <[email protected]>

> Hi Xiangyang,
>
> YES, i think after modifying a *.py file, there is need to rebuild gem.XXX.
> I am not very sure about the same for *.rcS file.
> But i think *.rcS files are scripts for execution, so there is no need to
> build gem.XXX after modifying *.rcS file.
>
> You can yourself do this experiment.
> Change fetchWidth parameter @
> gem5/src/cpu/o3/O3CPU.py 47: fetchWidth = Param.Unsigned(8, "Fetch width")
>
> fetchWidth = Param.Unsigned(*4*, "Fetch width")
>
> run
>
> ./build/ALPHA/gem5.XXX ./configs/example/se.py -n 1 --cpu-type="detailed"
> --caches --l1d_size='8kB' --l1i_size='8kB' -c
> "tests/test-progs/hello/bin/alpha/linux/hello"
>
> then check config.in file in m5out folder, you will find that fetchWidth
> will be still be 8
>
> Then rebuild gem5.XXX and again run the command and check the fectWidth in
> config.in, it should be 4 now :)
>
>
> --
> Thanks
> Newton
> MTech, IIT Bombay
>
> _______________________________________________
> 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