
/* =====================================================================
 * Always include this header file when writing digital simulation !!!
 * ===================================================================== */
#include "Sim.h"

void simnet()
{
  Sig(x,1); 		// Define x as a signal
  Sig(y,1); 		// Define y as a signal

  Switch ( "aa", x, 'a', Zero );  // Initial value: Zero
  Probe ( "ac", x );              // Probe x

  Switch ( "ca", y, 'b', One );   // Initial value: One
  Probe ( "cc", y );              // Probe y

}
