<circuit type="simulide_1.0" stepSize="1000000" stepsPS="1000000" NLsteps="100000" animate="1" >

<item itemtype="Fixed Voltage" CircId="Fixed Volt.-21" mainComp="false" Show_id="true" Show_Val="true" Pos="-468,-260" rotation="0" hflip="1" vflip="1" label="Direction" idLabPos="-35,-27" labelrot="0" valLabPos="-8,11" valLabRot="0" Out="false" Voltage="5 V" />

<item itemtype="Buffer" CircId="Buffer-18" mainComp="false" Show_id="false" Show_Val="false" Pos="-308,-116" rotation="0" hflip="1" vflip="1" label="Buffer-18" idLabPos="-16,-24" labelrot="0" valLabPos="0,0" valLabRot="0" Tristate="false" Inverted="true" Open_Collector="false" Input_High_V="2.5 V" Input_Low_V="2.5 V" Input_Imped="1e+14 Ω" Out_High_V="5 V" Out_Low_V="0 V" Out_Imped="40 Ω" rndPD="false" Tpd_ps="10000 ps" Tr_ps="3000 ps" Tf_ps="4000 ps" />

<item itemtype="Mosfet" CircId="Mosfet-16" mainComp="false" Show_id="true" Show_Val="false" Pos="-244,-260" rotation="0" hflip="-1" vflip="-1" label="P_Ch-1" idLabPos="-9.14953,26.8763" labelrot="0" valLabPos="0,0" valLabRot="0" P_Channel="true" Depletion="false" RDSon="1 Ω" Threshold="3 V" />

<item itemtype="Mosfet" CircId="Mosfet-15" mainComp="false" Show_id="true" Show_Val="false" Pos="-244,-188" rotation="0" hflip="-1" vflip="1" label="N-Ch-1" idLabPos="-8.6186,13.2216" labelrot="0" valLabPos="0,0" valLabRot="0" P_Channel="false" Depletion="false" RDSon="1 Ω" Threshold="3 V" />

<item itemtype="Mosfet" CircId="Mosfet-14" mainComp="false" Show_id="true" Show_Val="false" Pos="-372,-188" rotation="0" hflip="1" vflip="1" label="N_Ch-0" idLabPos="-41.7165,13.8763" labelrot="0" valLabPos="0,0" valLabRot="0" P_Channel="false" Depletion="false" RDSon="1 Ω" Threshold="3 V" />

<item itemtype="Ground" CircId="Ground (0 V)-13" mainComp="false" Show_id="false" Show_Val="false" Pos="-308,-140" rotation="0" hflip="1" vflip="1" label="Ground (0 V)-13" idLabPos="-16,-24" labelrot="0" valLabPos="0,0" valLabRot="0" />

<item itemtype="Mosfet" CircId="Mosfet-12" mainComp="false" Show_id="true" Show_Val="false" Pos="-372,-260" rotation="0" hflip="1" vflip="-1" label="P_Ch-0" idLabPos="-40.5928,25.8763" labelrot="0" valLabPos="0,0" valLabRot="0" P_Channel="true" Depletion="false" RDSon="1 Ω" Threshold="3 V" />

<item itemtype="Rail" CircId="Rail.-11" mainComp="false" ShowProp="Voltage" Show_id="false" Show_Val="true" Pos="-308,-316" rotation="90" hflip="1" vflip="1" label="Rail.-11" idLabPos="-64,-24" labelrot="0" valLabPos="-21.3869,7.32664" valLabRot="-90" Voltage="5 V" />

<item itemtype="Led" CircId="Led-9" mainComp="false" Show_id="false" Show_Val="false" Pos="-332,-236" rotation="0" hflip="1" vflip="1" label="Led-9" idLabPos="-16,-24" labelrot="0" valLabPos="0,0" valLabRot="0" Color="Yellow" Grounded="false" Threshold="2.4 V" MaxCurrent="0.03 A" Resistance="0.6 Ω" />

<item itemtype="Resistor" CircId="Resistor-8" mainComp="false" ShowProp="Resistance" Show_id="false" Show_Val="true" Pos="-284,-236" rotation="0" hflip="1" vflip="1" label="Resistor-8" idLabPos="-12,-24" labelrot="0" valLabPos="-13.3066,-16.2209" valLabRot="0" Resistance="100 Ω" />

<item itemtype="Led" CircId="Led-5" mainComp="false" Show_id="false" Show_Val="false" Pos="-284,-212" rotation="-180" hflip="1" vflip="1" label="Led-5" idLabPos="-16,-24" labelrot="0" valLabPos="0,0" valLabRot="0" Color="Yellow" Grounded="false" Threshold="2.4 V" MaxCurrent="0.03 A" Resistance="0.6 Ω" />

<item itemtype="Resistor" CircId="Resistor-4" mainComp="false" ShowProp="Resistance" Show_id="false" Show_Val="true" Pos="-332,-212" rotation="0" hflip="1" vflip="1" label="Resistor-4" idLabPos="-12,-24" labelrot="0" valLabPos="-16,6" valLabRot="0" Resistance="100 Ω" />

<item itemtype="TextComponent" CircId="Text-1" mainComp="false" Show_id="false" Show_Val="false" Pos="-520,-228" rotation="0" hflip="1" vflip="1" label="Text-1" idLabPos="-16,-24" labelrot="0" valLabPos="0,0" valLabRot="0" Margin="2 Pixels" Border="1 _Pixels" Opacity="1" Font="Helvetica [Cronyx]" Font_Size="10 _Pixels" Fixed_Width="false" Text="Mosfet State:&#xa;&#xa; Yellow = ON&#xa;&#xa; White = OFF&#xa;" />

