1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
|
//: version "2.1"
//: property encoding = "utf-8"
//: property locale = "cs"
//: property prefix = "_GG"
//: property title = "Vytvoření Obvodu"
//: property useExtBars = 0
//: property showSwitchNets = 0
//: property discardChanges = 1
//: property timingViolationMode = 2
//: property initTime = "0 ns"
`timescale 1ns/1ns
//: /netlistBegin PAGE1
module PAGE1; //: root_module
reg w3; //: /sn:0 {0}(219,137)(154,137){1}
reg w9; //: /sn:0 {0}(314,237)(213,237){1}
//: {2}(211,235)(211,142)(219,142){3}
//: {4}(209,237)(154,237){5}
wire w8; //: /sn:0 {0}(314,232)(294,232)(294,140)(240,140){1}
wire w10; //: /sn:0 {0}(335,235)(345,235){1}
//: enddecls
//: comment g8 @(313,208)
//: /line:"OR hradlo"
//: /end
//: joint g13 (w9) @(211, 237) /w:[ 1 2 4 -1 ]
//: comment g1 @(10,310) /sn:0 /anc:1
//: /line:"<tutorial-navigation>"
//: /end
_GGAND2 #(6) g11 (.I0(w3), .I1(w9), .Z(w8)); //: @(230,140) /sn:0 /w:[ 0 3 1 ]
//: comment g6 @(115,104)
//: /line:"Spínače"
//: /end
//: comment g7 @(208,112)
//: /line:"AND hradlo"
//: /end
//: comment g9 @(10,10) /anc:1
//: /line:"<h3>Creating a Simple Circuit</h3>"
//: /line:""
//: /line:"In this chapter, we will walk through the steps of creating the simple circuit shown below."
//: /end
//: SWITCH g14 (w3) @(137,137) /sn:0 /w:[ 1 ] /st:0 /dn:0
_GGOR2 #(6) g0 (.I0(w8), .I1(w9), .Z(w10)); //: @(325,235) /sn:0 /w:[ 0 0 0 ]
//: SWITCH g12 (w9) @(137,237) /sn:0 /w:[ 5 ] /st:0 /dn:0
endmodule
//: /netlistEnd
//: /netlistBegin PAGE6
module PAGE6();
//: interface /sz:(40, 40) /bd:[ ] /pd: 0 /pi: 0 /pe: 0 /pp: 1
reg w6; //: /sn:0 {0}(154,237)(309,237){1}
reg w2; //: /sn:0 {0}(219,137)(186,137)(186,137)(154,137){1}
wire w7; //: /sn:0 {0}(330,235)(340,235){1}
wire w0; //: /sn:0 {0}(204,142)(219,142){1}
wire w5; //: /sn:0 {0}(309,232)(289,232)(289,140)(240,140){1}
//: enddecls
_GGOR2 #(6) g4 (.I0(w5), .I1(w6), .Z(w7)); //: @(320,235) /sn:0 /w:[ 0 1 0 ]
_GGAND2 #(6) g3 (.I0(w2), .I1(w0), .Z(w5)); //: @(230,140) /sn:0 /w:[ 0 1 1 ]
//: SWITCH g2 (w6) @(137,237) /sn:0 /w:[ 0 ] /st:0 /dn:0
//: comment g10 @(10,310) /sn:0 /R:14 /anc:1
//: /line:"<tutorial-navigation>"
//: /end
//: comment g6 @(537,46) /sn:0 /anc:1
//: /line:"<img src=\"makejoint_example.gif\">"
//: /end
//: comment g9 @(10,10) /anc:1
//: /line:"<h3>Creating a Simple Circuit</h3>"
//: /line:""
//: /line:"Now make the final connection. Grab the lower input terminal of the AND gate"
//: /line:"and drag it down near the wire between the lower switch and the OR gate. Release"
//: /line:"the wire to create a joint."
//: /line:""
//: /end
//: comment g7 @(537,126) /sn:0 /anc:1
//: /line:"<font color=green4>Hint: Joints are formed any"
//: /line:"time the soldering iron is"
//: /line:"active and you release the"
//: /line:"wire in the middle of another"
//: /line:"wire.</font>"
//: /end
//: SWITCH g5 (w2) @(137,137) /sn:0 /w:[ 1 ] /st:0 /dn:0
endmodule
//: /netlistEnd
//: /netlistBegin PAGE3
module PAGE3();
//: interface /sz:(40, 40) /bd:[ ] /pd: 0 /pi: 0 /pe: 0 /pp: 1
wire w0; //: /sn:0 {0}(204,137)(219,137){1}
wire w1; //: /sn:0 {0}(204,142)(219,142){1}
wire w2; //: /sn:0 {0}(240,140)(255,140){1}
//: enddecls
_GGAND2 #(6) g2 (.I0(w0), .I1(w1), .Z(w2)); //: @(230,140) /sn:0 /w:[ 1 1 0 ]
//: frame g1 @(283,202) /sn:0 /wi:78 /ht:46 /tx:""
//: comment g10 @(10,310) /sn:0 /R:14 /anc:1
//: /line:"<tutorial-navigation>"
//: /end
//: comment g9 @(10,10) /anc:1
//: /line:"<h3>Creating a Simple Circuit</h3>"
//: /line:""
//: /line:"Now create an OR gate. Right click in the dashed line box then select"
//: /line:"<font color=red2>Make → Gate → OR</font> from the popup menu."
//: /end
//: comment g0 @(532,85) /sn:0 /anc:1
//: /line:"<font color=green4>Hint: You can also use the keyboard"
//: /line:"shortcut. Select the position by left clicking"
//: /line:"then use \"o\" to create an OR gate.</font>"
//: /end
endmodule
//: /netlistEnd
//: /netlistBegin PAGE5
module PAGE5();
//: interface /sz:(40, 40) /bd:[ ] /pd: 0 /pi: 0 /pe: 0 /pp: 1
reg w6; //: /sn:0 {0}(154,237)(169,237){1}
reg w2; //: /sn:0 {0}(154,137)(169,137){1}
wire w7; //: /sn:0 {0}(240,140)(255,140){1}
wire w4; //: /sn:0 {0}(204,137)(219,137){1}
wire w3; //: /sn:0 {0}(335,235)(350,235){1}
wire w0; //: /sn:0 {0}(299,232)(314,232){1}
wire w1; //: /sn:0 {0}(299,237)(314,237){1}
wire w5; //: /sn:0 {0}(204,142)(219,142){1}
//: enddecls
//: SWITCH g4 (w2) @(137,137) /sn:0 /anc:1 /w:[ 0 ] /st:0 /dn:0
_GGAND2 #(6) g3 (.I0(w4), .I1(w5), .Z(w7)); //: @(230,140) /sn:0 /anc:1 /w:[ 1 1 0 ]
//: SWITCH g2 (w6) @(137,237) /sn:0 /anc:1 /w:[ 0 ] /st:0 /dn:0
_GGOR2 #(6) g1 (.I0(w0), .I1(w1), .Z(w3)); //: @(325,235) /sn:0 /anc:1 /w:[ 1 1 0 ]
//: comment g10 @(10,310) /sn:0 /R:14 /anc:1
//: /line:"<tutorial-navigation>"
//: /end
//: comment g6 @(549,141) /sn:0 /anc:1
//: /line:"<font color=green4>Hint: The soldering iron cursor will"
//: /line:"show you when you have selected"
//: /line:"a connectable wire end.</font>"
//: /end
//: comment g9 @(10,10) /anc:1
//: /line:"<h3>Creating a Simple Circuit</h3>"
//: /line:""
//: /line:"Finally, connect the wires. Begin by grabbing the end of the wire leading from one of the"
//: /line:"switches with the left mouse button and drag it to the upper input terminal of the AND gate."
//: /end
//: comment g0 @(550,71) /sn:0 /anc:1
//: /line:"<img src=\"connect_example.gif\">"
//: /end
endmodule
//: /netlistEnd
//: /netlistBegin PAGE2
module PAGE2();
//: interface /sz:(40, 40) /bd:[ ] /pd: 0 /pi: 0 /pe: 0 /pp: 1
//: enddecls
//: comment g2 @(531,86) /sn:0 /anc:1
//: /line:"<font color=green4>Hint: You can also use the keyboard"
//: /line:"shortcut. Select the position by left clicking"
//: /line:"then use \"a\" to create an AND gate.</font>"
//: /end
//: frame g1 @(208,124) /sn:0 /wi:76 /ht:43 /tx:""
//: comment g9 @(10,10) /anc:1
//: /line:"<h3>Creating a Simple Circuit</h3>"
//: /line:""
//: /line:"Start by creating an AND gate. Right click in the dashed line box then select"
//: /line:"<font color=red2>Make → Gate → AND</font> from the popup menu."
//: /end
//: comment g0 @(10,310) /sn:0 /R:14 /anc:1
//: /line:"<tutorial-navigation>"
//: /end
endmodule
//: /netlistEnd
//: /netlistBegin PAGE4
module PAGE4();
//: interface /sz:(40, 40) /bd:[ ] /pd: 0 /pi: 0 /pe: 0 /pp: 1
wire w4; //: /sn:0 {0}(306,241)(321,241){1}
wire w3; //: /sn:0 {0}(240,140)(255,140){1}
wire w0; //: /sn:0 {0}(204,137)(219,137){1}
wire w1; //: /sn:0 {0}(204,142)(219,142){1}
wire w2; //: /sn:0 {0}(306,236)(321,236){1}
wire w5; //: /sn:0 {0}(342,239)(357,239){1}
//: enddecls
//: frame g8 @(109,215) /sn:0 /anc:1 /wi:76 /ht:43 /tx:""
_GGAND2 #(6) g3 (.I0(w0), .I1(w1), .Z(w3)); //: @(230,140) /sn:0 /anc:1 /w:[ 1 1 0 ]
_GGOR2 #(6) g2 (.I0(w2), .I1(w4), .Z(w5)); //: @(332,239) /sn:0 /w:[ 1 1 0 ]
//: frame g1 @(109,121) /sn:0 /anc:1 /wi:76 /ht:43 /tx:""
//: comment g10 @(10,310) /sn:0 /R:14 /anc:1
//: /line:"<tutorial-navigation>"
//: /end
//: comment g9 @(10,10) /anc:1
//: /line:"<h3>Creating a Simple Circuit</h3>"
//: /line:""
//: /line:"Next create two switches. Right click in each of the two dashed line box then"
//: /line:"select <font color=red2>Make → I/O → Switch</font> from the popup menu."
//: /end
//: comment g0 @(532,86) /sn:0 /anc:1
//: /line:"<font color=green4>Hint: You can also use the keyboard"
//: /line:"shortcut. Select the position by left clicking"
//: /line:"then use \"s\" to create a switch.</font>"
//: /end
endmodule
//: /netlistEnd
|