In older (TTL) times such a small RC delay would have been accomplished usi= ng a small RC integrator, f.ex. 50R series and 20pF to ground. To work around glitches and runtime problems I'd try to implement the XOR using the gates = in a single 74HC00 package. Simulation may help here... usually implemented XOR = gates are glitch-prone due to the different propagation times through the negated= and straight paths. In this case, that glitchiness can be put to good use after stretching it a little with a RC delay element, I think. -- Peter --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .