Hi,I am Srini. I am kind of a new user to gem5 and for some of my experiments, 
I need to repeatedly switch between two cpu models. I figured configuring 
repeat-switch option is an easy way of doing it but was soon hitting some drain 
related assertions. Turns out that when the drain manager is signaled 
drainDone, decode/rename could be unblocking/blocked and the unblocking status 
is not propagated to fetch(1 cycle delay), and hence fails the drainSanityCheck 
happening in the same cycle. 


So to avoid this , I qualified the isDrained() in each of the stages with the 
corresponding status signals and those assertions are not firing. I also 
emptied the branch history on a drain. Please let me know if what I am doing is 
correct.


Thanks
Srini
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to