title: Making a Simple 2-Bit Asynchronous counter in WinCupl
body: <pre><code>/* INPUT PINS */
  
  PIN    1 =  clock; /* clock input*/ 
  
  /**************** OUTPUT PINS *********************/
  
  PIN    14 = Q1 ; /*output*/
  
  PIN    15 = Q2 ; /*output*/
  
  Q1.ck = clock;
  
  Q1.d = !Q1;
  
  Q2.d = !Q2;
  </code></pre>
  
  <p>This is my code and the two lines below the output pins create a 1 bit ripple counter but I'm unsure how to transfer the output of the first flip flop to be the clock input for the second flip flop. The chip I'm trying to program is an Atmel ATF750C chip.</p>