Re: TIP #233: Virtualization of Tcl's Sense of Time

From: Andreas Kupries (akupries_at_shaw.ca)
Date: 12/10/04


{Path: bluepeak.shaw.ca!not-for-mail
Date: Fri, 10 Dec 2004 01:05:29 GMT


"KRF" <kfitch@notes.westinghouse.com> writes:

> Will the implementation handle "negative time steps"?

> In other words, if the supplied procedure returns a time which is
> earlier than the previous time it returned, what will happen with
> all the timer based stuff (e.g. pending after commands)?

Kevin Kenny talked about that in a post to tcl-core, I believe. It was
in the context of the OS clock going backwards, but the principle is
the same, as these hooks allow us to supply our own 'OS clock' to Tcl.

IIRC the trigger times for pending after commands are stored as
absolute values, i.e. the absolute time to trigger at. And the core
will wait until the OS supplies it with that time, or one later than
it, before it triggers the after.

So if the clock runs backward the time until the after triggers is
extended.

-- 
So long,
	Andreas Kupries <akupries@shaw.ca>
			<http://www.purl.org/NET/akupries/>
	Developer @	<http://www.activestate.com/>
-------------------------------------------------------------------------------
}


Relevant Pages

  • Re: Scope Trigger for digital scope
    ... > signals above 40MHz so I will need some form of trigger. ... > the integrator each clock cycle. ... any suggestions for the trigger comparator? ... delay versus ADC output has to include a 2nsec step when the trigger ...
    (sci.electronics.design)
  • FPGA and metastability once again
    ... second domain clock frequency is 166MHz. ... some triggers in out design are metastable. ... to get some intermediate voltage level at the output of trigger in FPGA ...
    (comp.arch.fpga)
  • Re: Scope Trigger for digital scope
    ... > Tek has some info on equivalent time sampling here: ... Equivalent time sampling can be extraordinarily difficult and here are ... Your trigger system bandwidth has to be as high as the equivalent time ... At the next positive clock, start discharging the first ramp at a slower ...
    (sci.electronics.design)
  • Re: question on flip flops
    ... edges of clock (instead of the regular ones that are triggered only on ... a single edge of the clock)? ... and the rise time is independent of cruft on the trigger (input) ... A modern flip-flop is usually a fancy master-slave type or even clocked ...
    (sci.electronics.design)
  • Re: execute w/triggers returning 0 rows
    ... Apparently the return valuefrom executing SQL in SQL Server is/are 'side effects' of certain SQL commands. ... Activating a trigger during execution of a command, where body the trigger that contains any of these commands, results in more side-effects. ... testing the triggers using their ad hoc query tool that inserting a row ...
    (perl.dbi.users)