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

<item itemtype="Rail" CircId="Rail-509" mainComp="false" ShowProp="Voltage" Show_id="false" Show_Val="true" Pos="-176,-84" rotation="0" hflip="1" vflip="1" label="Rail-101" idLabPos="-16,-24" labelrot="0" valLabPos="-5,-20" valLabRot="0" Voltage="5 V" />

<item itemtype="ResistorDip" CircId="ResistorDip-506" mainComp="false" ShowProp="Resistance" Show_id="false" Show_Val="true" Pos="-180,-32" rotation="90" hflip="1" vflip="1" label="ResistorDip-88" idLabPos="-24,-40" labelrot="0" valLabPos="5,-26" valLabRot="90" Resistance="1 kΩ" Size="4 _Resist." />

<item itemtype="Probe" CircId="Probe-499" mainComp="false" Show_id="false" Show_Val="true" Pos="-120,40" rotation="-45" hflip="1" vflip="1" label="Probe-2" idLabPos="16,-16" labelrot="45" valLabPos="16,0" valLabRot="45" ShowVolt="true" Threshold="2.5 V" />

<item itemtype="Probe" CircId="Probe-498" mainComp="false" Show_id="false" Show_Val="true" Pos="-136,32" rotation="-45" hflip="1" vflip="1" label="Probe-2" idLabPos="16,-16" labelrot="45" valLabPos="16,0" valLabRot="45" ShowVolt="true" Threshold="2.5 V" />

<item itemtype="Probe" CircId="Probe-497" mainComp="false" Show_id="false" Show_Val="true" Pos="-104,48" rotation="-45" hflip="1" vflip="1" label="Probe-2" idLabPos="16,-16" labelrot="45" valLabPos="16,0" valLabRot="45" ShowVolt="true" Threshold="2.5 V" />

<item itemtype="Probe" CircId="Probe-496" mainComp="false" Show_id="false" Show_Val="true" Pos="-88,56" rotation="-45" hflip="1" vflip="1" label="Probe-2" idLabPos="16,-16" labelrot="45" valLabPos="16,0" valLabRot="45" ShowVolt="true" Threshold="2.5 V" />

<item itemtype="Subcircuit" CircId="74XX170-300" mainComp="false" Show_id="true" Show_Val="false" Pos="-256,12" rotation="0" hflip="1" vflip="1" label="74XX170-46" idLabPos="-12,-15" labelrot="0" valLabPos="13,48" valLabRot="-90" Logic_Symbol="false" />

<item itemtype="Fixed Voltage" CircId="Fixed Voltage-1" mainComp="false" Show_id="false" Show_Val="true" Pos="-412,-156" rotation="0" hflip="1" vflip="1" label="Fixed Voltage-10" idLabPos="-64,-24" labelrot="0" valLabPos="-45,-5" valLabRot="0" Out="false" Voltage="5 V" />

<item itemtype="Fixed Voltage" CircId="Fixed Voltage-2" mainComp="false" Show_id="false" Show_Val="true" Pos="-404,-60" rotation="0" hflip="1" vflip="1" label="Fixed Voltage-10" idLabPos="-64,-24" labelrot="0" valLabPos="-45,-5" valLabRot="0" Out="true" Voltage="5 V" />

<item itemtype="Fixed Voltage" CircId="Fixed Voltage-3" mainComp="false" Show_id="false" Show_Val="true" Pos="-404,-28" rotation="0" hflip="1" vflip="1" label="Fixed Voltage-10" idLabPos="-64,-24" labelrot="0" valLabPos="-45,-5" valLabRot="0" Out="true" Voltage="5 V" />

<item itemtype="Fixed Voltage" CircId="Fixed Voltage-4" mainComp="false" Show_id="false" Show_Val="true" Pos="-404,-44" rotation="0" hflip="1" vflip="1" label="Fixed Voltage-10" idLabPos="-64,-24" labelrot="0" valLabPos="-45,-5" valLabRot="0" Out="false" Voltage="5 V" />

<item itemtype="Fixed Voltage" CircId="Fixed Voltage-5" mainComp="false" Show_id="false" Show_Val="true" Pos="-404,-116" rotation="0" hflip="1" vflip="1" label="Fixed Voltage-10" idLabPos="-64,-24" labelrot="0" valLabPos="-45,-5" valLabRot="0" Out="true" Voltage="5 V" />

<item itemtype="Fixed Voltage" CircId="Fixed Voltage-6" mainComp="false" Show_id="false" Show_Val="true" Pos="-404,-84" rotation="0" hflip="1" vflip="1" label="Fixed Voltage-10" idLabPos="-64,-24" labelrot="0" valLabPos="-45,-5" valLabRot="0" Out="true" Voltage="5 V" />

<item itemtype="Fixed Voltage" CircId="Fixed Voltage-7" mainComp="false" Show_id="false" Show_Val="true" Pos="-404,-100" rotation="0" hflip="1" vflip="1" label="Fixed Voltage-10" idLabPos="-64,-24" labelrot="0" valLabPos="-45,-5" valLabRot="0" Out="false" Voltage="5 V" />

<item itemtype="Fixed Voltage" CircId="Fixed Voltage-8" mainComp="false" Show_id="false" Show_Val="true" Pos="-412,-172" rotation="0" hflip="1" vflip="1" label="Fixed Voltage-10" idLabPos="-64,-24" labelrot="0" valLabPos="-45,-5" valLabRot="0" Out="false" Voltage="5 V" />

<item itemtype="Fixed Voltage" CircId="Fixed Voltage-9" mainComp="false" Show_id="false" Show_Val="true" Pos="-412,-188" rotation="0" hflip="1" vflip="1" label="Fixed Voltage-10" idLabPos="-64,-24" labelrot="0" valLabPos="-45,-5" valLabRot="0" Out="true" Voltage="5 V" />

<item itemtype="Fixed Voltage" CircId="Fixed Voltage-10" mainComp="false" Show_id="false" Show_Val="true" Pos="-412,-204" rotation="0" hflip="1" vflip="1" label="Fixed Voltage-10" idLabPos="-64,-24" labelrot="0" valLabPos="-45,-5" valLabRot="0" Out="true" Voltage="5 V" />

<item itemtype="Probe" CircId="Probe-11" mainComp="false" Show_id="false" Show_Val="true" Pos="-92,-172" rotation="-45" hflip="1" vflip="1" label="Probe-2" idLabPos="16,-16" labelrot="45" valLabPos="16,0" valLabRot="45" ShowVolt="true" Threshold="2.5 V" />

<item itemtype="Probe" CircId="Probe-12" mainComp="false" Show_id="false" Show_Val="true" Pos="-108,-180" rotation="-45" hflip="1" vflip="1" label="Probe-2" idLabPos="16,-16" labelrot="45" valLabPos="16,0" valLabRot="45" ShowVolt="true" Threshold="2.5 V" />

<item itemtype="Probe" CircId="Probe-13" mainComp="false" Show_id="false" Show_Val="true" Pos="-124,-188" rotation="-45" hflip="1" vflip="1" label="Probe-2" idLabPos="16,-16" labelrot="45" valLabPos="16,0" valLabRot="45" ShowVolt="true" Threshold="2.5 V" />

<item itemtype="Probe" CircId="Probe-14" mainComp="false" Show_id="false" Show_Val="true" Pos="-140,-196" rotation="-45" hflip="1" vflip="1" label="Probe-2" idLabPos="16,-16" labelrot="45" valLabPos="16,0" valLabRot="45" ShowVolt="true" Threshold="2.5 V" />

<item itemtype="Subcircuit" CircId="74XX170-46" mainComp="false" Show_id="true" Show_Val="false" Pos="-260,-188" rotation="0" hflip="1" vflip="1" label="74XX170-46" idLabPos="0,-20" labelrot="0" valLabPos="13,64" valLabRot="-90" Logic_Symbol="true" />

<item itemtype="ResistorDip" CircId="ResistorDip-88" mainComp="false" ShowProp="Resistance" Show_id="false" Show_Val="true" Pos="-196,-260" rotation="90" hflip="1" vflip="1" label="ResistorDip-88" idLabPos="-24,-40" labelrot="0" valLabPos="5,-26" valLabRot="90" Resistance="1 kΩ" Size="4 _Resist." />

<item itemtype="Rail" CircId="Rail-101" mainComp="false" ShowProp="Voltage" Show_id="false" Show_Val="true" Pos="-236,-292" rotation="0" hflip="1" vflip="1" label="Rail-101" idLabPos="-16,-24" labelrot="0" valLabPos="-16,8" valLabRot="0" Voltage="5 V" />

<item itemtype="Node" CircId="Node-535" mainComp="false" Pos="-180,92" />

<item itemtype="Node" CircId="Node-532" mainComp="false" Pos="-172,88" />

<item itemtype="Node" CircId="Node-529" mainComp="false" Pos="-164,76" />

<item itemtype="Node" CircId="Node-526" mainComp="false" Pos="-152,48" />

<item itemtype="Node" CircId="Node-523" mainComp="false" Pos="-156,-64" />

