Hi Ali,

> -----Original Message-----
> From: Ali Ghandour via gem5-users <gem5-users@gem5.org>
> Sent: 05 October 2021 15:44
> To: gem5-users@gem5.org
> Cc: Ali Ghandour <ghandour....@gmail.com>
> Subject: [gem5-users] Re: Porting a configuration file from gem5 v20 to gem5
> v21
>
> In FS mode, full errror stack below:
>
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "build/ARM/python/m5/main.py", line 455, in main
>   File "./RPIv4.py", line 535, in <module>
>     main()
>   File "./RPIv4.py", line 512, in main
>     root.system = systemCreate(args)
>   File "./RPIv4.py", line 297, in systemCreate
>     system = RPISystemCreate(ArmSystem, args, mode)
>   File "./RPIv4.py", line 182, in RPISystemCreate
>     return RPISystem(args, mode)
>   File "./RPIv4.py", line 127, in __init__
>     self.configMem(args)
>   File "./RPIv4.py", line 158, in configMem
>     self.cpu_cluster.connectDirect(self.membus)
>   File "/home/ali/Desktop/spirals/reproduce-spectre-
> gem5/gem5/./ARMv8A_Cortex_A72.py", line 325, in connectDirect
>     cpu.dtb.walker.port = bus.slave
>   File "build/ARM/python/m5/SimObject.py", line 1416, in __getattr__

>From v21.0 the BaseCPU is interfacing to the MMU rather than the TLBs [1]:
So you should amend your configuration file accordingly. I suggest you to have 
a look at the
ArmMMU.connectWalkerPorts anyway [2]

> AttributeError: object 'ARM_A72_TLB_L1D' has no attribute 'walker'
>   (C++ object is not yet constructed, so wrapped C++ methods are
> unavailable.) _______________________________________________
> gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an
> email to gem5-users-
> le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s


Kind Regards

Giacomo


[1]: https://github.com/gem5/gem5/blob/v21.0.0.0/src/cpu/BaseCPU.py#L154
[2]: https://github.com/gem5/gem5/blob/v21.0.0.0/src/arch/arm/ArmMMU.py#L52
IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to