Answer inline. Regards, Vipin
On Sun, 26 Jul, 2020, 12:24 1154063264--- via gem5-users, < [email protected]> wrote: > Hello, because L0_I, L0_D, and L1 in MESI_Three_Level are private, and L2 > is shared. In my experiment, L1_I, L1_D, and L2 are private, and L3 is > shared,so I think > (1) Do I only need to replace all L0 in -L0cache.sm to L1, replace all > L1 in L1cache.sm to L2, and replace all L2 in L2cache.sm to L3? like this, > in MESI_Three_Level-L0cache.sm: > machine(MachineType:L0Cache, "MESI Directory L0 Cache") > : Sequencer * sequencer; > CacheMemory * Icache; > CacheMemory * Dcache; > Cycles request_latency := 2; > Cycles response_latency := 2; > bool send_evictions; > I should modify it to this: > machine(MachineType:L1Cache, "MESI Directory L1 Cache") > : Sequencer * sequencer; > CacheMemory * Icache; > CacheMemory * Dcache; > Cycles request_latency := 2; > Cycles response_latency := 2; > bool send_evictions; > Yes. Make sure to modify the related files and buffer names too. (2)In addition to changing the variable name, do I need to change the > functioning of the *.sm files? > Looking forward to your reply. > Depends on use-case. If you are not changing the protocol functioning the unchanged file will work fine. Hope this helps. > _______________________________________________ > gem5-users mailing list -- [email protected] > To unsubscribe send an email to [email protected] > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________ gem5-users mailing list -- [email protected] To unsubscribe send an email to [email protected] %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
