diff options
Diffstat (limited to 'Examples/CMOS_Inverter.svg')
-rw-r--r-- | Examples/CMOS_Inverter.svg | 256 |
1 files changed, 256 insertions, 0 deletions
diff --git a/Examples/CMOS_Inverter.svg b/Examples/CMOS_Inverter.svg new file mode 100644 index 0000000..456ff63 --- /dev/null +++ b/Examples/CMOS_Inverter.svg @@ -0,0 +1,256 @@ +<?xml version='1.0' ?> +<!--Created by webtronics 0.1--> +<svg xmlns="http://www.w3.org/2000/svg" width="730px" height="397.5px"><rect x="0" y="0" fill="white" width="730px" height="397.5px"/><text x="570" y="250" font-size="12" fill="black" stroke-width="0px" id="value-m1-05bdc8b8d5d530"><tspan dx="0" dy="0">m1</tspan></text><g flippable="true" class="nmosfet" id="m" stroke-width="2px" stroke="black" connects="0,20;30,0;30,40" transform="matrix(1,-1.056299898220315e-23,1.056299898220315e-23,1,570,250)"> +<metadata class="part"> +<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics"> + <wtx:pins> + <wtx:analog> +<!--pin order is drain gate source substrate +substrate is connected to source--> + <wtx:node y="0" x="30" index="1"/> + <wtx:node y="20" x="0" index="2"/> + <wtx:node y="40" x="30" index="3"/> + <wtx:node y="40" x="30" index="4"/> + </wtx:analog> + </wtx:pins> + <wtx:id>m1</wtx:id> + <wtx:type>m</wtx:type> + <wtx:name>nmosfet</wtx:name> + <wtx:category>mosfets</wtx:category> + <wtx:value/> + <wtx:label>value-m1-05bdc8b8d5d530</wtx:label> + <wtx:spice/> + <wtx:flip>true</wtx:flip> + <wtx:model/> +</wtx:part> +</metadata> <rect fill="none" x="0" y="0" width="40" height="40" visibility="hidden" id="rect2162"/> + <path d="M19.877,12.08z" fill="none" id="path2398"/> + <text fill="black" font-style="normal" stroke-width="0px" x="1.0786462" y="18.113794" font-family="Bitstream Vera Sans" font-size="8.19031239px" id="text2823">G</text> + <text fill="black" font-style="normal" stroke-width="0px" x="32.072721" y="7.4208322" font-family="Bitstream Vera Sans" font-size="8.0008316px" id="text2827">D</text> + <text fill="black" font-style="normal" stroke-width="0px" x="32.333487" y="39.414978" font-family="Bitstream Vera Sans" font-size="8.04845715px" id="text2831">S</text> + <path fill="none" d="m20,12.925,10,0,0-13" id="path2891"/> + <path fill="none" d="m20,26.925,10,0,0,13" id="path2934"/> + <path fill="none" d="m20,19.925,10,0,0,7" id="path2936"/> + <path fill="none" d="m20,16.925,0,6" id="path2938"/> + <path fill="none" d="m20,23.925,0,6" id="path2942"/> + <path fill="none" d="M20,15.925,20,9.9255" id="path2944"/> + <path fill="none" d="M17,9.9255,17,29.925" id="path2946"/> + <path fill="none" d="m17,19.925-17,0" id="path2948"/> + <path fill="none" d="m21,19.925,3-2,0,4-3-2z" id="path3813"/> +</g><text x="570" y="160" font-size="12" fill="black" stroke-width="0px" id="value-m2-2c8d7d332322fa"><tspan dx="0" dy="0">m2</tspan></text><g class="pmosfet" id="m" stroke-width="2px" stroke="black" transform="matrix(1,-1.2246468525851679e-16,-1.2246468525851679e-16,-1,570,200)"> +<metadata class="part"> +<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics"> + <wtx:pins> + <wtx:analog> +<!--pin order is gate drain source substrate +substrate is connected to source--> + <wtx:node y="0" x="30" index="1"/> + <wtx:node y="20" x="0" index="2"/> + <wtx:node y="40" x="30" index="3"/> + <wtx:node y="40" x="30" index="4"/> + </wtx:analog> + </wtx:pins> + <wtx:id>m2</wtx:id> + <wtx:type>m</wtx:type> + <wtx:name>pmosfet</wtx:name> + <wtx:category>mosfets</wtx:category> + <wtx:value/> + <wtx:label>value-m2-2c8d7d332322fa</wtx:label> + <wtx:spice/> + <wtx:flip>true</wtx:flip> + <wtx:model/> +</wtx:part> +</metadata> <rect fill="none" visibility="hidden" x="0" y="0" width="40" height="40" id="rect2162"/> + <rect fill="none" x="0" y="0" width="40" height="40" visibility="hidden" id="rect2162"/> + <path d="M19.877,12.08z" fill="none" id="path2398"/> + <text fill="black" font-style="normal" stroke-width="0px" x="1.0786462" y="18.113794" font-family="Bitstream Vera Sans" font-size="8.19031239px" id="text2823">G</text> + <text fill="black" font-style="normal" stroke-width="0px" x="32.072721" y="7.4208322" font-family="Bitstream Vera Sans" font-size="8.0008316px" id="text2827">D</text> + <text fill="black" font-style="normal" stroke-width="0px" x="32.333487" y="39.414978" font-family="Bitstream Vera Sans" font-size="8.04845715px" id="text2831">S</text> + <path fill="none" d="m20,12.925,10,0,0-13" id="path2891"/> + <path fill="none" d="m20,26.925,10,0,0,13" id="path2934"/> + <path fill="none" d="m20,19.925,10,0,0,7" id="path2936"/> + <path fill="none" d="m20,16.925,0,6" id="path2938"/> + <path fill="none" d="m20,23.925,0,6" id="path2942"/> + <path fill="none" d="M20,15.925,20,9.9255" id="path2944"/> + <path fill="none" d="M17,9.9255,17,29.925" id="path2946"/> + <path fill="none" d="m17,19.925-17,0" id="path2948"/> + + <path fill="none" d="m26,17.925,3,2-3,2,0-4z" id="path2952"/> + + </g><text x="580" y="79.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-v2-1de0015789f795"><tspan dx="-15" dy="15">5</tspan><tspan dx="0" dy="0">v2</tspan></text><g class="battery" id="v" stroke-width="2px" stroke="black" transform="matrix(-1.8369702788777518e-16,-1,1,-1.8369702788777518e-16,590,120)"> +<metadata class="part"> +<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics"> + <wtx:pins> + <wtx:analog> + <wtx:node y="10" x="0" index="1"/> + <wtx:node y="10" x="50" index="2"/> + </wtx:analog> + </wtx:pins> + <wtx:id>v2</wtx:id> + <wtx:type>v</wtx:type> + <wtx:name>battery</wtx:name> + <wtx:category>sources</wtx:category> + <wtx:value>5</wtx:value> + <wtx:label>value-v2-1de0015789f795</wtx:label> + <wtx:spice/> + <wtx:flip/> + <wtx:model/> +</wtx:part> +</metadata> + <path id="path5009" d="M 0,10 L 17,10"/> + <path id="path5019" d="M 32,10 L 50,10"/> + <path id="path5011" d="M 17.836609,0.68314333 L 17.718673,19.199113"/> + <path id="path5013" d="M 22.436119,3.7494823 L 22.436119,15.071349"/> + <path id="path5015" d="M 27.507371,0.68314333 L 27.507371,19.552922"/> + <path id="path5017" d="M 31.753072,3.8674183 L 31.635136,15.425157"/> + <text stroke-width="0px" font-size="12px" id="text5025" y="8.5261526" x="8.2167969">+</text> + <text stroke-width="0px" font-size="12px" id="text5029" y="0.5234375" x="34.111794">_</text> + </g><text x="410" y="199.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-v1-7b5cee68c5f54d"><tspan dx="0" dy="0">v1</tspan></text><g class="pwl" id="Pwl" transform="matrix(1,0,0,1,410,200)"> + + +<!-- + pwlval1=first time part T1 + pwlval2=first voltage part V1 + pwlval3=T2 + pwlval4=V2 + pwlval5=T3 + pwlval6=V3 + pwlval7=T4 + pwlval8=V4 + --> + + +<metadata class="part"> +<wtx:part xmlns:wtx="http://code.google.com/p/webtronics"> + <wtx:pins> + <wtx:analog> + <wtx:node y="20" x="0" index="1"/> + <wtx:node y="20" x="60" index="2"/> + </wtx:analog> + </wtx:pins> + <wtx:id>v1</wtx:id> + <wtx:type>v</wtx:type> + <wtx:name>pwl</wtx:name> + <wtx:category>sources</wtx:category> + <wtx:value/> + + <wtx:pwlval>0m</wtx:pwlval> + + + <wtx:label>value-v1-7b5cee68c5f54d</wtx:label> + <wtx:spice/> + <wtx:flip/> + <wtx:model/> +</wtx:part> +</metadata> + + + + + +<path d=" M 0.00 0.00 L 60.00 0.00 L 60.00 19.00 C 55.63 19.00 51.25 18.97 46.88 19.05 C 46.14 13.35 43.15 7.80 38.02 4.92 C 30.21 -0.51 18.48 2.78 13.93 10.98 C 11.98 13.26 11.92 16.30 11.12 19.05 C 7.42 18.98 3.71 19.00 0.00 19.00 L 0.00 0.00 Z" fill="#ffffff"/> +<path d=" M 13.93 10.98 C 18.48 2.78 30.21 -0.51 38.02 4.92 C 43.15 7.80 46.14 13.35 46.88 19.05 C 51.25 18.97 55.63 19.00 60.00 19.00 L 60.00 21.00 C 55.62 21.00 51.23 21.02 46.85 20.97 C 46.09 29.36 39.19 36.93 30.66 37.64 C 20.97 38.83 11.90 30.52 11.16 20.97 C 7.44 21.01 3.72 21.00 0.00 21.00 L 0.00 19.00 C 3.71 19.00 7.42 18.98 11.12 19.05 C 11.92 16.30 11.98 13.26 13.93 10.98 Z" fill="#000000"/> +<path d=" M 28.25 3.15 C 30.45 2.91 32.57 4.05 34.78 4.17 C 39.08 5.83 42.38 9.51 44.67 13.46 C 45.05 15.66 45.53 17.84 45.97 20.04 C 45.50 22.21 45.05 24.39 44.65 26.57 C 42.53 30.39 39.39 33.53 35.57 35.66 C 33.37 36.06 31.18 36.51 29.00 36.97 C 26.81 36.51 24.63 36.06 22.43 35.66 C 18.61 33.53 15.47 30.39 13.35 26.57 C 12.95 24.39 12.50 22.21 12.03 20.03 C 12.47 17.84 12.95 15.66 13.33 13.46 C 15.46 9.61 18.62 6.46 22.46 4.33 C 24.39 3.94 26.34 3.67 28.25 3.15 Z" fill="#ffffff"/> +<path d=" M 20.36 10.85 C 24.06 11.65 27.69 12.79 31.43 13.46 C 29.65 14.76 27.50 13.55 25.62 13.22 C 23.70 12.89 21.83 12.17 20.36 10.85 Z" fill="#000000"/> +<path d=" M 24.99 18.15 C 27.91 16.85 30.35 14.52 33.47 13.75 C 31.77 16.31 28.64 17.09 26.01 18.34 C 26.00 20.52 26.00 22.70 25.98 24.88 C 28.77 26.74 32.43 27.40 34.54 30.18 C 31.30 28.80 28.26 26.98 25.00 25.63 C 25.00 23.14 25.00 20.64 24.99 18.15 Z" fill="#000000"/> +<path d=" M 38.99 16.00 L 40.00 15.98 C 40.00 17.32 40.00 18.66 40.01 20.00 C 41.34 20.00 42.68 20.00 44.02 19.99 L 44.00 20.90 C 41.99 20.94 39.55 20.53 39.51 23.32 C 39.31 22.80 38.90 21.76 38.70 21.25 C 37.57 20.99 36.48 20.64 35.41 20.20 C 36.32 20.12 38.13 19.94 39.03 19.86 C 39.01 18.57 39.00 17.28 38.99 16.00 Z" fill="#000000"/> +<path d=" M 18.30 17.09 C 19.80 18.34 19.07 21.98 18.70 23.91 C 17.20 22.66 17.93 19.02 18.30 17.09 Z" fill="#000000"/> +<path d=" M 0.00 21.00 C 3.72 21.00 7.44 21.01 11.16 20.97 C 11.90 30.52 20.97 38.83 30.66 37.64 C 39.19 36.93 46.09 29.36 46.85 20.97 C 51.23 21.02 55.62 21.00 60.00 21.00 L 60.00 40.00 L 24.81 40.00 C 26.25 37.94 22.80 37.85 23.96 40.00 L 0.00 40.00 L 0.00 21.00 Z" fill="#ffffff"/> +<path d=" M 23.96 40.00 C 22.80 37.85 26.25 37.94 24.81 40.00 L 23.96 40.00 Z" fill="#000000"/> +</g><text x="690" y="230" font-size="12" fill="black" stroke-width="0px" id="value-c1-b2268e4b476699"><tspan dx="-15" dy="15">1u</tspan><tspan dx="0" dy="0">c1</tspan></text><g class="capacitor" id="C" stroke-width="2px" stroke="black" connects="0,10;30,10" transform="matrix(6.123234262925839e-17,1,-1,6.123234262925839e-17,720,230)"> +<metadata class="part"> +<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics"> + <wtx:pins> + <wtx:analog> + <wtx:node y="10" x="0" index="1"/> + <wtx:node y="10" x="30" index="2"/> + </wtx:analog> + </wtx:pins> + <wtx:id>c1</wtx:id> + <wtx:type>c</wtx:type> + <wtx:name>capacitor</wtx:name> + <wtx:category>capacitors</wtx:category> + <wtx:value>1u</wtx:value> + <wtx:label>value-c1-b2268e4b476699</wtx:label> + <wtx:spice/> + <wtx:flip/> + <wtx:model/> +</wtx:part> +</metadata> + <path id="path3412" d="M 10,0 10,20"/> + <path id="path3414" d="m 20,0 0,20"/> + <path id="path3420" d="m 20,10 10,0"/> + <path id="path3422" d="M 10,10 0,10"/> + </g><text x="360" y="239.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-bbe0d1d969d972"><tspan dx="0" dy="0">gnd</tspan></text><g class="ground" id="Gnd" stroke-width="2px" stroke="black" connects="10,0" transform="matrix(1,0,0,1,360,240)"> +<metadata> +<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics"> + <wtx:pins> + <wtx:analog> + <wtx:node y="0" x="10" index="1"/> + </wtx:analog> + </wtx:pins> + <wtx:id>gnd</wtx:id> + <wtx:type>gnd</wtx:type> + <wtx:name>ground</wtx:name> + <wtx:category>sources</wtx:category> + <wtx:flip/> + <wtx:value/> + <wtx:label>value-gnd-bbe0d1d969d972</wtx:label> + <wtx:spice/> + <wtx:model/> +</wtx:part> +</metadata> + + <path id="path3694" d="M 10,0 L 10,11"/> + <path id="path3696" d="M 0.50000006,11.834153 L 19.671275,11.834153"/> + <path id="path3698" d="M 2.6480823,14.5 L 17.732881,14.5"/> + <path id="path3700" d="M 5.802873,17.5 L 14.648082,17.5"/> + </g><text x="590" y="369.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-5035f7e63ac2b1"><tspan dx="0" dy="0">gnd</tspan></text><g class="ground" id="Gnd" stroke-width="2px" stroke="black" connects="10,0" transform="matrix(1,0,0,1,590,370)"> +<metadata> +<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics"> + <wtx:pins> + <wtx:analog> + <wtx:node y="0" x="10" index="1"/> + </wtx:analog> + </wtx:pins> + <wtx:id>gnd</wtx:id> + <wtx:type>gnd</wtx:type> + <wtx:name>ground</wtx:name> + <wtx:category>sources</wtx:category> + <wtx:flip/> + <wtx:value/> + <wtx:label>value-gnd-5035f7e63ac2b1</wtx:label> + <wtx:spice/> + <wtx:model/> +</wtx:part> +</metadata> + + <path id="path3694" d="M 10,0 L 10,11"/> + <path id="path3696" d="M 0.50000006,11.834153 L 19.671275,11.834153"/> + <path id="path3698" d="M 2.6480823,14.5 L 17.732881,14.5"/> + <path id="path3700" d="M 5.802873,17.5 L 14.648082,17.5"/> + </g><text x="590" y="39.9998779296875" font-size="12" fill="black" stroke-width="0px" id="value-gnd-dc399501569dd6"><tspan dx="0" dy="0">gnd</tspan></text><g class="ground" id="Gnd" stroke-width="2px" stroke="black" connects="10,0" transform="matrix(-1,1.2246468525851679e-16,-1.2246468525851679e-16,-1,610,60)"> +<metadata> +<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics"> + <wtx:pins> + <wtx:analog> + <wtx:node y="0" x="10" index="1"/> + </wtx:analog> + </wtx:pins> + <wtx:id>gnd</wtx:id> + <wtx:type>gnd</wtx:type> + <wtx:name>ground</wtx:name> + <wtx:category>sources</wtx:category> + <wtx:flip/> + <wtx:value/> + <wtx:label>value-gnd-dc399501569dd6</wtx:label> + <wtx:spice/> + <wtx:model/> +</wtx:part> +</metadata> + + <path id="path3694" d="M 10,0 L 10,11"/> + <path id="path3696" d="M 0.50000006,11.834153 L 19.671275,11.834153"/> + <path id="path3698" d="M 2.6480823,14.5 L 17.732881,14.5"/> + <path id="path3700" d="M 5.802873,17.5 L 14.648082,17.5"/> + </g><circle cx="526" cy="220" r="3" stroke="black" fill="black"/><circle cx="600" cy="230" r="3" stroke="black" fill="black"/><circle cx="600" cy="332" r="3" stroke="black" fill="black"/><line x1="570" y1="180" x2="526" y2="180" stroke="black" stroke-width="2"/><line x1="526" y1="180" x2="526" y2="270" stroke="black" stroke-width="2"/><line x1="526" y1="270" x2="570" y2="270" stroke="black" stroke-width="2"/><line x1="410" y1="220" x2="370" y2="220" stroke="black" stroke-width="2"/><line x1="370" y1="220" x2="370" y2="240" stroke="black" stroke-width="2"/><line x1="526" y1="180" x2="526" y2="220" stroke="black" stroke-width="2"/><line x1="526" y1="220" x2="526" y2="270" stroke="black" stroke-width="2"/><line x1="470" y1="220" x2="526" y2="220" stroke="black" stroke-width="2"/><line x1="600" y1="120" x2="600" y2="160" stroke="black" stroke-width="2"/><line x1="600" y1="70" x2="600" y2="60" stroke="black" stroke-width="2"/><line x1="600" y1="200" x2="600" y2="250" stroke="black" stroke-width="2"/><line x1="600" y1="290" x2="600" y2="370" stroke="black" stroke-width="2"/><line x1="710" y1="230" x2="603" y2="230" stroke="black" stroke-width="2"/><line x1="600" y1="200" x2="600" y2="230" stroke="black" stroke-width="2"/><line x1="600" y1="230" x2="600" y2="250" stroke="black" stroke-width="2"/><line x1="603" y1="230" x2="600" y2="230" stroke="black" stroke-width="2"/><line x1="710" y1="260" x2="710" y2="332" stroke="black" stroke-width="2"/><line x1="600" y1="290" x2="600" y2="332" stroke="black" stroke-width="2"/><line x1="600" y1="332" x2="600" y2="370" stroke="black" stroke-width="2"/><line x1="710" y1="332" x2="600" y2="332" stroke="black" stroke-width="2"/></svg> |