Re: [Gems-users] Program Counter in Sequencer


Date: Mon, 10 Oct 2005 14:25:44 -0400
From: Sean Leventhal <sleventh@xxxxxxxxxxxx>
Subject: Re: [Gems-users] Program Counter in Sequencer
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




[← Prev in Thread] Current Thread [Next in Thread→]