[gem5-users] Creating custom stat in gem5 and dumping them to stats file.

2022-11-29 Thread VIPIN PATEL via gem5-users
Hi All, I am using gem5 v19. My requirement is to track the number of accesses made by a core to a cache block. I will need to keep a map with the key as the cache block address and the value as the total number of accesses to the block. Is it possible to add new custom stats (based on unordered

[gem5-users] Re: Add custom Register In ARM

2022-11-29 Thread Giacomo Travaglini via gem5-users
Hi, If you are just planning on introducing a single register, you could consider extending the number of IntRegs, or to add this extra register as a MiscReg (but be careful in the latter case, as MiscRegs are not renamed). If you really want to define a new register class, we have recently

[gem5-users] Add custom Register In ARM

2022-11-29 Thread 等价无穷小 via gem5-users
Hi all, Recently, I wanted to add a new custom register in gem5, and the load/store instruction can take the custom register as src/dest register to move data from memory. Is there some suggestions about this? And I have some confusion about the register implementation in gem5. In

[gem5-users] Re: Simulation of ARM TrustZone

2022-11-29 Thread Giacomo Travaglini via gem5-users
Hello, yes, it is supported. You could use the following blog post [1] as a starting point. There was also a talk at the ISCA2022 workshop about booting OP-TEE in gem5; you could probably look for it on youtube IIRC Kind Regards Giacomo [1]: