But there is no SIM_logical_to_physical in SimicsProcessor::makeRequest. If I understand correctly, the order of function calls is ruby_operate (ruby.c), _possible_cache_miss (commands.C), makeRequest (SimicsDriver.C), makeRequest (SimicsProcessor.C). The physical address is always 0 for certain logical addresses.
Thanks,
Dave
----- Original Message ----
From: Dan Gibson <degibson@xxxxxxxx>
To: Gems Users <gems-users@xxxxxxxxxxx>
Sent: Thursday, January 18, 2007 8:16:58 PM
Subject: Re: [Gems-users] physical_address 0
You might want to check that SIM_logical_to_physical isn't raising any
exceptions. Have a look at SIM_last_exception().
Regards,
Dan
Dave Z. wrote:
>Hi,
>
>I have a quick question about mem_trans object in SimicsProcessor::makeRequest. Is it something expected to have mem_trans->s.physical_address=0? I've printed the physical addresses of some logical addresses and they are all 0. Here is what I do:
>
> if (mem_trans->s.logical_address == XXX)
> printf("logical address %x physical address %x\n", mem_trans->s.logical_address, mem_trans->s.physical_address);
>
>Thanks,
>
>Dave
>
>
>
>
>
>____________________________________________________________________________________
>Now that's room service! Choose from over 150,000 hotels
>in 45,000 destinations on Yahoo! Travel to find your fit.
>http://farechase.yahoo.com/promo-generic-14795097
>
>_______________________________________________
>Gems-users mailing list
>Gems-users@xxxxxxxxxxx
>https://lists.cs.wisc.edu/mailman/listinfo/gems-users
>Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.
>
>
>
>
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html
|