I am running it in SIMICS.  I found SIMICS_get_program_counter, though 
not SIM_get_program_counter. 
 
Min Xu (Hsu) wrote:  
Sean,  
Are you running it in Simics or the tester? In Simics, the program counter
should be set when the request object is made. The related function is
SIMICS_get_program_counter().  
-Min  
On Mon, 10 Oct 2005 Sean Ryan Leventhal wrote : 
  
 
I have modified the makeRequest function in sequencer.C to output the 
program counter of each request.  It looks like so: 
    fprintf(trace, "%d\n",request.getProgramCounter().getAddress()); 
 
However, running this under just ruby indicates that every program counter 
is equal to zero.  Why is this? 
 
_______________________________________________ 
Gems-users mailing list 
Gems-users@xxxxxxxxxxx 
https://lists.cs.wisc.edu/mailman/listinfo/gems-users 
    
 
 _______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users  
  
 
  
 |