Geoffrey, Of course you are right, and that is unfortunate. However, as tolerances must be positive, it would be possible to indicate that a non-positive tolerance is ignored. In that way @(timer(0, 1n, 0, 0)) could represent a disabled timer function with default tolerances. -Ken Geoffrey.Coram wrote: > Ken - > My first reaction is that, at least for timer(), you would then > be required to specify the time tolerance: > > timer( start_time [, period [, time_tol [, enable]]] ); > > which might or might not be desirable. > > -Geoffrey > > > Ken Kundert wrote: >> Gentlemen, >> I have run across another situation where it would have been helpful >> to be able to disable an event function. Earlier I suggested that >> setting the direction argument of the cross function to something other >> than -1, 0, or +1 should disable it. This is important because events in >> an analog simulator are expensive. I have now found that it would be >> useful to be able to disable the timer function. And by extension, it >> seems like a good idea to be able to disable the above function as well. >> >> I would like to suggest that we add boolean argument to each of the 3 >> analog event functions (cross, above, & timer) that can be used to >> disable them. >> >> Comments? >> >> -Ken >> > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
This archive was generated by hypermail 2.1.8 : Tue Sep 04 2007 - 19:36:23 PDT