Sri - The mantis says that the user was trying to do a "sample and hold" meaning that the output voltage should sample the input voltage on the clock and hold that voltage until the next clock. Probably the example should have used a "+1" in the cross function to only get positive transitions (though one could have an S&H that samples on both positive and negative). > >> @(cross(V(clk),+1) begin > >> V(out) <+ V(in); > >> end -Geoffrey Sri Chandra wrote: > > 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. >Received on Mon Apr 24 05:20:19 2006
This archive was generated by hypermail 2.1.8 : Mon Apr 24 2006 - 05:20:24 PDT