Re: talking about switch branches...

From: Sri Chandra <srikanth.chandrasekaran_at_.....>
Date: Mon Apr 17 2006 - 20:15:40 PDT
I guess, a variable needs to be used if you want to retain the value 
rather than doing it through the branch contributions, unlike we invent 
some kind of new syntax. However i am not fully convinced at the example 
where the branch needs to retain the value.

Geoffrey.Coram wrote:
> Sri -
> Indeed, I do believe that the user expected the branch to retain
> the last value.
> 
> -Geoffrey
> 
> 
> Sri Chandra wrote:
>> Goeffrey,
>>
>> I just looked at your bugnote in the mantis item 815 with the following
>> example:
>>
>>    @(cross(V(clk)) begin
>>        V(out) <+ V(in);
>>     end
>>
>> and in this case when the clock is not transitioning you dont want an
>> open circuit. Does the user expect the branch 'out' to just retain the
>> last value when the clock is not transitioning? I can see the use of
>> flow of zero in the case of event not firing being useful in initial
>> step. Not sure what usage is expected in the case of other events like
>> cross and timer.
>>
>> cheers,
>> Sri
> 

-- 
Srikanth Chandrasekaran
DTO, Tools Group
Freescale Semiconductors Inc.
Ph: +61-(0)8-8168 3592 Fax: x3201
Received on Mon Apr 17 20:16:20 2006

This archive was generated by hypermail 2.1.8 : Mon Apr 17 2006 - 20:16:27 PDT