<item itemtype="Node" CircId="Node-507" mainComp="false" Pos="-172,-64" />

<item itemtype="Node" CircId="Node-505" mainComp="false" Pos="-164,-64" />

<item itemtype="Node" CircId="Node-494" mainComp="false" Pos="-312,-92" />

<item itemtype="Node" CircId="Node-491" mainComp="false" Pos="-308,-124" />

<item itemtype="Node" CircId="Node-488" mainComp="false" Pos="-304,-140" />

<item itemtype="Node" CircId="Node-485" mainComp="false" Pos="-300,-132" />

<item itemtype="Node" CircId="Node-482" mainComp="false" Pos="-296,-108" />

<item itemtype="Node" CircId="Node-479" mainComp="false" Pos="-292,-100" />

<item itemtype="Node" CircId="Node-476" mainComp="false" Pos="-288,-156" />

<item itemtype="Node" CircId="Node-473" mainComp="false" Pos="-284,-164" />

<item itemtype="Node" CircId="Node-470" mainComp="false" Pos="-280,-172" />

<item itemtype="Node" CircId="Node-467" mainComp="false" Pos="-276,-180" />

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

<item itemtype="Node" CircId="Node-96" mainComp="false" Pos="-180,-164" />

<item itemtype="Node" CircId="Node-104" mainComp="false" Pos="-180,-292" />

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

<item itemtype="Node" CircId="Node-110" mainComp="false" Pos="-196,-292" />

<item itemtype="Node" CircId="Node-116" mainComp="false" Pos="-196,-180" />

<item itemtype="Node" CircId="Node-119" mainComp="false" Pos="-172,-156" />

<item itemtype="Connector" uid="Connector-30" startpinid="Fixed Voltage-10-outnod" endpinid="Node-467-0" pointList="-396,-204,-364,-204,-364,-180,-276,-180" />

<item itemtype="Connector" uid="Connector-28" startpinid="Fixed Voltage-9-outnod" endpinid="Node-470-0" pointList="-396,-188,-380,-188,-380,-172,-280,-172" />

<item itemtype="Connector" uid="Connector-26" startpinid="Fixed Voltage-8-outnod" endpinid="Node-473-0" pointList="-396,-172,-396,-164,-284,-164" />

<item itemtype="Connector" uid="Connector-24" startpinid="Fixed Voltage-1-outnod" endpinid="Node-476-0" pointList="-396,-156,-288,-156" />

<item itemtype="Connector" uid="Connector-32" startpinid="Fixed Voltage-5-outnod" endpinid="Node-488-0" pointList="-388,-116,-388,-140,-304,-140" />

<item itemtype="Connector" uid="Connector-34" startpinid="Fixed Voltage-7-outnod" endpinid="Node-485-0" pointList="-388,-100,-380,-100,-380,-132,-300,-132" />

<item itemtype="Connector" uid="Connector-36" startpinid="Fixed Voltage-6-outnod" endpinid="Node-491-0" pointList="-388,-84,-372,-84,-372,-124,-308,-124" />

<item itemtype="Connector" uid="Connector-38" startpinid="Fixed Voltage-2-outnod" endpinid="Node-482-0" pointList="-388,-60,-364,-60,-364,-108,-296,-108" />

<item itemtype="Connector" uid="Connector-40" startpinid="Fixed Voltage-4-outnod" endpinid="Node-479-0" pointList="-388,-44,-356,-44,-356,-100,-292,-100" />

<item itemtype="Connector" uid="Connector-42" startpinid="Fixed Voltage-3-outnod" endpinid="Node-494-0" pointList="-388,-28,-348,-28,-348,-92,-312,-92" />

<item itemtype="Connector" uid="Connector-18" startpinid="Probe-13-inpin" endpinid="Node-93-0" pointList="-140,-172,-188,-172" />

<item itemtype="Connector" uid="Connector-86" startpinid="74XX170-46-Q2" endpinid="Node-96-0" pointList="-220,-164,-180,-164" />

<item itemtype="Connector" uid="Connector-92" startpinid="ResistorDip-88-resistor2-ePin5" endpinid="Node-93-1" pointList="-188,-244,-188,-172" />

<item itemtype="Connector" uid="Connector-94" startpinid="Node-93-2" endpinid="74XX170-46-Q1" pointList="-188,-172,-220,-172" />

<item itemtype="Connector" uid="Connector-95" startpinid="ResistorDip-88-resistor1-ePin3" endpinid="Node-96-1" pointList="-180,-244,-180,-164" />

<item itemtype="Connector" uid="Connector-97" startpinid="Node-96-2" endpinid="Probe-12-inpin" pointList="-180,-164,-124,-164" />

