1//: version "2.1"
2//: property encoding = "utf-8"
3//: property locale = "de"
4//: property prefix = "_GG"
5//: property title = "Sequential Simulation"
6//: property showSwitchNets = 0
7//: property discardChanges = 1
8//: property timingViolationMode = 2
9//: property initTime = "0 ns"
10//: require "timer"
11
12`timescale 1ns/1ns
13
14//: /netlistBegin PAGE1
15module PAGE1;    //: root_module
16reg [7:0] w7;    //: /sn:0 {0}(#:213,222)(213,248){1}
17reg w4;    //: /sn:0 {0}(268,307)(279,307)(279,295)(289,295){1}
18supply0 w0;    //: /sn:0 {0}(268,317)(288,317)(288,328){1}
19supply0 w3;    //: /sn:0 {0}(266,272)(266,262)(253,262){1}
20wire [7:0] w2;    //: /sn:0 {0}(#:229,302)(229,277){1}
21wire ck;    //: {0}(50:192,312)(127,312){1}
22wire [7:0] reg_out;    //: {0}(#:229,323)(229,349)(287,349){1}
23//: {2}(291,349)(347,349)(52:347,236)(245,236)(245,248){3}
24//: {4}(289,351)(289,359){5}
25wire w9;    //: /sn:0 {0}(205,262)(195,262){1}
26//: enddecls
27
28  //: GROUND g4 (w0) @(288,334) /sn:0 /w:[ 1 ]
29  //: joint g8 (reg_out) @(289, 349) /w:[ 2 -1 1 4 ]
30  //: comment g13 @(14,12) /anc:1
31  //: /line:"<h3>Simulation von Schaltwerken</h3> <b>(Haltepunkte)</b>"
32  //: /line:""
33  //: /line:"Haltepunkte können verwendet werden, um eine Schaltung so lange zu simulieren, bis eine Bedingung erfüllt ist."
34  //: /line:"Um einen Haltepunkt zu setzen klicke auf die <img src=sim_break.gif bgcolor=gray> Taste auf der Informationsbox"
35  //: /line:"unterhalb der Arbeitsfläche und drücke den <font color=red2>Hinzufügen...</font> Knopf. Gib den Haltepunkt"
36  //: /line:"als Verilog-Ausdruck an. Starte den Simulator und versuche es mit dem Ausdruck \"reg_out == 8'h42\""
37  //: /line:"wie im Beispiel auf der rechten Seite. Das führt zum Halt des Simulators, wenn das reg_out Signal"
38  //: /line:"den hexadezimalen Wert 42 hat. Vergiß nicht, nach der Eingabe des Haltepunkts <img src=sim_go.gif bgcolor=gray> zu drücken."
39  //: /end
40  //: SWITCH g3 (w4) @(307,295) /sn:0 /R:2 /w:[ 1 ] /st:1 /dn:0
41  _GGREG8 #(10, 10, 20) g2 (.Q(reg_out), .D(w2), .EN(w0), .CLR(w4), .CK(ck));   //: @(229,312) /sn:0 /w:[ 0 0 0 0 0 ]
42  //: comment g1 @(10,410) /sn:0 /R:14 /anc:1
43  //: /line:"<tutorial-navigation byfile=1>"
44  //: /end
45  //: comment g10 @(565,96) /sn:0 /anc:1
46  //: /line:"<img src=breakp_example.gif>"
47  //: /line:""
48  //: /line:"<b>Beispiel zur Haltepunkteingabe.</b>"
49  //: /end
50  //: DIP g6 (w7) @(213,212) /sn:0 /w:[ 0 ] /st:1 /dn:0
51  //: LED g7 (reg_out) @(289,366) /sn:0 /R:2 /w:[ 5 ] /type:2
52  //: GROUND g9 (w3) @(266,278) /sn:0 /w:[ 0 ]
53  _GGADD8 #(68, 70, 62, 64) g5 (.A(w7), .B(reg_out), .S(w2), .CI(w3), .CO(w9));   //: @(229,264) /sn:0 /w:[ 1 3 1 1 0 ]
54  _GGCLOCK_P100_0_50 g0 (.Z(ck));   //: @(114,312) /sn:0 /w:[ 1 ] /omega:100 /phi:0 /duty:50
55
56endmodule
57//: /netlistEnd
58
59