Re: [Gems-users] the problem to add a funciton in MSI_MOSI_CMP_directory-L2cache.sm


Date: Mon, 24 Nov 2008 09:47:44 -0600
From: "Derek Hower" <drh5@xxxxxxxxxxx>
Subject: Re: [Gems-users] the problem to add a funciton in MSI_MOSI_CMP_directory-L2cache.sm
You either need to define that function as an action or declare it as
an external_type (e.g. see external_type(CacheMemory) {...} ) in any
.sm file

-Derek

On Mon, Nov 24, 2008 at 8:47 AM, derek.shepred <derek.shepred@xxxxxxxxx> wrote:
> I want to add a function in the file named l2Cache_wakeUp.c. So I added  a
> function in the  in_port code  in MSI_MOSI_CMP_directory-L2cache.sm . I have
> directly added the funtion after trigger() function. But I got
> compile  error as below:
>
> ../protocols/MSI_MOSI_CMP_directory-L2cache.sm:501: Error: Unrecognized function name: 'addingSSAccessNum'
>
> How to add a function in the slicc file?
>
> 2008-11-24
> ________________________________
> wen min
> _______________________________________________
> 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.
>
>
>
[← Prev in Thread] Current Thread [Next in Thread→]