We experimentally demonstrate an all-optical binary counter composed of fou
r semiconductor optical amplifier based all-optical switching gates. The ti
me-of-flight optical circuit operates with bit-differential delays between
the exclusive-OR gate used for modulo-2 binary addition and the AND gate us
ed for binary carry detection. A movie of the counter operating in real tim
e is presented. (C) 2000 Optical Society of America.