
/* =====================================================================
 * 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
  Sig(z,1); 		// Define z as a signal

  Switch ( "aa", x, 'a', Zero );  // Signal 1
  Switch ( "ba", y, 'b', One );   // Signal 2
  Switch ( "ca", z, 'c', One );   // Signal 3

  ProbeH( "ac", (x,y,z) );        // Probe using signal group as input
}
