//: version "2.0-b10"
//: property encoding = "iso8859-1"
//: property locale = "en"
//: property prefix = "_GG"
//: property timingViolationMode = 2
//: property initTime = "0 ns"
`timescale 1ns/1ns
//: /netlistBegin main
module main; //: root_module
supply1 w6; //: /sn:0 {0}(325,288)(325,311){1}
reg w14; //: /sn:0 {0}(328,429)(306,429)(306,454){1}
//: {2}(304,456)(287,456){3}
//: {4}(285,454)(285,424){5}
//: {6}(283,456)(262,456){7}
//: {8}(306,458)(306,478)(328,478){9}
reg w4; //: /sn:0 {0}(291,319)(311,319){1}
supply0 w3; //: /sn:0 {0}(330,235)(330,218){1}
reg w21; //: /sn:0 {0}(284,791)(255,791)(255,825){1}
//: {2}(253,827)(235,827){3}
//: {4}(233,825)(233,793){5}
//: {6}(231,827)(221,827){7}
//: {8}(255,829)(255,842)(284,842){9}
supply0 w28; //: /sn:0 {0}(298,897)(298,889){1}
//: {2}(300,887)(419,887)(419,878){3}
//: {4}(298,885)(298,851){5}
reg w1; //: /sn:0 {0}(296,209)(316,209){1}
reg w8; //: /sn:0 {0}(406,622)(387,622)(387,603){1}
//: {2}(387,599)(387,589)(406,589){3}
//: {4}(385,601)(366,601){5}
//: {6}(364,599)(364,556){7}
//: {8}(362,601)(342,601){9}
reg w17; //: /sn:0 {0}(405,823)(390,823)(390,848){1}
//: {2}(388,850)(368,850){3}
//: {4}(366,848)(366,789){5}
//: {6}(364,850)(342,850){7}
//: {8}(390,852)(390,869)(405,869){9}
supply0 w22; //: /sn:0 {0}(420,677)(420,660){1}
supply0 w12; //: /sn:0 {0}(342,498)(342,487){1}
supply1 w10; //: /sn:0 {0}(443,565)(443,551)(430,551){1}
//: {2}(428,549)(428,536){3}
//: {4}(426,551)(420,551)(420,581){5}
reg w13; //: /sn:0 {0}(406,651)(298,651)(298,602){1}
//: {2}(298,598)(298,573)(429,573){3}
//: {4}(296,600)(282,600){5}
//: {6}(280,598)(280,562){7}
//: {8}(278,600)(254,600){9}
supply1 w9; //: /sn:0 {0}(342,408)(342,421){1}
supply1 w26; //: /sn:0 {0}(298,772)(298,783){1}
wire w7; //: /sn:0 {0}(420,643)(420,631){1}
wire w16; //: /sn:0 {0}(495,633)(522,633)(522,569){1}
wire w19; //: /sn:0 {0}(419,861)(419,851){1}
//: {2}(421,849)(448,849){3}
//: {4}(452,849)(461,849){5}
//: {6}(450,847)(450,789){7}
//: {8}(419,847)(419,832){9}
wire w0; //: /sn:0 {0}(330,201)(330,184){1}
wire w23; //: /sn:0 {0}(494,791)(494,849)(477,849){1}
wire w20; //: /sn:0 {0}(298,834)(298,813){1}
//: {2}(300,811)(419,811)(419,815){3}
//: {4}(298,809)(298,800){5}
wire w11; //: /sn:0 {0}(443,582)(443,608){1}
//: {2}(445,610)(461,610){3}
//: {4}(465,610)(480,610)(480,567){5}
//: {6}(463,612)(463,633)(479,633){7}
//: {8}(441,610)(422,610){9}
//: {10}(420,608)(420,598){11}
//: {12}(420,612)(420,614){13}
wire w2; //: /sn:0 {0}(353,328)(353,343)(325,343)(325,328){1}
wire w5; //: /sn:0 {0}(342,438)(342,453){1}
//: {2}(344,455)(383,455)(383,424){3}
//: {4}(342,457)(342,470){5}
//: enddecls
//: joint g61 (w17) @(366, 850) /w:[ 3 4 6 -1 ]
//: SWITCH g8 (w4) @(274,319) /sn:0 /w:[ 0 ] /st:0 /dn:1
//: comment g4 @(354,175) /sn:0
//: /line:"
NPN "
//: /line:""
//: /line:" - Collector at the top (led attached)"
//: /line:"
- Emitter at the bottom (ground attached)"
//: /line:"
- Base on size (switch attached.)"
//: /line:"
"
//: /end
//: SWITCH g58 (w17) @(325,850) /sn:0 /w:[ 7 ] /st:0 /dn:1
//: joint g55 (w19) @(450, 849) /w:[ 4 6 3 -1 ]
//: LED g51 (w19) @(450,782) /sn:0 /w:[ 7 ] /type:0
//: joint g37 (w8) @(364, 601) /w:[ 5 6 8 -1 ]
//: joint g34 (w10) @(428, 551) /w:[ 1 2 4 -1 ]
//: GROUND g13 (w12) @(342,504) /sn:0 /w:[ 0 ]
//: LED g3 (w0) @(330,177) /sn:0 /w:[ 1 ] /type:0
//: SWITCH g2 (w1) @(279,209) /sn:0 /w:[ 0 ] /st:0 /dn:1
//: joint g59 (w17) @(390, 850) /w:[ -1 1 2 8 ]
//: LED NAND0 (w11) @(480,560) /w:[ 5 ] /type:0
//: GROUND g1 (w3) @(330,241) /sn:0 /w:[ 0 ]
//: LED AND0 (w16) @(522,562) /w:[ 1 ] /type:0
//: joint g16 (w5) @(342, 455) /w:[ 2 1 -1 4 ]
_GGNMOS #(2, 1) g11 (.Z(w5), .S(w12), .G(w14)); //: @(336,478) /sn:0 /w:[ 5 1 9 ]
//: GROUND g50 (w28) @(298,903) /sn:0 /w:[ 0 ]
//: joint g28 (w11) @(443, 610) /w:[ 2 1 8 -1 ]
_GGPMOS #(2, 1) g10 (.Z(w5), .S(w9), .G(w14)); //: @(336,429) /sn:0 /w:[ 0 1 0 ]
//: joint g32 (w13) @(298, 600) /w:[ -1 2 4 1 ]
//: joint g27 (w11) @(420, 610) /w:[ 9 10 -1 12 ]
//: joint g19 (w14) @(285, 456) /w:[ 3 4 6 -1 ]
//: joint g38 (w13) @(280, 600) /w:[ 5 6 8 -1 ]
//: VDD g6 (w6) @(336,288) /sn:0 /w:[ 0 ]
//: joint g57 (w20) @(298, 811) /w:[ 2 4 -1 1 ]
_GGNBUF #(2) g53 (.I(w19), .Z(w23)); //: @(467,849) /sn:0 /w:[ 5 1 ]
//: comment g9 @(371,277) /sn:0
//: /line:"PNP
"
//: /line:""
//: /line:" - Emitter is at the top"
//: /line:"
- Base is in the middle"
//: /line:"
- Collector is at the bottom"
//: /line:"
"
//: /end
//: LED g7 (w2) @(353,321) /sn:0 /w:[ 0 ] /type:0
//: joint g31 (w8) @(387, 601) /w:[ -1 2 4 1 ]
//: comment g20 @(409,410) /sn:0
//: /line:" Not Gate
"
//: /end
//: SWITCH g15 (w14) @(245,456) /sn:0 /w:[ 7 ] /st:0 /dn:1
_GGNBUF #(2) g39 (.I(w11), .Z(w16)); //: @(485,633) /sn:0 /w:[ 7 0 ]
//: LED g48 (w21) @(233,786) /sn:0 /w:[ 5 ] /type:0
_GGNMOS #(2, 1) g43 (.Z(w19), .S(w28), .G(w17)); //: @(413,869) /sn:0 /w:[ 0 3 9 ]
//: comment g62 @(525,803) /sn:0
//: /line:"Nor
"
//: /end
//: SWITCH g29 (w8) @(325,601) /sn:0 /w:[ 9 ] /st:0 /dn:1
//: GROUND g25 (w22) @(420,683) /sn:0 /w:[ 0 ]
//: joint g17 (w14) @(306, 456) /w:[ -1 1 2 8 ]
//: joint g52 (w19) @(419, 849) /w:[ 2 8 -1 1 ]
_GGPMOS #(2, 1) g42 (.Z(w19), .S(w20), .G(w17)); //: @(413,823) /sn:0 /w:[ 9 3 0 ]
//: joint g56 (w28) @(298, 887) /w:[ 2 4 -1 1 ]
//: LED g14 (w5) @(383,417) /sn:0 /w:[ 3 ] /type:0
_GGPMOS #(2, 1) g5 (.Z(w2), .S(w6), .G(w4)); //: @(319,319) /sn:0 /w:[ 1 1 1 ]
//: joint g47 (w21) @(255, 827) /w:[ -1 1 2 8 ]
_GGNMOS #(2, 1) g44 (.Z(w20), .S(w28), .G(w21)); //: @(292,842) /sn:0 /w:[ 0 5 9 ]
//: LED g36 (w8) @(364,549) /sn:0 /w:[ 7 ] /type:0
_GGPMOS #(2, 1) g24 (.Z(w11), .S(w10), .G(w8)); //: @(414,589) /sn:0 /w:[ 11 5 3 ]
_GGNMOS #(2, 1) g21 (.Z(w7), .S(w22), .G(w13)); //: @(414,651) /sn:0 /w:[ 0 1 0 ]
_GGPMOS #(2, 1) g41 (.Z(w20), .S(w26), .G(w21)); //: @(292,791) /sn:0 /w:[ 5 1 0 ]
_GGPMOS #(2, 1) g23 (.Z(w11), .S(w10), .G(w13)); //: @(437,573) /sn:0 /w:[ 0 0 3 ]
//: LED g60 (w17) @(366,782) /sn:0 /w:[ 5 ] /type:0
//: LED g54 (w23) @(494,784) /sn:0 /w:[ 0 ] /type:0
//: joint g40 (w11) @(463, 610) /w:[ 4 -1 3 6 ]
//: VDD g45 (w26) @(309,772) /sn:0 /w:[ 0 ]
//: SWITCH g46 (w21) @(204,827) /sn:0 /w:[ 7 ] /st:0 /dn:1
//: comment g26 @(553,551) /sn:0
//: /line:"Nand
"
//: /line:""
//: /end
//: LED g35 (w13) @(280,555) /sn:0 /w:[ 7 ] /type:0
_GGNMOS #(2, 1) g22 (.Z(w11), .S(w7), .G(w8)); //: @(414,622) /sn:0 /w:[ 13 1 0 ]
_GGNMOS #(2, 1) g0 (.Z(w0), .S(w3), .G(w1)); //: @(324,209) /sn:0 /w:[ 0 1 1 ]
//: LED g18 (w14) @(285,417) /sn:0 /w:[ 5 ] /type:0
//: VDD g12 (w9) @(353,408) /sn:0 /w:[ 0 ]
//: VDD g33 (w10) @(439,536) /sn:0 /w:[ 3 ]
//: SWITCH g30 (w13) @(237,600) /sn:0 /w:[ 9 ] /st:0 /dn:1
//: joint g49 (w21) @(233, 827) /w:[ 3 4 6 -1 ]
endmodule
//: /netlistEnd