<item itemtype="Connector" uid="Connector-102" startpinid="Rail-101-outnod" endpinid="Node-110-0" pointList="-220,-292,-196,-292" />

<item itemtype="Connector" uid="Connector-103" startpinid="ResistorDip-88-resistor1-ePin2" endpinid="Node-104-1" pointList="-180,-276,-180,-292" />

<item itemtype="Connector" uid="Connector-105" startpinid="Node-104-2" endpinid="ResistorDip-88-resistor0-ePin0" pointList="-180,-292,-172,-292,-172,-276" />

<item itemtype="Connector" uid="Connector-106" startpinid="ResistorDip-88-resistor2-ePin4" endpinid="Node-107-1" pointList="-188,-276,-188,-292" />

<item itemtype="Connector" uid="Connector-108" startpinid="Node-107-2" endpinid="Node-104-0" pointList="-188,-292,-180,-292" />

<item itemtype="Connector" uid="Connector-109" startpinid="ResistorDip-88-resistor3-ePin6" endpinid="Node-110-1" pointList="-196,-276,-196,-292" />

<item itemtype="Connector" uid="Connector-111" startpinid="Node-110-2" endpinid="Node-107-0" pointList="-196,-292,-188,-292" />

<item itemtype="Connector" uid="Connector-16" startpinid="Probe-14-inpin" endpinid="Node-116-0" pointList="-156,-180,-196,-180" />

<item itemtype="Connector" uid="Connector-115" startpinid="ResistorDip-88-resistor3-ePin7" endpinid="Node-116-1" pointList="-196,-244,-196,-180" />

<item itemtype="Connector" uid="Connector-117" startpinid="Node-116-2" endpinid="74XX170-46-Q0" pointList="-196,-180,-220,-180" />

<item itemtype="Connector" uid="Connector-87" startpinid="74XX170-46-Q3" endpinid="Node-119-0" pointList="-220,-156,-172,-156" />

<item itemtype="Connector" uid="Connector-118" startpinid="ResistorDip-88-resistor0-ePin1" endpinid="Node-119-1" pointList="-172,-244,-172,-156" />

<item itemtype="Connector" uid="Connector-120" startpinid="Node-119-2" endpinid="Probe-11-inpin" pointList="-172,-156,-108,-156" />

<item itemtype="Connector" uid="Connector-466" startpinid="74XX170-300-D0" endpinid="Node-467-1" pointList="-216,28,-196,28,-196,-64,-276,-64,-276,-180" />

<item itemtype="Connector" uid="Connector-468" startpinid="Node-467-2" endpinid="74XX170-46-D0" pointList="-276,-180,-268,-180" />

<item itemtype="Connector" uid="Connector-469" startpinid="74XX170-300-D1" endpinid="Node-470-1" pointList="-264,20,-280,20,-280,-172" />

<item itemtype="Connector" uid="Connector-471" startpinid="Node-470-2" endpinid="74XX170-46-D1" pointList="-280,-172,-268,-172" />

<item itemtype="Connector" uid="Connector-472" startpinid="74XX170-300-D2" endpinid="Node-473-1" pointList="-264,28,-284,28,-284,-164" />

<item itemtype="Connector" uid="Connector-474" startpinid="Node-473-2" endpinid="74XX170-46-D2" pointList="-284,-164,-268,-164" />

<item itemtype="Connector" uid="Connector-475" startpinid="74XX170-300-D3" endpinid="Node-476-1" pointList="-264,36,-288,36,-288,-156" />

<item itemtype="Connector" uid="Connector-477" startpinid="Node-476-2" endpinid="74XX170-46-D3" pointList="-288,-156,-268,-156" />

<item itemtype="Connector" uid="Connector-478" startpinid="74XX170-300-RB" endpinid="Node-479-1" pointList="-264,44,-292,44,-292,-100" />

<item itemtype="Connector" uid="Connector-480" startpinid="Node-479-2" endpinid="74XX170-46-RB" pointList="-292,-100,-268,-100" />

<item itemtype="Connector" uid="Connector-481" startpinid="74XX170-300-RA" endpinid="Node-482-1" pointList="-264,52,-296,52,-296,-108" />

<item itemtype="Connector" uid="Connector-483" startpinid="Node-482-2" endpinid="74XX170-46-RA" pointList="-296,-108,-268,-108" />

<item itemtype="Connector" uid="Connector-484" startpinid="74XX170-300-WB" endpinid="Node-485-1" pointList="-216,44,-192,44,-192,-68,-300,-68,-300,-132" />