<item itemtype="Node" CircId="Node-22" mainComp="false" Pos="-428,-260" />

<item itemtype="Node" CircId="Node-20" mainComp="false" Pos="-188,-188" />

<item itemtype="Node" CircId="Node-19" mainComp="false" Pos="-428,-188" />

<item itemtype="Node" CircId="Node-17" mainComp="false" Pos="-308,-164" />

<item itemtype="Node" CircId="Node-10" mainComp="false" Pos="-308,-292" />

<item itemtype="Node" CircId="Node-7" mainComp="false" Pos="-252,-236" />

<item itemtype="Node" CircId="Node-6" mainComp="false" Pos="-364,-236" />

<item itemtype="Node" CircId="Node-3" mainComp="false" Pos="-364,-212" />

<item itemtype="Node" CircId="Node-2" mainComp="false" Pos="-252,-212" />

<item itemtype="Connector" uid="Connector-23" startpinid="Ground (0 V)-13-Gnd" endpinid="Node-17-0" pointList="-308,-156,-308,-164" />

<item itemtype="Connector" uid="Connector-25" startpinid="Mosfet-12-Dren" endpinid="Node-6-0" pointList="-364,-244,-364,-236" />

<item itemtype="Connector" uid="Connector-27" startpinid="Mosfet-16-Dren" endpinid="Node-7-0" pointList="-252,-244,-252,-236" />

<item itemtype="Connector" uid="Connector-29" startpinid="Mosfet-15-Sour" endpinid="Node-17-1" pointList="-252,-172,-252,-164,-308,-164" />

<item itemtype="Connector" uid="Connector-30" startpinid="Node-17-2" endpinid="Mosfet-14-Sour" pointList="-308,-164,-364,-164,-364,-172" />

<item itemtype="Connector" uid="Connector-31" startpinid="Node-19-2" endpinid="Mosfet-14-Gate" pointList="-428,-188,-388,-188" />

<item itemtype="Connector" uid="Connector-33" startpinid="Node-19-1" endpinid="Buffer-18-in0" pointList="-428,-188,-428,-116,-324,-116" />

<item itemtype="Connector" uid="Connector-34" startpinid="Buffer-18-out" endpinid="Node-20-0" pointList="-292,-116,-188,-116,-188,-188" />

<item itemtype="Connector" uid="Connector-36" startpinid="Mosfet-15-Gate" endpinid="Node-20-1" pointList="-228,-188,-188,-188" />

<item itemtype="Connector" uid="Connector-37" startpinid="Node-20-2" endpinid="Mosfet-16-Gate" pointList="-188,-188,-188,-260,-228,-260" />

<item itemtype="Connector" uid="Connector-38" startpinid="Mosfet-12-Gate" endpinid="Node-22-0" pointList="-388,-260,-428,-260" />

<item itemtype="Connector" uid="Connector-39" startpinid="Fixed Volt.-21-outnod" endpinid="Node-22-1" pointList="-452,-260,-428,-260" />

<item itemtype="Connector" uid="Connector-40" startpinid="Node-22-2" endpinid="Node-19-0" pointList="-428,-260,-428,-188" />

<item itemtype="Connector" uid="Connector-41" startpinid="Mosfet-16-Sour" endpinid="Node-10-0" pointList="-252,-276,-252,-292,-308,-292" />

<item itemtype="Connector" uid="Connector-43" startpinid="Rail.-11-outnod" endpinid="Node-10-1" pointList="-308,-300,-308,-292" />

<item itemtype="Connector" uid="Connector-44" startpinid="Node-10-2" endpinid="Mosfet-12-Sour" pointList="-308,-292,-364,-292,-364,-276" />

<item itemtype="Connector" uid="Connector-45" startpinid="Resistor-8-rPin" endpinid="Node-7-1" pointList="-268,-236,-252,-236" />

<item itemtype="Connector" uid="Connector-46" startpinid="Node-7-2" endpinid="Node-2-0" pointList="-252,-236,-252,-212" />

<item itemtype="Connector" uid="Connector-47" startpinid="Resistor-8-lPin" endpinid="Led-9-rPin" pointList="-300,-236,-316,-236" />

<item itemtype="Connector" uid="Connector-49" startpinid="Led-9-lPin" endpinid="Node-6-1" pointList="-348,-236,-364,-236" />

<item itemtype="Connector" uid="Connector-50" startpinid="Node-6-2" endpinid="Node-3-0" pointList="-364,-236,-364,-212" />

<item itemtype="Connector" uid="Connector-51" startpinid="Resistor-4-rPin" endpinid="Led-5-rPin" pointList="-316,-212,-300,-212" />

<item itemtype="Connector" uid="Connector-53" startpinid="Resistor-4-lPin" endpinid="Node-3-1" pointList="-348,-212,-364,-212" />

<item itemtype="Connector" uid="Connector-54" startpinid="Node-3-2" endpinid="Mosfet-14-Dren" pointList="-364,-212,-364,-204" />

<item itemtype="Connector" uid="Connector-55" startpinid="Led-5-lPin" endpinid="Node-2-1" pointList="-268,-212,-252,-212" />

<item itemtype="Connector" uid="Connector-56" startpinid="Node-2-2" endpinid="Mosfet-15-Dren" pointList="-252,-212,-252,-204" />

</circuit>