In order to use a function from CacheMemory in the .sm files, you need
to declare it inside the external_type(CacheMemory). In line 142, add
something like:
AccessPermission getPermission(Address);
You say you have already defined it, but you don't say how you did it.
Maybe it's not inside the external_type?? How have you done it?
Regards,
Javier Merino
El lun, 01-12-2008 a las 03:27 -0500, Ashwath Narasimhan escribió:
> Hi,
> I am trying to use getPermission(Address addr) in one of the MOSI
> protocol files MOSI_SMP_bcast-cache.sm. Basically I want to find out
> if the L2cache memory has Invalid access permission at the address.
> How ever when I define and use this function in the .sm file, I keep
> getting error,
>
> " Error: Invalid object field: Type 'CacheMemory' does not have data
> member getPermission"
>
> why am i getting this inspite of define and declaring it?
>
> how do i solve this error?
>
> regards,
> Ashwath
> _______________________________________________
> 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.
>
Attachment:
signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
|