1//: version "2.1"
2//: property encoding = "utf-8"
3//: property locale = "ja"
4//: property prefix = "_GG"
5//: property title = "グループの編集機能"
6//: property useExtBars = 0
7//: property showSwitchNets = 0
8//: property discardChanges = 1
9//: property timingViolationMode = 2
10//: property initTime = "0 ns"
11
12`timescale 1ns/1ns
13
14//: /netlistBegin PAGE1
15module PAGE1;    //: root_module
16//: enddecls
17
18  //: comment g1 @(140,67) /sn:0 /anc:1
19  //: /line:"<img src=bigcircuit.gif>"
20  //: /end
21  //: comment g5 @(10,10) /anc:1
22  //: /line:"<font color=purple>グループの編集機能</font>"
23  //: /line:""
24  //: /line:"In this chapter, you will learn about how to do editing operations on groups of gates."
25  //: /end
26  //: comment g0 @(10,310) /sn:0 /R:14 /anc:1
27  //: /line:"<tutorial-navigation>"
28  //: /end
29
30endmodule
31//: /netlistEnd
32
33//: /netlistBegin PAGE3
34module PAGE3();
35//: interface  /sz:(40, 40) /bd:[ ] /pd: 0 /pi: 0 /pe: 0 /pp: 1
36reg c0;    //: {0}(18:166,147)(283,147)(283,189){1}
37//: {2}(285,191)(314,191){3}
38//: {4}(283,193)(283,208){5}
39reg a0;    //: {0}(40:166,183)(210,183){1}
40//: {2}(214,183)(222,183){3}
41//: {4}(212,185)(212,239)(229,239){5}
42reg b0;    //: {0}(50:166,218)(204,218){1}
43//: {2}(206,216)(206,188)(222,188){3}
44//: {4}(206,220)(206,244)(229,244){5}
45wire w7;    //: /sn:0 {0}(250,242)(276,242)(276,253){1}
46wire s0;    //: {0}(36:335,189)(365,189){1}
47wire w4;    //: /sn:0 {0}(281,229)(281,253){1}
48wire c1;    //: {0}(99:279,274)(279,293){1}
49wire w9;    //: /sn:0 {0}(314,186)(280,186){1}
50//: {2}(276,186)(243,186){3}
51//: {4}(278,188)(278,208){5}
52//: enddecls
53
54  //: LED g37 (s0) @(372,189) /sn:0 /R:3 /w:[ 1 ] /type:0
55  _GGNAND2 #(4) g1 (.I0(w7), .I1(w4), .Z(c1));   //: @(279,264) /sn:0 /R:3 /w:[ 1 1 0 ]
56  _GGNAND2 #(4) g28 (.I0(a0), .I1(b0), .Z(w7));   //: @(240,242) /sn:0 /w:[ 5 5 0 ]
57  //: SWITCH g27 (c0) @(149,147) /sn:0 /w:[ 0 ] /st:0 /dn:0
58  //: joint g32 (w9) @(278, 186) /w:[ 1 -1 2 4 ]
59  _GGNAND2 #(4) g31 (.I0(w9), .I1(c0), .Z(w4));   //: @(281,219) /sn:0 /R:3 /w:[ 5 5 0 ]
60  //: SWITCH g25 (a0) @(149,183) /sn:0 /w:[ 0 ] /st:0 /dn:0
61  //: joint g29 (a0) @(212, 183) /w:[ 2 -1 1 4 ]
62  //: comment g5 @(10,10) /anc:1
63  //: /line:"<font color=purple>グループの編集機能</font> <b>(incremental selection)</b>"
64  //: /line:""
65  //: /line:"You can add or remove gates from the current selection by holding the <font color=red2>Control</font> key while"
66  //: /line:"you click on them."
67  //: /end
68  _GGXOR2 #(8) g24 (.I0(w9), .I1(c0), .Z(s0));   //: @(325,189) /sn:0 /w:[ 0 3 0 ]
69  _GGXOR2 #(8) g23 (.I0(a0), .I1(b0), .Z(w9));   //: @(233,186) /sn:0 /w:[ 3 3 3 ]
70  //: SWITCH g26 (b0) @(149,218) /sn:0 /w:[ 0 ] /st:0 /dn:0
71  //: comment g0 @(10,310) /sn:0 /R:14 /anc:1
72  //: /line:"<tutorial-navigation>"
73  //: /end
74  //: joint g30 (b0) @(206, 218) /w:[ -1 2 1 4 ]
75  //: joint g33 (c0) @(283, 191) /w:[ 2 1 -1 4 ]
76
77endmodule
78//: /netlistEnd
79
80//: /netlistBegin PAGE5
81module PAGE5();
82//: interface  /sz:(40, 40) /bd:[ ] /pd: 0 /pi: 0 /pe: 0 /pp: 1
83reg c0;    //: {0}(18:167,153)(273,153)(273,195){1}
84//: {2}(275,197)(298,197){3}
85//: {4}(273,199)(273,216){5}
86reg a0;    //: {0}(40:167,189)(189,189)(189,189)(211,189){1}
87//: {2}(215,189)(223,189){3}
88//: {4}(213,191)(213,245)(230,245){5}
89reg b0;    //: {0}(50:167,224)(186,224)(186,224)(205,224){1}
90//: {2}(207,222)(207,194)(223,194){3}
91//: {4}(207,226)(207,250)(230,250){5}
92wire w7;    //: /sn:0 {0}(251,248)(266,248)(266,260){1}
93wire s0;    //: {0}(36:319,195)(349,195){1}
94wire w4;    //: /sn:0 {0}(271,237)(271,260){1}
95wire c1;    //: {0}(99:269,281)(269,300){1}
96wire w9;    //: /sn:0 {0}(298,192)(270,192){1}
97//: {2}(266,192)(244,192){3}
98//: {4}(268,194)(268,216){5}
99//: enddecls
100
101  //: LED g37 (s0) @(356,195) /sn:0 /R:3 /w:[ 1 ] /type:0
102  //: comment g2 @(570,113) /sn:0 /anc:1
103  //: /line:"<font color=green4>Hint: If a selection contains any"
104  //: /line:"anchored gates, the entire selection"
105  //: /line:"will act as if it were anchored.</font>"
106  //: /end
107  _GGNAND2 #(4) g1 (.I0(w7), .I1(w4), .Z(c1));   //: @(269,271) /sn:0 /R:3 /w:[ 1 1 0 ]
108  _GGNAND2 #(4) g28 (.I0(a0), .I1(b0), .Z(w7));   //: @(241,248) /sn:0 /w:[ 5 5 0 ]
109  //: SWITCH g27 (c0) @(150,153) /sn:0 /w:[ 0 ] /st:0 /dn:0
110  //: joint g32 (w9) @(268, 192) /w:[ 1 -1 2 4 ]
111  _GGNAND2 #(4) g31 (.I0(w9), .I1(c0), .Z(w4));   //: @(271,227) /sn:0 /R:3 /w:[ 5 5 0 ]
112  //: SWITCH g25 (a0) @(150,189) /sn:0 /w:[ 0 ] /st:0 /dn:0
113  //: joint g29 (a0) @(213, 189) /w:[ 2 -1 1 4 ]
114  //: comment g5 @(10,10) /anc:1
115  //: /line:"<font color=purple>グループの編集機能</font> <b>(rotation and anchoring)</b>"
116  //: /line:""
117  //: /line:"You can rotate (with <img src=edit_rotate.gif bgcolor=gray> and <img src=edit_brotate.gif bgcolor=gray>) and anchor (with <img src=anchor.gif bgcolor=gray> and <img src=unanchor.gif bgcolor=gray>) a group of gates in the same"
118  //: /line:"way as you did for single gates in the <a href=gates.v>Editing Gates</a> chapter. Try it on the circuit below."
119  //: /end
120  _GGXOR2 #(8) g24 (.I0(w9), .I1(c0), .Z(s0));   //: @(309,195) /sn:0 /w:[ 0 3 0 ]
121  _GGXOR2 #(8) g23 (.I0(a0), .I1(b0), .Z(w9));   //: @(234,192) /sn:0 /w:[ 3 3 3 ]
122  //: comment g0 @(10,310) /sn:0 /R:14 /anc:1
123  //: /line:"<tutorial-navigation>"
124  //: /end
125  //: SWITCH g26 (b0) @(150,224) /sn:0 /w:[ 0 ] /st:0 /dn:0
126  //: joint g30 (b0) @(207, 224) /w:[ -1 2 1 4 ]
127  //: joint g33 (c0) @(273, 197) /w:[ 2 1 -1 4 ]
128
129endmodule
130//: /netlistEnd
131
132//: /netlistBegin PAGE4
133module PAGE4();
134//: interface  /sz:(40, 40) /bd:[ ] /pd: 0 /pi: 0 /pe: 0 /pp: 1
135reg c0;    //: {0}(18:174,160)(280,160)(280,202){1}
136//: {2}(282,204)(305,204){3}
137//: {4}(280,206)(280,223){5}
138reg a0;    //: {0}(40:174,196)(196,196)(196,196)(218,196){1}
139//: {2}(222,196)(230,196){3}
140//: {4}(220,198)(220,252)(237,252){5}
141reg b0;    //: {0}(50:174,231)(193,231)(193,231)(212,231){1}
142//: {2}(214,229)(214,201)(230,201){3}
143//: {4}(214,233)(214,257)(237,257){5}
144wire w7;    //: /sn:0 {0}(258,255)(273,255)(273,267){1}
145wire s0;    //: {0}(36:326,202)(356,202){1}
146wire w4;    //: /sn:0 {0}(278,244)(278,267){1}
147wire c1;    //: {0}(99:276,288)(276,307){1}
148wire w9;    //: /sn:0 {0}(305,199)(277,199){1}
149//: {2}(273,199)(251,199){3}
150//: {4}(275,201)(275,223){5}
151//: enddecls
152
153  //: LED g37 (s0) @(363,202) /sn:0 /R:3 /w:[ 1 ] /type:0
154  //: comment g2 @(548,117) /sn:0 /anc:1
155  //: /line:"<font color=green4>Hint: Hitting the <font color=red2>Delete</font> key will"
156  //: /line:"delete all of the selected gates"
157  //: /line:"without copying it to the clipboard.</font>"
158  //: /end
159  _GGNAND2 #(4) g1 (.I0(w7), .I1(w4), .Z(c1));   //: @(276,278) /sn:0 /R:3 /w:[ 1 1 0 ]
160  _GGNAND2 #(4) g28 (.I0(a0), .I1(b0), .Z(w7));   //: @(248,255) /sn:0 /w:[ 5 5 0 ]
161  //: SWITCH g27 (c0) @(157,160) /sn:0 /w:[ 0 ] /st:0 /dn:0
162  //: joint g32 (w9) @(275, 199) /w:[ 1 -1 2 4 ]
163  _GGNAND2 #(4) g31 (.I0(w9), .I1(c0), .Z(w4));   //: @(278,234) /sn:0 /R:3 /w:[ 5 5 0 ]
164  //: SWITCH g25 (a0) @(157,196) /sn:0 /w:[ 0 ] /st:0 /dn:0
165  //: joint g29 (a0) @(220, 196) /w:[ 2 -1 1 4 ]
166  //: comment g5 @(10,10) /anc:1
167  //: /line:"<font color=purple>グループの編集機能</font> <b>(clipboard operations)</b>"
168  //: /line:""
169  //: /line:"You can use Cut and Paste operations to cut or copy a group of gates to the clipboard"
170  //: /line:"and paste it somewhere else. Select a group of gates then press the <img src=edit_cut.gif bgcolor=gray> or <img src=edit_copy.gif bgcolor=gray> buttons to"
171  //: /line:"cut or copy, respectively, the selected gates to the clipboard. To paste the contents of the"
172  //: /line:"clipboard, first set a <img src=mark.gif> with the left mouse button, then press the <img src=edit_paste.gif bgcolor=gray> button to paste the"
173  //: /line:"clipboard contents to that location."
174  //: /line:""
175  //: /end
176  _GGXOR2 #(8) g24 (.I0(w9), .I1(c0), .Z(s0));   //: @(316,202) /sn:0 /w:[ 0 3 0 ]
177  _GGXOR2 #(8) g23 (.I0(a0), .I1(b0), .Z(w9));   //: @(241,199) /sn:0 /w:[ 3 3 3 ]
178  //: comment g0 @(10,310) /sn:0 /R:14 /anc:1
179  //: /line:"<tutorial-navigation>"
180  //: /end
181  //: SWITCH g26 (b0) @(157,231) /sn:0 /w:[ 0 ] /st:0 /dn:0
182  //: joint g30 (b0) @(214, 231) /w:[ -1 2 1 4 ]
183  //: joint g33 (c0) @(280, 204) /w:[ 2 1 -1 4 ]
184
185endmodule
186//: /netlistEnd
187
188//: /netlistBegin PAGE2
189module PAGE2();
190//: interface  /sz:(40, 40) /bd:[ ] /pd: 0 /pi: 0 /pe: 0 /pp: 1
191reg c0;    //: {0}(18:166,149)(288,149)(288,191){1}
192//: {2}(290,193)(313,193){3}
193//: {4}(288,195)(288,212){5}
194reg a0;    //: {0}(40:166,185)(226,185){1}
195//: {2}(230,185)(238,185){3}
196//: {4}(228,187)(228,241)(245,241){5}
197reg b0;    //: {0}(50:166,220)(220,220){1}
198//: {2}(222,218)(222,190)(238,190){3}
199//: {4}(222,222)(222,246)(245,246){5}
200wire w7;    //: /sn:0 {0}(266,244)(281,244)(281,256){1}
201wire s0;    //: {0}(36:334,191)(364,191){1}
202wire w4;    //: /sn:0 {0}(286,233)(286,256){1}
203wire c1;    //: {0}(99:284,277)(284,296){1}
204wire w9;    //: /sn:0 {0}(313,188)(285,188){1}
205//: {2}(281,188)(259,188){3}
206//: {4}(283,190)(283,212){5}
207//: enddecls
208
209  //: LED g37 (s0) @(371,191) /sn:0 /R:3 /w:[ 1 ] /type:0
210  //: comment g2 @(609,113) /sn:0 /anc:1
211  //: /line:"<font color=green4>Hint: Click in a blank area to"
212  //: /line:"unselect a group."
213  //: /line:""
214  //: /end
215  _GGNAND2 #(4) g1 (.I0(w7), .I1(w4), .Z(c1));   //: @(284,267) /sn:0 /R:3 /w:[ 1 1 0 ]
216  _GGNAND2 #(4) g28 (.I0(a0), .I1(b0), .Z(w7));   //: @(256,244) /sn:0 /w:[ 5 5 0 ]
217  //: SWITCH g27 (c0) @(149,149) /sn:0 /w:[ 0 ] /st:0 /dn:0
218  //: joint g32 (w9) @(283, 188) /w:[ 1 -1 2 4 ]
219  _GGNAND2 #(4) g31 (.I0(w9), .I1(c0), .Z(w4));   //: @(286,223) /sn:0 /R:3 /w:[ 5 5 0 ]
220  //: SWITCH g25 (a0) @(149,185) /sn:0 /w:[ 0 ] /st:0 /dn:0
221  //: joint g29 (a0) @(228, 185) /w:[ 2 -1 1 4 ]
222  //: comment g5 @(10,10) /anc:1
223  //: /line:"<font color=purple>グループの編集機能</font> <b>(selection and movement)</b>"
224  //: /line:""
225  //: /line:"To select a group of gates, press and hold the left mouse button above and to the left"
226  //: /line:"of the group, then drag the cursor diagonally accross the group to open the selection box."
227  //: /line:"Release the mouse when the selection box includes all of the gates you wish to select. Drag"
228  //: /line:"any selected gate to move the entire group. Try it on the circuit below."
229  //: /end
230  _GGXOR2 #(8) g24 (.I0(w9), .I1(c0), .Z(s0));   //: @(324,191) /sn:0 /w:[ 0 3 0 ]
231  _GGXOR2 #(8) g23 (.I0(a0), .I1(b0), .Z(w9));   //: @(249,188) /sn:0 /w:[ 3 3 3 ]
232  //: comment g0 @(10,310) /sn:0 /R:14 /anc:1
233  //: /line:"<tutorial-navigation>"
234  //: /end
235  //: SWITCH g26 (b0) @(149,220) /sn:0 /w:[ 0 ] /st:0 /dn:0
236  //: joint g30 (b0) @(222, 220) /w:[ -1 2 1 4 ]
237  //: joint g33 (c0) @(288, 193) /w:[ 2 1 -1 4 ]
238
239endmodule
240//: /netlistEnd
241
242