Making a Simple 2-Bit Asynchronous counter in WinCupl
- by Kevin M.
/* ****** INPUT PINS **********/
PIN 1 = clock ; /* clock input */
/* ****** OUTPUT PINS **********/
PIN 14 = Q1 ; /* output /
PIN 15 = Q2 ; / output */
Q1.ck = clock;
Q1.d = !Q1;
…