void simnet() { Signal w, x, y, z, Present, a, b, c, d, e, f, g; Signal Strobe(1); Signal ResetA(1); Signal ResetB(1); Pulser ((SD("1a"), "r -- Reset counter"), ResetA, 'r',10000); Pulser ((SD("2a"), "s -- Strobe counter"), Strobe, 's', 10000); Not(SD("1b"), ResetA, ResetB); Counter((SD("1c-2c"), "4-bit counter"), (ResetB, Strobe), (w,x,y,z)); circuits( SD("1d-4d"), w, x, y, z, Present, a, b, c, d, e, f, g); Probe(( SD("1g"),"Present"), Present ); Probe( (SD("2f-2h"),"a"), a ); Probe( (SD("3f-4f"),"f"), f ); Probe( (SD("3h-4h"),"b"), b ); Probe( (SD("5f-5h"),"g"), g ); Probe( (SD("6f-7f"),"e"), e); Probe( (SD("6h-7h"),"c"), c); Probe( (SD("8f-8h"),"d"), d); }
void simnet() { Signal w, x, y, z, Present, a, b, c, d, e, f, g; Signal Strobe (1); Signal ResetA (1); Signal ResetB (1); Signal Output (4); Pulser ((SD("1a"), "r -- Reset counter"), ResetA, 'r', 10000); Pulser ((SD("2a"), "s -- Strobe counter"), Strobe, 's', 10000); Not (SD("1b"), ResetA, ResetB); Counter ((SD("1c-2c"), "4-bit counter"), (ResetB, Strobe),(w,x,y,z)); circuits( SD("1d-4d"), w, x, y, z, Present, a, b, c, d, e, f, g); Probe((SD("0d"), "Present"), Present); Probe((SD("1f"), "a"), a); Probe((SD("2g"), "b"), b); Probe((SD("4g"), "c"), c); Probe((SD("5f"), "d"), d); Probe((SD("4e"), "e"), e); Probe((SD("2e"), "f"), f); Probe((SD("3f"), "g"), g); }
void simnet() { Signal Init, Clock, w, x, y, z; // Insert your Pulsers here Pulser ((SD("2a"), "i -- Initialization"), Init, 'i', 10000); Pulser ((SD("3a"), "c -- Clock"), Clock, 'c', 10000); circuits( SD("1b-4b"), Init, Clock, w, x, y, z ); // Insert your Probes here Probe ((SD("1c"), "w"), w); Probe ((SD("2c"), "x"), x); Probe ((SD("3c"), "y"), y); Probe ((SD("4c"), "z"), z); }
void simnet() { Signal Init, Clock, w, x, y, z; // Insert your Pulsers here // A pulser is used to generate a temporary value of "One" on a specified // signal line (signal value: Zero ==> One ==> Zero) Pulser ((SD("ba"), "v -- Init"), ResetA, 'v', 10001); Pulser ((SD("ca"), "c -- Clock"), clock_Strobe, 'c', 10000); circuits( SD("1b-4b"), Init, Clock, w, x, y, z ); // Insert your Probes here Probe ((SD("bh"), "w"), w_probe); Probe ((SD("ch"), "x"), x_probe); Probe ((SD("dh"), "y"), y_probe); Probe ((SD("eh"), "z"), z_probe); }
void simnet() { Signal Init, Clock, w, x, y, z; Pulser ((SD("1a"), "Init"), Init, 'i', 1000); Pulser ((SD("4a"), "Clock"), Clock, 'c', 1000); // Insert your Pulsers here circuits( SD("1b-4b"), Init, Clock, w, x, y, z); Probe ( (SD("1e-1f"), "w"), w); Probe ( (SD("2e-2f"), "x"), x); Probe ( (SD("3e-3f"), "y"), y); Probe ( (SD("4e-4f"), "z"), z); // Insert your Probes here }
void simnet() { Signal Init, Clock, w, x, y, z; // Insert your Pulsers here Pulser ((SD("1a"), "c - Clock"), Clock, 'c', 10000); Pulser ((SD("2a"), "i - Init"), Init, 'i', 10000); circuits( SD("5b-8b"), Init, Clock, w, x, y, z ); // Insert your Probes here Probe ((SD("2d"), "w"), w); Probe ((SD("3d"), "x"), x); Probe ((SD("4d"), "y"), y); Probe ((SD("5d"), "z"), z); }