<item itemtype="Connector" uid="Connector-486" startpinid="Node-485-2" endpinid="74XX170-46-WB" pointList="-300,-132,-268,-132" />

<item itemtype="Connector" uid="Connector-487" startpinid="74XX170-300-WA" endpinid="Node-488-1" pointList="-216,36,-200,36,-200,-60,-304,-60,-304,-140" />

<item itemtype="Connector" uid="Connector-489" startpinid="Node-488-2" endpinid="74XX170-46-WA" pointList="-304,-140,-268,-140" />

<item itemtype="Connector" uid="Connector-490" startpinid="74XX170-300-!WE" endpinid="Node-491-1" pointList="-216,52,-204,52,-204,-56,-308,-56,-308,-124" />

<item itemtype="Connector" uid="Connector-492" startpinid="Node-491-2" endpinid="74XX170-46-!WE" pointList="-308,-124,-268,-124" />

<item itemtype="Connector" uid="Connector-493" startpinid="74XX170-300-!RE" endpinid="Node-494-1" pointList="-216,60,-208,60,-208,-52,-312,-52,-312,-92" />

<item itemtype="Connector" uid="Connector-495" startpinid="Node-494-2" endpinid="74XX170-46-!RE" pointList="-312,-92,-268,-92" />

<item itemtype="Connector" uid="Connector-501" startpinid="Probe-498-inpin" endpinid="Node-526-0" pointList="-152,48,-152,48" />

<item itemtype="Connector" uid="Connector-502" startpinid="74XX170-300-Q1" endpinid="Node-529-0" pointList="-216,76,-164,76" />

<item itemtype="Connector" uid="Connector-503" startpinid="Probe-497-inpin" endpinid="Node-532-0" pointList="-120,64,-120,88,-172,88" />

<item itemtype="Connector" uid="Connector-504" startpinid="Probe-496-inpin" endpinid="Node-535-0" pointList="-104,72,-104,92,-180,92" />

<item itemtype="Connector" uid="Connector-514" startpinid="ResistorDip-506-resistor1-ePin2" endpinid="Node-505-1" pointList="-164,-48,-164,-64" />

<item itemtype="Connector" uid="Connector-515" startpinid="Node-507-2" endpinid="Node-505-0" pointList="-172,-64,-164,-64" />

<item itemtype="Connector" uid="Connector-518" startpinid="ResistorDip-506-resistor2-ePin4" endpinid="Node-507-1" pointList="-172,-48,-172,-64" />

<item itemtype="Connector" uid="Connector-520" startpinid="Node-505-2" endpinid="Node-523-0" pointList="-164,-64,-156,-64" />

<item itemtype="Connector" uid="Connector-519" startpinid="ResistorDip-506-resistor3-ePin6" endpinid="Node-507-0" pointList="-180,-48,-180,-64,-172,-64" />

<item itemtype="Connector" uid="Connector-522" startpinid="Rail-509-outnod" endpinid="Node-523-1" pointList="-160,-84,-156,-84,-156,-64" />

<item itemtype="Connector" uid="Connector-524" startpinid="Node-523-2" endpinid="ResistorDip-506-resistor0-ePin0" pointList="-156,-64,-156,-48" />

<item itemtype="Connector" uid="Connector-525" startpinid="ResistorDip-506-resistor0-ePin1" endpinid="Node-526-1" pointList="-156,-16,-156,48,-152,48" />

<item itemtype="Connector" uid="Connector-527" startpinid="Node-526-2" endpinid="74XX170-300-Q0" pointList="-152,48,-152,68,-216,68" />

<item itemtype="Connector" uid="Connector-528" startpinid="ResistorDip-506-resistor1-ePin3" endpinid="Node-529-1" pointList="-164,-16,-164,76" />

<item itemtype="Connector" uid="Connector-530" startpinid="Node-529-2" endpinid="Probe-499-inpin" pointList="-164,76,-136,76,-136,56" />

<item itemtype="Connector" uid="Connector-531" startpinid="ResistorDip-506-resistor2-ePin5" endpinid="Node-532-1" pointList="-172,-16,-172,88" />

<item itemtype="Connector" uid="Connector-533" startpinid="Node-532-2" endpinid="74XX170-300-Q2" pointList="-172,88,-268,88,-268,68,-264,68" />

<item itemtype="Connector" uid="Connector-534" startpinid="ResistorDip-506-resistor3-ePin7" endpinid="Node-535-1" pointList="-180,-16,-180,92" />

<item itemtype="Connector" uid="Connector-536" startpinid="Node-535-2" endpinid="74XX170-300-Q3" pointList="-180,92,-276,92,-276,60,-264,60" />

</circuit>