I am new to GALS (and PALS) and just recently successfully flashed my first GAL16V8A using PALASM to compile and an old EEPROM burner. I am using it to trigger a data bus read for a given set of addresses. I hacked the equations by looking at examples which seems to work well. Now I am struggling to implement a flip flop which I think should be a trivial task. The output (Z) is required to toggle every time there is an address match. i.e. every time X has a positive going edge. So far I have this /X =3D /WE * /CS * J*/I*/H*/G*F*/E*/D*C*/B*A + ;Addr 225 [8A25] /WE * /CS * J*/I*/H*/G*F*/E*/D*C*/B*/A +;Addr 224 [8A24] /WE * /CS * J*/I*/H*/G*F*/E*/D*/C*B*A +;Addr 223 [8A23] /WE * /CS * J*/I*/H*/G*F*/E*/D*/C*B*/A +;Addr 222 [8A22] /WE * /CS * J*/I*/H*/G*F*/E*/D*/C*/B*A +;Addr 221 [8A21] /WE * /CS * J*/I*/H*/G*F*/E*/D*/C*/B*/A ;Addr 220 [8A20] y =3D /X; which works well but the following fails to compile. Z =3D /Z; Z.clkf =3D X; Hoping someone may be familiar and set me straight. Justin --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .