Date: | Mon, 14 Sep 2009 23:54:26 -0400 |
---|---|
From: | Jianchen Hu <hujc.thu@xxxxxxxxx> |
Subject: | [Gems-users] How does Ruby deal with bypass signals simulation? |
Hi all, I am looking into the g_eventQueue in Ruby and have a question about bypass singals in a pipeline structure. Assume that we have a 2-stage-pipeline. The output of stage 1 depends on a bypass signal from stage 2. In cycle 1, we call the wakeup function of stage 1 and calculate the output value(assuming no bypass signal now), set the valid time to "current time+1"and schedule the stage 2 function in cycle 2. In cycle 2, stage 2 function is called and the bypass signal is generated, but it is needed by stage 1 this cycle. So how does Ruby deal with that condition since different block wakeup() could be triggered out of order in a cycle? Thanks a lot. Regards, Jianchen Hu |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | Re: [Gems-users] TM conflict case doubt, ruzhu |
---|---|
Next by Date: | Re: [Gems-users] Regarding gems module, ruzhu |
Previous by Thread: | Re: [Gems-users] How long does it take to run STAMP applications?, BYONG WU CHONG |
Next by Thread: | [Gems-users] how to add a new MachineType, shanshuchang |
Indexes: | [Date] [Thread] |