[gem5-users] Fully Associative cache.

2024-03-04 Thread Nazmus Sakib via gem5-users
Hello. There is a FALRU() class in src/mem/cache/tags. Now, in the config/common/CacheConfig.py, if I instantiate l1 Data cache, and then do: dcache.tags=FALRU(); Will this work ? Or do I need to, calculate by hand the number of cacheline in my cahce , based on cacheline size and cache size and

[gem5-users] Re: Ruby Message handling

2024-03-04 Thread C.-Y. Wu via gem5-users
Hello Vlad, I don't think you can dynamically cast a Message pointer (MsgPtr) to RubyRequestType. Do you mean a RequestMsg pointer or a RubyRequest pointer? If you used dynamic_cast in NetworkInterface.cc to cast a MsgPtr to a RequestMsg pointer, you should be able to call the getType function. (