CZ_OpenSpice/Schematic/spice.xml

50 lines
2.7 KiB
XML

<mxGraphModel>
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="4" value="Name=Vdd;Value=10 V;" style="shape=vdd;verticalLabelPosition=top;verticalAlign=bottom" vertex="1" parent="1">
<mxGeometry x="380" y="60" width="40" height="30" as="geometry" />
</mxCell>
<mxCell id="5" value="Name=Gnd;" style="shape=gnd;verticalLabelPosition=top;verticalAlign=bottom" vertex="1" parent="1">
<mxGeometry x="380" y="360" width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="6" value="Name=NMOS;Length=100nm;Width=20nm;" style="shape=n_mosfet;verticalLabelPosition=top;verticalAlign=bottom" vertex="1" parent="1">
<mxGeometry x="330" y="260" width="60" height="60" as="geometry" />
</mxCell>
<mxCell id="7" value="Name=PMOS;Length=100nm;Width=20nm;" style="shape=p_mosfet;verticalLabelPosition=top;verticalAlign=bottom" vertex="1" parent="1">
<mxGeometry x="330" y="130" width="60" height="60" as="geometry" />
</mxCell>
<mxCell id="8" style="exitX=1;exitY=0.25;sourcePort=s;targetPort=s;" edge="1" parent="1" source="7" target="4">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="9" style="exitX=1;exitY=0.75;sourcePort=d;targetPort=s;" edge="1" parent="1" source="7" target="6">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="400" y="270" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="10" style="exitX=1;exitY=0.75;sourcePort=d;targetPort=n;" edge="1" parent="1" source="6" target="5">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="11" style="exitX=0;exitY=0.5;sourcePort=g;targetPort=g;" edge="1" parent="1" source="6" target="7">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="12" value="Name=Pin;" style="shape=pin;verticalLabelPosition=top;verticalAlign=bottom" vertex="1" parent="1">
<mxGeometry x="160" y="210" width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="13" style="exitX=1;exitY=0.5;sourcePort=e;" edge="1" parent="1" source="12" target="11">
<mxGeometry relative="1" as="geometry">
<mxPoint x="330" y="230" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="14" value="Name=Pout;" style="shape=pout;verticalLabelPosition=top;verticalAlign=bottom" vertex="1" parent="1">
<mxGeometry x="500" y="210" width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="15" style="exitX=0;exitY=0.5;sourcePort=e;" edge="1" parent="1" source="14" target="9">
<mxGeometry relative="1" as="geometry">
<mxPoint x="400" y="230" as="targetPoint" />
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>