Hi Jiachen, I would suggest taking e.g. the communication monitor and changing it to have a QueuedMasterPort instead of the current MasterPort. You can then insert this block between the CPU and L1 or L1 and L2 (or where ever you choose) and tune the forwarding latency for what ever you want :)
It requires a bit of code modification, the introduction of a new module etc, but it is all relatively simple changes if you are used to C++. Andreas ________________________________________ From: [email protected] [[email protected]] On Behalf Of Jiachen Xue [[email protected]] Sent: Sunday, June 10, 2012 7:05 PM To: gem5 users mailing list Subject: Re: [gem5-users] how to stall the execution of loads or stores Hi Tony, Thanks for your speedy reply. Actually, I do not want to delay the execution of all loads/stores. I was thinking about putting such lds/sts I want to stall into the deferred memory instruction queue. Do you know any other ways could possibly achieve that? Thanks, Jiachen Xue On Sun, Jun 10, 2012 at 1:53 PM, Anthony Gutierrez <[email protected]<mailto:[email protected]>> wrote: See the O3 config files. You can set the latency of the load/store ops there. -Tony On Sun, Jun 10, 2012 at 1:49 PM, Jiachen Xue <[email protected]<mailto:[email protected]>> wrote: Hi, In O3 cpu, is there a way to delay the execution of loads/stores by a specific number of cycles? Thanks in advance for any suggestions, -- Sincerely, Jiachen Xue _______________________________________________ gem5-users mailing list [email protected]<mailto:[email protected]> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users _______________________________________________ gem5-users mailing list [email protected]<mailto:[email protected]> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users -- Sincerely, Jiachen Xue <http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users> -- 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 [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
