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

<item itemtype="Fixed Voltage" CircId="Fixed Voltage-1187" mainComp="false" Show_id="true" Show_Val="false" Pos="-512,-80" rotation="0" hflip="1" vflip="1" label="!Up/Down" idLabPos="-82,-7" labelrot="0" valLabPos="-49,-6" valLabRot="0" Out="false" Voltage="5 V" />

<item itemtype="And Gate" CircId="And Gate-1175" mainComp="false" Show_id="false" Show_Val="false" Pos="-432,-100" rotation="0" hflip="1" vflip="1" label="And Gate-1166" idLabPos="-16,-24" labelrot="0" valLabPos="0,0" valLabRot="0" Num_Inputs="2 _Inputs" Inverted="false" 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="Buffer" CircId="Buffer-1174" mainComp="false" Show_id="false" Show_Val="false" Pos="-468,-104" rotation="0" hflip="1" vflip="1" label="Buffer-1171" 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="Buffer" CircId="Buffer-1171" mainComp="false" Show_id="false" Show_Val="false" Pos="-392,-80" rotation="0" hflip="1" vflip="1" label="Buffer-1171" 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="And Gate" CircId="And Gate-1168" mainComp="false" Show_id="false" Show_Val="false" Pos="-340,-44" rotation="0" hflip="1" vflip="1" label="And Gate-1168" idLabPos="-16,-24" labelrot="0" valLabPos="0,0" valLabRot="0" Num_Inputs="2 _Inputs" Inverted="false" 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="And Gate" CircId="And Gate-1166" mainComp="false" Show_id="false" Show_Val="false" Pos="-340,-76" rotation="0" hflip="1" vflip="1" label="And Gate-1166" idLabPos="-16,-24" labelrot="0" valLabPos="0,0" valLabRot="0" Num_Inputs="2 _Inputs" Inverted="false" 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="Subcircuit" CircId="Pattern_generator-1" mainComp="false" Show_id="true" Show_Val="false" Pos="-308,-84" rotation="0" hflip="1" vflip="1" label="Pattern_generator-1" idLabPos="0,-20" labelrot="0" valLabPos="57,40" valLabRot="-90" Logic_Symbol="true">
<mainCompProps itemtype="Memory" CircId="1_Memory-2289" mainComp="true" Show_id="false" Show_Val="false" Pos="20,20" rotation="0" hflip="1" vflip="1" label="1_Memory-2289" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Address_Bits="8 _Bits" Data_Bits="8 _Bits" Persistent="true" Inverted="false" Input_High_V="2.5 V" Input_Low_V="2.5 V" Input_Imped="1e+09 Ω" Out_High_V="5 V" Out_Low_V="0 V" Out_Imped="40 Ω" Tpd_ps="10000 ps" Tr_ps="3000 ps" Tf_ps="4000 ps" Mem="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15," />
</item>

<item itemtype="Clock" CircId="Clock-577" mainComp="false" Show_id="true" Show_Val="false" Pos="-512,-104" rotation="0" hflip="1" vflip="1" label="Clock" idLabPos="-60,-6" labelrot="0" valLabPos="-59,-5" valLabRot="0" Out="true" Running="true" Voltage="5 V" Freq="2 Hz" Always_On="false" />

<item itemtype="Fixed Voltage" CircId="Fixed Voltage-579" mainComp="false" Show_id="true" Show_Val="false" Pos="-512,-60" rotation="0" hflip="1" vflip="1" label="Reset" idLabPos="-58,-6" labelrot="0" valLabPos="-49,-6" valLabRot="0" Out="false" Voltage="5 V" />

<item itemtype="LAnalizer" CircId="LAnalizer-583" mainComp="false" Show_id="false" Show_Val="false" Pos="-24,-36" rotation="0" hflip="1" vflip="1" label="LAnalizer-583" idLabPos="-90,-100" labelrot="0" valLabPos="0,0" valLabRot="0" Basic_X="135 _Pixels" Basic_Y="135 _Pixels" TimDiv="3416209812000" TimPos="0" VolDiv="0.6" Tunnels=",,,,,,,," Trigger="3" Treshold="2.5 V" />

