[gem5-users] Re: Pass Param to BaseCPU from cmd line

2022-04-03 Thread jamesbondtia--- via gem5-users
That worked! Thanks! For anyone who might run into this issue I changed my cmd line to : build/ARM/gem5.opt --outdir=run/test configs/example/se.py --cmd tests/test-progs/hello/bin/arm/linux/hello --mem-size=4GB --cpu-type=DerivO3CPU --cpu-clock 2GHz --sys-clock 2GHz --l1d_size 32kB --l1d_assoc

[gem5-users] Re: Pass Param to BaseCPU from cmd line

2022-04-03 Thread Eliot Moss via gem5-users
On 4/3/2022 4:37 PM, jamesbondtia--- via gem5-users wrote: Hi, I am trying to pass a boolean as one of the params to the BaseCPU class from the Options.py file. I have declared my boolean in the Options.py file as parser.add_argument('--defense', action="store_true", default=False, help="Enable