Re: [Gems-users] Program Counter in Sequencer


Date: Mon, 10 Oct 2005 14:22:53 -0500
From: "Min Xu (Hsu)" <xu@xxxxxxxxxxx>
Subject: Re: [Gems-users] Program Counter in Sequencer
SIM_get_program_counter is from the SIMICS API, it should be one of the
simics header files in ../simics/<host>/include

On Mon, 10 Oct 2005 Sean Leventhal wrote :
> 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
> >
> >  
> >
> 
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
[← Prev in Thread] Current Thread [Next in Thread→]