<item itemtype="Node" CircId="Node-1189" mainComp="false" Pos="-408,-80" />

<item itemtype="Node" CircId="Node-1185" mainComp="false" Pos="-364,-68" />

<item itemtype="Node" CircId="Node-1181" mainComp="false" Pos="-488,-104" />

<item itemtype="Connector" uid="Connector-584" startpinid="LAnalizer-583-Pin0" endpinid="Pattern_generator-1-Q0" pointList="-112,-100,-180,-100,-180,-76" />

<item itemtype="Connector" uid="Connector-585" startpinid="LAnalizer-583-Pin1" endpinid="Pattern_generator-1-Q1" pointList="-112,-84,-164,-84,-164,-68,-180,-68" />

<item itemtype="Connector" uid="Connector-586" startpinid="LAnalizer-583-Pin2" endpinid="Pattern_generator-1-Q2" pointList="-112,-68,-156,-68,-156,-60,-180,-60" />

<item itemtype="Connector" uid="Connector-587" startpinid="LAnalizer-583-Pin3" endpinid="Pattern_generator-1-Q3" pointList="-112,-52,-180,-52" />

<item itemtype="Connector" uid="Connector-589" startpinid="Fixed Voltage-579-outnod" endpinid="Pattern_generator-1-R" pointList="-496,-60,-316,-60" />

<item itemtype="Connector" uid="Connector-1167" startpinid="And Gate-1166-out" endpinid="Pattern_generator-1-U" pointList="-324,-76,-316,-76" />

<item itemtype="Connector" uid="Connector-1169" startpinid="And Gate-1168-out" endpinid="Pattern_generator-1-D" pointList="-324,-44,-316,-44" />

<item itemtype="Connector" uid="Connector-1170" startpinid="And Gate-1166-in1" endpinid="Node-1185-0" pointList="-356,-72,-364,-72,-364,-68" />

<item itemtype="Connector" uid="Connector-1172" startpinid="Buffer-1171-out" endpinid="And Gate-1166-in0" pointList="-376,-80,-356,-80" />

<item itemtype="Connector" uid="Connector-1173" startpinid="Buffer-1171-in0" endpinid="Node-1189-0" pointList="-408,-80,-408,-80" />

<item itemtype="Connector" uid="Connector-1177" startpinid="Buffer-1174-out" endpinid="And Gate-1175-in0" pointList="-452,-104,-448,-104" />

<item itemtype="Connector" uid="Connector-1180" startpinid="Clock-577-outnod" endpinid="Node-1181-0" pointList="-496,-104,-488,-104" />

<item itemtype="Connector" uid="Connector-1182" startpinid="Node-1181-2" endpinid="Buffer-1174-in0" pointList="-488,-104,-484,-104" />

<item itemtype="Connector" uid="Connector-1183" startpinid="Node-1181-1" endpinid="And Gate-1175-in1" pointList="-488,-104,-488,-96,-448,-96" />

<item itemtype="Connector" uid="Connector-1184" startpinid="And Gate-1175-out" endpinid="Node-1185-1" pointList="-416,-100,-416,-68,-364,-68" />

<item itemtype="Connector" uid="Connector-1186" startpinid="Node-1185-2" endpinid="And Gate-1168-in1" pointList="-364,-68,-364,-40,-356,-40" />

<item itemtype="Connector" uid="Connector-1188" startpinid="Fixed Voltage-1187-outnod" endpinid="Node-1189-1" pointList="-496,-80,-408,-80" />

<item itemtype="Connector" uid="Connector-1190" startpinid="Node-1189-2" endpinid="And Gate-1168-in0" pointList="-408,-80,-408,-48,-356,-48" />

</circuit>