Re: [Gems-users] triggering events


Date: Mon, 19 Mar 2007 14:24:59 -0500
From: "Lei Yang" <lya755@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Gems-users] triggering events
Using a 0-cycle latency is tricky; it might generate deadlocks if the order of in-ports is not properly arranged. I've also tried 1 cycle latency, but both of them seem to work well.
Lei
----- Original Message ----- From: "Mike Marty" <mikem@xxxxxxxxxxx> To: "Lei Yang" <lya755@xxxxxxxxxxxxxxxxxxxx>; "Gems Users" <gems-users@xxxxxxxxxxx>
Sent: Monday, March 19, 2007 2:21 PM
Subject: Re: [Gems-users] triggering events


This is the typical approach we use (i.e., a triggerQueue).  However I've
never tried using a 0-cycle latency.

--Mike


Hi Dave,

I've had similar problem before. I also wanted to trigger events in actions
but couldn't compile. As far as I understand you can only trigger events
when processing requests in in-ports. I guess you could modify slicc for
that purpose, but what I ended up doing was to create a local in-port and
enqueue requests there whenever I want to trigger events. So in short, in
that transition you are watching, take an action which enqueues a special
request (with a 0 latency) to your special in-port. Then in that in-port you trigger whatever events you want. I hope this helps and I'm also interested
to hear what Mike suggests.

Lei
----- Original Message -----
From: "Dave Z." <zhu_dave@xxxxxxxxx>
To: "gems Users" <gems-users@xxxxxxxxxxx>
Sent: Monday, March 19, 2007 1:49 PM
Subject: [Gems-users] triggering events


> Hello,
>
> Is it possible to trigger an event in an action? I
> have tried it, but got some compile errors (trigger
> not defined). When the L1 or L2 cache is full
> (isTagPresent and cacheAvail return false), I would
> like to trigger some events. But I would like to
> trigger such events when a certain transition takes
> place. Could you please show me some pointers?
>
> Thank you,
>
> Dave
>
>
>
> ____________________________________________________________________________________
> Don't get soaked.  Take a quick peek at the forecast
> with the Yahoo! Search weather shortcut.
> http://tools.search.yahoo.com/shortcuts/#loc_weather
> _______________________________________________
> 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.

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