//: version "1.6" //: property discardChanges = 1 module main; //: root_module wire w3; //: /sn:0 {0}(756,264)(679,264){1} wire w1; //: /sn:0 {0}(756,259)(712,259)(712,224)(679,224){1} wire w2; //: /sn:0 {0}(679,302)(689,302){1} wire w5; //: /sn:0 {0}(777,262)(787,262){1} //: enddecls //: comment g61 /dolink:1 /link:"@T/edwire_tut.v" @(630,100) /sn:0 /anc:1 //: /line:"Editing Wires" //: /end and g4 (.I0(w1), .I1(w3), .Z(w5)); //: @(767,262) /sn:0 /w:[ 0 0 0 ] //: switch g3 (w2) @(662,302) /sn:0 /w:[ 0 ] /st:0 //: switch g2 (w3) @(662,264) /sn:0 /w:[ 1 ] /st:0 //: switch g1 (w1) @(662,224) /sn:0 /w:[ 1 ] /st:0 //: comment g16 /dolink:1 /link:"@T/module_tut.v" @(630,115) /sn:0 /anc:1 //: /line:"Using Modules" //: /end //: frame g11 @(434,347) /sn:0 /anc:1 /wi:373 /ht:230 /tx:"Copy Gates Here" //: frame g10 @(22,347) /sn:0 /anc:1 /wi:394 /ht:227 /tx:"Drag Gates Here" //: frame g15 @(600,25) /sn:0 /anc:1 /wi:213 /ht:149 /tx:"Tutorials" //: comment g20 /dolink:1 /link:"@T/create_tut.v" @(630,55) /sn:0 /anc:1 //: /line:"Creating a Circuit" //: /end //: comment g17 /dolink:1 /link:"@T/sim_tut.v" @(630,130) /sn:0 /anc:1 //: /line:"Combinational Simulation" //: /end //: comment g14 /dolink:1 /link:"@T/seqsim_tut.v" @(630,145) /sn:0 /anc:1 //: /line:"Sequential Simulation" //: /end //: comment g5 /dolink:0 /link:"" @(38,36) /anc:1 //: /line:"1) Click the left mouse button above and to the left of the three switches and" //: /line:"the AND gate below. Press and hold the left mouse button and drag it down and" //: /line:"to the right. A selection box will appear after moving the mouse about a few" //: /line:"millimeters. Move the cursor so all three switches and the AND gate are" //: /line:"enclosed in the box. The switches and gate will be highlighted to indicate" //: /line:"they have been selected." //: /line:"" //: /line:"2) Press and hold the mouse on one of the selected gates. Drag the group of" //: /line:"gates so they are positioned in the box labeled \"Drag Gates Here\". Click" //: /line:"anywhere on the canvas where there is no gate or wire to release the selection." //: /line:"" //: /line:"3) Select the AND gate in the group of gates you have dragged above this text. " //: /line:"Go into the \"Gate\" menu and select \"Add Input\". This will add a new input to" //: /line:"the AND gate which you can now connect to the unconnected switch above." //: /line:"" //: /line:"4) Follow the instructions in step 1 again to select the three switches and the" //: /line:"AND gate. Go into the \"Edit\" menu and select \"Copy\" to copy the group of gates" //: /line:"to the cut buffer. Now click the left mouse button in the center of box labeled" //: /line:"\"Copy Gates Here\" then select \"Paste\" from the \"Edit\" menu. This will create a" //: /line:"copy of the gate you selected. You can also hit the \"delete\" key while a group" //: /line:"of gates are selected to delete them." //: /line:"" //: /line:"5) You can also create group selections by clicking on a gate while holding the" //: /line:"control key pressed. This will add gates to a selection one at a time." //: /end //: comment g21 /dolink:0 /link:"@T/edit2_tut.v" @(630,85) /sn:0 /anc:1 //: /line:"Group Editing Features" //: /end //: comment g22 /dolink:0 /link:"" @(605,85) /sn:0 /anc:1 //: /line:"->" //: /end //: comment g0 /dolink:0 /link:"" @(26,17) /anc:1 //: /line:"This tutorial introduces group editing features." //: /end //: comment g18 /dolink:1 /link:"@T/welcome_tut.v" @(630,40) /sn:0 /anc:1 //: /line:"TkGate Introduction" //: /end //: comment g12 /dolink:1 /link:"@T/edit1_tut.v" @(630,70) /sn:0 /anc:1 //: /line:"Basic Editing Modes" //: /end endmodule