Stop Watch

The a/d nodes have a 5GHz counter that can be read to time durations.

I use node 512 to generate green text. So it's convenient for 612 to act as a timer. It can talk via 712, 711 and 710 to 709 and read its counter. Then tell 512 to display it, in big decimal numerals.

Three words go thru the down port to 712

The wire nodes must be bi-directional, sending 2 words and returning one.

In order to isolate the significant duration:


time

Actually measures the delay

cal

Apply calibration to count

tare

Similar to time but timing overhead code. The line marked 'x' is where such code is placed. Leaves offset on stack.

go

An infinite loop This is only done once per frame. Synchronization is managed by hanging on the !b.

Calibration

To measure the counts in a scan line Such editing of source code is much easier than having separate calibration code.

init

Two items of note

Typically, code is edited and loaded. Measurements are observed. Code re-edited, etc. This interactive process is essential to getting a credible measurement.