<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project source="2.7.1" version="1.0">
This file is intended to be loaded by Logisim (http://www.cburch.com/logisim/).
<lib desc="#Wiring" name="0">
    <tool name="Splitter">
      <a name="fanout" val="8"/>
      <a name="incoming" val="8"/>
    </tool>
  </lib>
  <lib desc="#Gates" name="1">
    <tool name="AND Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="20"/>
    </tool>
    <tool name="NOR Gate">
      <a name="inputs" val="16"/>
    </tool>
    <tool name="XOR Gate">
      <a name="width" val="16"/>
    </tool>
  </lib>
  <lib desc="#Plexers" name="2">
    <tool name="Multiplexer">
      <a name="width" val="4"/>
      <a name="enable" val="false"/>
    </tool>
  </lib>
  <lib desc="#Arithmetic" name="3"/>
  <lib desc="#Memory" name="4">
    <tool name="ROM">
      <a name="contents">addr/data: 8 8
0
</a>
    </tool>
  </lib>
  <lib desc="#I/O" name="5"/>
  <lib desc="#Base" name="6">
    <tool name="Text Tool">
      <a name="text" val=""/>
      <a name="font" val="SansSerif plain 12"/>
      <a name="halign" val="center"/>
      <a name="valign" val="base"/>
    </tool>
  </lib>
  <main name="main"/>
  <options>
    <a name="gateUndefined" val="ignore"/>
    <a name="simlimit" val="1000"/>
    <a name="simrand" val="0"/>
  </options>
  <mappings>
    <tool lib="6" map="Button2" name="Menu Tool"/>
    <tool lib="6" map="Ctrl Button1" name="Menu Tool"/>
    <tool lib="6" map="Button3" name="Menu Tool"/>
  </mappings>
  <toolbar>
    <tool lib="6" name="Poke Tool"/>
    <tool lib="6" name="Edit Tool"/>
    <tool lib="6" name="Text Tool">
      <a name="text" val=""/>
      <a name="font" val="SansSerif plain 12"/>
      <a name="halign" val="center"/>
      <a name="valign" val="base"/>
    </tool>
    <sep/>
    <tool lib="0" name="Pin">
      <a name="tristate" val="false"/>
    </tool>
    <tool lib="0" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </tool>
    <tool lib="1" name="NOT Gate"/>
    <tool lib="1" name="AND Gate"/>
    <tool lib="1" name="OR Gate"/>
  </toolbar>
  <circuit name="main">
    <a name="circuit" val="main"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(490,270)" to="(600,270)"/>
    <wire from="(800,610)" to="(800,690)"/>
    <wire from="(690,610)" to="(690,670)"/>
    <wire from="(520,130)" to="(520,150)"/>
    <wire from="(440,270)" to="(490,270)"/>
    <wire from="(340,230)" to="(390,230)"/>
    <wire from="(620,260)" to="(620,420)"/>
    <wire from="(640,380)" to="(640,470)"/>
    <wire from="(440,290)" to="(500,290)"/>
    <wire from="(300,380)" to="(300,510)"/>
    <wire from="(810,610)" to="(810,670)"/>
    <wire from="(570,180)" to="(570,470)"/>
    <wire from="(930,610)" to="(930,670)"/>
    <wire from="(190,370)" to="(220,370)"/>
    <wire from="(470,220)" to="(600,220)"/>
    <wire from="(280,320)" to="(340,320)"/>
    <wire from="(690,220)" to="(690,270)"/>
    <wire from="(480,240)" to="(680,240)"/>
    <wire from="(740,370)" to="(740,560)"/>
    <wire from="(360,280)" to="(360,330)"/>
    <wire from="(630,330)" to="(630,450)"/>
    <wire from="(770,610)" to="(770,670)"/>
    <wire from="(750,610)" to="(750,670)"/>
    <wire from="(620,610)" to="(620,690)"/>
    <wire from="(700,610)" to="(700,690)"/>
    <wire from="(250,410)" to="(250,450)"/>
    <wire from="(690,340)" to="(690,390)"/>
    <wire from="(600,310)" to="(680,310)"/>
    <wire from="(690,390)" to="(690,510)"/>
    <wire from="(560,180)" to="(560,450)"/>
    <wire from="(890,610)" to="(890,670)"/>
    <wire from="(1060,610)" to="(1060,690)"/>
    <wire from="(640,610)" to="(640,690)"/>
    <wire from="(710,320)" to="(780,320)"/>
    <wire from="(610,610)" to="(610,670)"/>
    <wire from="(340,360)" to="(340,460)"/>
    <wire from="(1040,610)" to="(1040,690)"/>
    <wire from="(200,300)" to="(200,330)"/>
    <wire from="(550,180)" to="(550,420)"/>
    <wire from="(640,380)" to="(680,380)"/>
    <wire from="(1020,610)" to="(1020,690)"/>
    <wire from="(1000,610)" to="(1000,690)"/>
    <wire from="(300,510)" to="(690,510)"/>
    <wire from="(500,290)" to="(590,290)"/>
    <wire from="(590,290)" to="(590,360)"/>
    <wire from="(360,280)" to="(390,280)"/>
    <wire from="(440,220)" to="(470,220)"/>
    <wire from="(780,610)" to="(780,690)"/>
    <wire from="(990,610)" to="(990,670)"/>
    <wire from="(910,610)" to="(910,670)"/>
    <wire from="(1050,610)" to="(1050,670)"/>
    <wire from="(1040,160)" to="(1040,200)"/>
    <wire from="(620,260)" to="(680,260)"/>
    <wire from="(760,610)" to="(760,690)"/>
    <wire from="(680,610)" to="(680,690)"/>
    <wire from="(340,230)" to="(340,320)"/>
    <wire from="(190,370)" to="(190,410)"/>
    <wire from="(360,410)" to="(390,410)"/>
    <wire from="(600,270)" to="(600,310)"/>
    <wire from="(360,350)" to="(360,410)"/>
    <wire from="(920,250)" to="(980,250)"/>
    <wire from="(980,160)" to="(980,250)"/>
    <wire from="(710,370)" to="(740,370)"/>
    <wire from="(780,320)" to="(880,320)"/>
    <wire from="(690,270)" to="(690,340)"/>
    <wire from="(820,160)" to="(820,370)"/>
    <wire from="(440,450)" to="(560,450)"/>
    <wire from="(1010,610)" to="(1010,670)"/>
    <wire from="(660,560)" to="(660,580)"/>
    <wire from="(570,470)" to="(640,470)"/>
    <wire from="(940,610)" to="(940,690)"/>
    <wire from="(660,610)" to="(660,690)"/>
    <wire from="(710,200)" to="(1040,200)"/>
    <wire from="(200,400)" to="(200,470)"/>
    <wire from="(880,610)" to="(880,690)"/>
    <wire from="(590,360)" to="(680,360)"/>
    <wire from="(280,330)" to="(360,330)"/>
    <wire from="(960,610)" to="(960,690)"/>
    <wire from="(280,400)" to="(290,400)"/>
    <wire from="(920,610)" to="(920,690)"/>
    <wire from="(440,240)" to="(480,240)"/>
    <wire from="(550,420)" to="(620,420)"/>
    <wire from="(1080,610)" to="(1080,690)"/>
    <wire from="(200,400)" to="(220,400)"/>
    <wire from="(280,380)" to="(300,380)"/>
    <wire from="(250,130)" to="(250,310)"/>
    <wire from="(730,610)" to="(730,670)"/>
    <wire from="(740,610)" to="(740,690)"/>
    <wire from="(110,300)" to="(200,300)"/>
    <wire from="(920,250)" to="(920,580)"/>
    <wire from="(780,320)" to="(780,580)"/>
    <wire from="(740,370)" to="(820,370)"/>
    <wire from="(1030,610)" to="(1030,670)"/>
    <wire from="(1040,200)" to="(1040,580)"/>
    <wire from="(610,210)" to="(680,210)"/>
    <wire from="(1070,610)" to="(1070,670)"/>
    <wire from="(110,350)" to="(220,350)"/>
    <wire from="(110,400)" to="(140,400)"/>
    <wire from="(440,420)" to="(550,420)"/>
    <wire from="(290,400)" to="(290,670)"/>
    <wire from="(500,180)" to="(500,290)"/>
    <wire from="(470,180)" to="(470,220)"/>
    <wire from="(440,470)" to="(570,470)"/>
    <wire from="(340,460)" to="(390,460)"/>
    <wire from="(440,400)" to="(540,400)"/>
    <wire from="(480,180)" to="(480,240)"/>
    <wire from="(600,190)" to="(600,220)"/>
    <wire from="(200,330)" to="(220,330)"/>
    <wire from="(660,560)" to="(740,560)"/>
    <wire from="(540,400)" to="(610,400)"/>
    <wire from="(190,410)" to="(190,670)"/>
    <wire from="(110,470)" to="(200,470)"/>
    <wire from="(950,610)" to="(950,670)"/>
    <wire from="(630,610)" to="(630,670)"/>
    <wire from="(820,610)" to="(820,690)"/>
    <wire from="(900,610)" to="(900,690)"/>
    <wire from="(710,250)" to="(920,250)"/>
    <wire from="(880,160)" to="(880,320)"/>
    <wire from="(180,410)" to="(190,410)"/>
    <wire from="(650,610)" to="(650,670)"/>
    <wire from="(600,190)" to="(680,190)"/>
    <wire from="(630,330)" to="(680,330)"/>
    <wire from="(610,210)" to="(610,400)"/>
    <wire from="(250,130)" to="(520,130)"/>
    <wire from="(560,450)" to="(630,450)"/>
    <wire from="(540,180)" to="(540,400)"/>
    <wire from="(790,610)" to="(790,670)"/>
    <wire from="(280,350)" to="(360,350)"/>
    <wire from="(280,360)" to="(340,360)"/>
    <wire from="(870,610)" to="(870,670)"/>
    <wire from="(670,610)" to="(670,670)"/>
    <wire from="(490,180)" to="(490,270)"/>
    <comp lib="5" loc="(990,670)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(780,690)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(900,690)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(820,690)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(1000,690)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(940,690)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp loc="(520,150)" name="16 bit comparator">
      <a name="facing" val="north"/>
      <a name="label" val="comparator"/>
    </comp>
    <comp lib="5" loc="(650,670)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(870,670)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(700,690)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(630,670)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp loc="(820,610)" name="Nixie_driver">
      <a name="facing" val="south"/>
      <a name="label" val="nixie driver"/>
    </comp>
    <comp lib="5" loc="(1060,690)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp loc="(1080,610)" name="Nixie_driver">
      <a name="facing" val="south"/>
      <a name="label" val="nixie driver"/>
    </comp>
    <comp lib="5" loc="(1070,670)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp loc="(280,320)" name="Controller">
      <a name="label" val="controller"/>
    </comp>
    <comp lib="5" loc="(800,690)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(680,690)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(890,670)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(290,670)" name="LED">
      <a name="facing" val="north"/>
      <a name="label" val="ALARM"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(250,450)" name="Clock">
      <a name="facing" val="north"/>
      <a name="label" val="Clock 1min"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="5" loc="(660,690)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(1050,670)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(620,690)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp loc="(440,220)" name="60-24_counter">
      <a name="label" val="60/24"/>
    </comp>
    <comp lib="5" loc="(610,670)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(1080,690)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="2" loc="(710,370)" name="Multiplexer">
      <a name="width" val="4"/>
      <a name="enable" val="false"/>
    </comp>
    <comp lib="5" loc="(1040,690)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(670,670)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(110,350)" name="Button">
      <a name="label" val="HRS++"/>
      <a name="labelloc" val="west"/>
    </comp>
    <comp lib="5" loc="(820,160)" name="Hex Digit Display">
      <a name="color" val="#beff66"/>
      <a name="offcolor" val="#595959"/>
      <a name="bg" val="#595959"/>
    </comp>
    <comp lib="5" loc="(690,670)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(910,670)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp loc="(180,410)" name="FF Toggle"/>
    <comp lib="2" loc="(710,250)" name="Multiplexer">
      <a name="width" val="4"/>
      <a name="enable" val="false"/>
    </comp>
    <comp lib="5" loc="(1020,690)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(110,470)" name="Button">
      <a name="label" val="Alarm OFF"/>
      <a name="labelloc" val="west"/>
    </comp>
    <comp lib="5" loc="(190,670)" name="LED">
      <a name="facing" val="north"/>
      <a name="label" val="Display alarm"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="5" loc="(960,690)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(950,670)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp loc="(960,610)" name="Nixie_driver">
      <a name="facing" val="south"/>
      <a name="label" val="nixie driver"/>
    </comp>
    <comp lib="5" loc="(790,670)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp loc="(700,610)" name="Nixie_driver">
      <a name="facing" val="south"/>
      <a name="label" val="nixie driver"/>
    </comp>
    <comp loc="(440,400)" name="60-24_counter">
      <a name="label" val="60/24"/>
    </comp>
    <comp lib="5" loc="(980,160)" name="Hex Digit Display">
      <a name="color" val="#beff66"/>
      <a name="offcolor" val="#595959"/>
      <a name="bg" val="#595959"/>
    </comp>
    <comp lib="2" loc="(710,200)" name="Multiplexer">
      <a name="width" val="4"/>
      <a name="enable" val="false"/>
    </comp>
    <comp lib="5" loc="(110,400)" name="Button">
      <a name="label" val="Time/Alarm"/>
      <a name="labelloc" val="west"/>
    </comp>
    <comp lib="5" loc="(880,690)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(750,670)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(1010,670)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(930,670)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(740,690)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(730,670)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="2" loc="(710,320)" name="Multiplexer">
      <a name="width" val="4"/>
      <a name="enable" val="false"/>
    </comp>
    <comp lib="5" loc="(880,160)" name="Hex Digit Display">
      <a name="color" val="#beff66"/>
      <a name="offcolor" val="#595959"/>
      <a name="bg" val="#595959"/>
    </comp>
    <comp lib="5" loc="(110,300)" name="Button">
      <a name="label" val="MIN++"/>
      <a name="labelloc" val="west"/>
    </comp>
    <comp lib="5" loc="(770,670)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(920,690)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(1030,670)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(640,690)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(810,670)" name="LED">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="5" loc="(1040,160)" name="Hex Digit Display">
      <a name="color" val="#beff66"/>
      <a name="offcolor" val="#595959"/>
      <a name="bg" val="#595959"/>
    </comp>
    <comp lib="5" loc="(760,690)" name="LED">
      <a name="facing" val="north"/>
    </comp>
  </circuit>
  <circuit name="FF Toggle">
    <a name="circuit" val="FF Toggle"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <appear>
      <rect fill="none" height="50" stroke="#000000" stroke-width="2" width="41" x="50" y="50"/>
      <text font-family="SansSerif" font-size="12" text-anchor="middle" x="63" y="64">T</text>
      <text font-family="SansSerif" font-size="12" text-anchor="middle" x="66" y="94">Clr</text>
      <text font-family="SansSerif" font-size="12" text-anchor="middle" x="81" y="83">Q</text>
      <circ-port height="8" pin="190,120" width="8" x="46" y="56"/>
      <circ-port height="8" pin="190,180" width="8" x="46" y="86"/>
      <circ-port height="10" pin="370,120" width="10" x="85" y="65"/>
      <circ-anchor facing="east" height="6" width="6" x="87" y="67"/>
    </appear>
    <wire from="(260,90)" to="(260,140)"/>
    <wire from="(190,180)" to="(310,180)"/>
    <wire from="(240,120)" to="(280,120)"/>
    <wire from="(260,140)" to="(280,140)"/>
    <wire from="(190,120)" to="(210,120)"/>
    <wire from="(340,90)" to="(340,140)"/>
    <wire from="(260,90)" to="(340,90)"/>
    <wire from="(320,120)" to="(370,120)"/>
    <wire from="(310,150)" to="(310,180)"/>
    <wire from="(320,140)" to="(340,140)"/>
    <comp lib="0" loc="(190,180)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="Clear"/>
    </comp>
    <comp lib="1" loc="(240,120)" name="NOT Gate"/>
    <comp lib="0" loc="(370,120)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Q"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="4" loc="(320,120)" name="D Flip-Flop"/>
    <comp lib="0" loc="(190,120)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="T"/>
    </comp>
  </circuit>
  <circuit name="counter0-9">
    <a name="circuit" val="counter0-9"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <appear>
      <text font-family="SansSerif" font-size="12" text-anchor="middle" x="41" y="43">in</text>
      <text font-family="SansSerif" font-size="12" text-anchor="middle" x="45" y="74">Rst</text>
      <rect fill="none" height="70" stroke="#000000" stroke-width="2" width="60" x="30" y="20"/>
      <text font-family="SansSerif" font-size="12" text-anchor="middle" x="60" y="61">0-9</text>
      <circ-port height="8" pin="130,270" width="8" x="26" y="36"/>
      <circ-port height="8" pin="130,340" width="8" x="26" y="66"/>
      <circ-port height="10" pin="180,360" width="10" x="55" y="85"/>
      <circ-port height="10" pin="320,360" width="10" x="85" y="35"/>
      <circ-port height="10" pin="420,360" width="10" x="85" y="45"/>
      <circ-port height="10" pin="520,360" width="10" x="85" y="55"/>
      <circ-port height="10" pin="620,360" width="10" x="85" y="65"/>
      <circ-anchor facing="east" height="6" width="6" x="87" y="37"/>
    </appear>
    <wire from="(170,130)" to="(520,130)"/>
    <wire from="(440,300)" to="(440,330)"/>
    <wire from="(390,280)" to="(420,280)"/>
    <wire from="(420,270)" to="(450,270)"/>
    <wire from="(320,270)" to="(350,270)"/>
    <wire from="(420,270)" to="(420,280)"/>
    <wire from="(200,150)" to="(200,170)"/>
    <wire from="(520,270)" to="(520,280)"/>
    <wire from="(240,300)" to="(250,300)"/>
    <wire from="(160,120)" to="(620,120)"/>
    <wire from="(340,330)" to="(440,330)"/>
    <wire from="(220,330)" to="(240,330)"/>
    <wire from="(520,130)" to="(520,270)"/>
    <wire from="(620,280)" to="(620,360)"/>
    <wire from="(240,300)" to="(240,330)"/>
    <wire from="(540,300)" to="(540,330)"/>
    <wire from="(320,150)" to="(320,270)"/>
    <wire from="(320,280)" to="(320,360)"/>
    <wire from="(160,120)" to="(160,180)"/>
    <wire from="(590,280)" to="(620,280)"/>
    <wire from="(290,280)" to="(320,280)"/>
    <wire from="(180,320)" to="(180,360)"/>
    <wire from="(420,140)" to="(420,270)"/>
    <wire from="(420,280)" to="(420,360)"/>
    <wire from="(520,270)" to="(550,270)"/>
    <wire from="(490,280)" to="(520,280)"/>
    <wire from="(340,300)" to="(340,330)"/>
    <wire from="(190,140)" to="(420,140)"/>
    <wire from="(200,150)" to="(320,150)"/>
    <wire from="(320,270)" to="(320,280)"/>
    <wire from="(440,330)" to="(540,330)"/>
    <wire from="(540,300)" to="(550,300)"/>
    <wire from="(130,340)" to="(190,340)"/>
    <wire from="(180,230)" to="(180,320)"/>
    <wire from="(170,130)" to="(170,170)"/>
    <wire from="(180,320)" to="(190,320)"/>
    <wire from="(190,140)" to="(190,180)"/>
    <wire from="(440,300)" to="(450,300)"/>
    <wire from="(130,270)" to="(250,270)"/>
    <wire from="(520,280)" to="(520,360)"/>
    <wire from="(240,330)" to="(340,330)"/>
    <wire from="(620,120)" to="(620,280)"/>
    <wire from="(340,300)" to="(350,300)"/>
    <comp lib="0" loc="(180,360)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Carry"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp loc="(390,280)" name="FF Toggle"/>
    <comp loc="(490,280)" name="FF Toggle"/>
    <comp loc="(290,280)" name="FF Toggle"/>
    <comp lib="0" loc="(130,340)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="Reset"/>
    </comp>
    <comp loc="(590,280)" name="FF Toggle"/>
    <comp lib="1" loc="(220,330)" name="OR Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(420,360)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="D1"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(620,360)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="D3"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(320,360)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="D0"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(520,360)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="D2"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(130,270)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="Incr"/>
    </comp>
    <comp lib="1" loc="(180,230)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="inputs" val="4"/>
      <a name="negate1" val="true"/>
      <a name="negate3" val="true"/>
    </comp>
  </circuit>
  <circuit name="60-24_counter">
    <a name="circuit" val="60-24_counter"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <appear>
      <rect fill="none" height="90" stroke="#000000" stroke-width="2" width="50" x="50" y="40"/>
      <text font-family="SansSerif" font-size="12" text-anchor="middle" x="67" y="63">m+</text>
      <text font-family="SansSerif" font-size="12" text-anchor="middle" x="68" y="113">h+</text>
      <circ-port height="8" pin="310,160" width="8" x="46" y="56"/>
      <circ-port height="8" pin="310,460" width="8" x="46" y="106"/>
      <circ-port height="10" pin="750,150" width="10" x="95" y="45"/>
      <circ-port height="10" pin="750,250" width="10" x="95" y="65"/>
      <circ-port height="10" pin="740,440" width="10" x="95" y="95"/>
      <circ-port height="10" pin="740,550" width="10" x="95" y="115"/>
      <circ-anchor facing="east" height="6" width="6" x="97" y="47"/>
    </appear>
    <wire from="(580,350)" to="(580,370)"/>
    <wire from="(390,440)" to="(410,440)"/>
    <wire from="(530,190)" to="(680,190)"/>
    <wire from="(530,160)" to="(680,160)"/>
    <wire from="(590,270)" to="(590,320)"/>
    <wire from="(450,260)" to="(470,260)"/>
    <wire from="(530,450)" to="(670,450)"/>
    <wire from="(440,450)" to="(470,450)"/>
    <wire from="(530,280)" to="(570,280)"/>
    <wire from="(600,470)" to="(670,470)"/>
    <wire from="(530,570)" to="(580,570)"/>
    <wire from="(530,260)" to="(680,260)"/>
    <wire from="(580,570)" to="(580,630)"/>
    <wire from="(580,570)" to="(670,570)"/>
    <wire from="(310,460)" to="(410,460)"/>
    <wire from="(700,150)" to="(750,150)"/>
    <wire from="(430,190)" to="(430,290)"/>
    <wire from="(530,290)" to="(680,290)"/>
    <wire from="(530,460)" to="(670,460)"/>
    <wire from="(430,290)" to="(430,370)"/>
    <wire from="(430,590)" to="(470,590)"/>
    <wire from="(690,550)" to="(740,550)"/>
    <wire from="(570,280)" to="(680,280)"/>
    <wire from="(530,170)" to="(680,170)"/>
    <wire from="(450,230)" to="(500,230)"/>
    <wire from="(390,370)" to="(430,370)"/>
    <wire from="(450,520)" to="(450,560)"/>
    <wire from="(530,480)" to="(670,480)"/>
    <wire from="(430,680)" to="(590,680)"/>
    <wire from="(530,590)" to="(670,590)"/>
    <wire from="(500,210)" to="(500,230)"/>
    <wire from="(590,660)" to="(590,680)"/>
    <wire from="(430,480)" to="(470,480)"/>
    <wire from="(700,250)" to="(750,250)"/>
    <wire from="(530,560)" to="(670,560)"/>
    <wire from="(500,500)" to="(500,520)"/>
    <wire from="(310,160)" to="(470,160)"/>
    <wire from="(570,280)" to="(570,320)"/>
    <wire from="(430,480)" to="(430,590)"/>
    <wire from="(390,370)" to="(390,440)"/>
    <wire from="(430,290)" to="(470,290)"/>
    <wire from="(530,180)" to="(680,180)"/>
    <wire from="(600,470)" to="(600,630)"/>
    <wire from="(690,440)" to="(740,440)"/>
    <wire from="(590,270)" to="(680,270)"/>
    <wire from="(450,230)" to="(450,260)"/>
    <wire from="(430,190)" to="(470,190)"/>
    <wire from="(450,560)" to="(470,560)"/>
    <wire from="(530,470)" to="(600,470)"/>
    <wire from="(430,590)" to="(430,680)"/>
    <wire from="(430,370)" to="(580,370)"/>
    <wire from="(530,580)" to="(670,580)"/>
    <wire from="(450,520)" to="(500,520)"/>
    <wire from="(530,270)" to="(590,270)"/>
    <comp lib="0" loc="(740,440)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="width" val="4"/>
      <a name="tristate" val="false"/>
      <a name="label" val="h_1"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp loc="(530,260)" name="counter0-9"/>
    <comp lib="0" loc="(750,150)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="width" val="4"/>
      <a name="tristate" val="false"/>
      <a name="label" val="min_1"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(700,250)" name="Splitter">
      <a name="facing" val="west"/>
      <a name="fanout" val="4"/>
      <a name="incoming" val="4"/>
    </comp>
    <comp loc="(530,160)" name="counter0-9"/>
    <comp lib="0" loc="(310,460)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="h++"/>
    </comp>
    <comp lib="1" loc="(580,350)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
      <a name="label" val="60"/>
    </comp>
    <comp lib="0" loc="(690,550)" name="Splitter">
      <a name="facing" val="west"/>
      <a name="fanout" val="4"/>
      <a name="incoming" val="4"/>
    </comp>
    <comp lib="0" loc="(310,160)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="min++"/>
    </comp>
    <comp lib="0" loc="(700,150)" name="Splitter">
      <a name="facing" val="west"/>
      <a name="fanout" val="4"/>
      <a name="incoming" val="4"/>
    </comp>
    <comp lib="1" loc="(590,660)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
      <a name="label" val="24"/>
    </comp>
    <comp lib="0" loc="(740,550)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="width" val="4"/>
      <a name="tristate" val="false"/>
      <a name="label" val="h_10"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp loc="(530,450)" name="counter0-9"/>
    <comp loc="(530,560)" name="counter0-9"/>
    <comp lib="1" loc="(440,450)" name="OR Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(750,250)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="width" val="4"/>
      <a name="tristate" val="false"/>
      <a name="label" val="min_10"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(690,440)" name="Splitter">
      <a name="facing" val="west"/>
      <a name="fanout" val="4"/>
      <a name="incoming" val="4"/>
    </comp>
  </circuit>
  <circuit name="Nixie_driver">
    <a name="circuit" val="Nixie_driver"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <appear>
      <rect fill="none" height="110" stroke="#000000" stroke-width="2" width="30" x="50" y="50"/>
      <circ-port height="8" pin="400,420" width="8" x="46" y="96"/>
      <circ-port height="10" pin="540,240" width="10" x="75" y="55"/>
      <circ-port height="10" pin="590,250" width="10" x="75" y="65"/>
      <circ-port height="10" pin="540,260" width="10" x="75" y="75"/>
      <circ-port height="10" pin="590,270" width="10" x="75" y="85"/>
      <circ-port height="10" pin="540,280" width="10" x="75" y="95"/>
      <circ-port height="10" pin="590,290" width="10" x="75" y="105"/>
      <circ-port height="10" pin="540,300" width="10" x="75" y="115"/>
      <circ-port height="10" pin="590,310" width="10" x="75" y="125"/>
      <circ-port height="10" pin="540,320" width="10" x="75" y="135"/>
      <circ-port height="10" pin="590,330" width="10" x="75" y="145"/>
      <circ-anchor facing="east" height="6" width="6" x="77" y="57"/>
    </appear>
    <wire from="(470,330)" to="(590,330)"/>
    <wire from="(470,280)" to="(540,280)"/>
    <wire from="(470,240)" to="(540,240)"/>
    <wire from="(400,420)" to="(450,420)"/>
    <wire from="(470,260)" to="(540,260)"/>
    <wire from="(470,310)" to="(590,310)"/>
    <wire from="(470,270)" to="(590,270)"/>
    <wire from="(470,320)" to="(540,320)"/>
    <wire from="(470,290)" to="(590,290)"/>
    <wire from="(470,300)" to="(540,300)"/>
    <wire from="(450,400)" to="(450,420)"/>
    <wire from="(470,250)" to="(590,250)"/>
    <comp lib="0" loc="(590,250)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="1"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(590,290)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="5"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(590,330)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="9"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="2" loc="(450,400)" name="Decoder">
      <a name="select" val="4"/>
      <a name="enable" val="false"/>
    </comp>
    <comp lib="0" loc="(540,280)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="4"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(590,310)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="7"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(590,270)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="3"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(540,300)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="6"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(540,260)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="2"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(540,320)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="8"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(540,240)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="0"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(400,420)" name="Pin">
      <a name="width" val="4"/>
      <a name="tristate" val="false"/>
      <a name="label" val="input"/>
    </comp>
  </circuit>
  <circuit name="16 bit comparator">
    <a name="circuit" val="16 bit comparator"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <appear>
      <rect fill="none" height="120" stroke="#000000" stroke-width="2" width="30" x="50" y="40"/>
      <text font-family="SansSerif" font-size="12" text-anchor="middle" x="68" y="104">=</text>
      <text font-family="SansSerif" font-size="12" text-anchor="middle" x="66" y="70">A</text>
      <text font-family="SansSerif" font-size="12" text-anchor="middle" x="66" y="140">B</text>
      <circ-port height="8" pin="260,160" width="8" x="46" y="46"/>
      <circ-port height="8" pin="310,170" width="8" x="46" y="56"/>
      <circ-port height="8" pin="360,180" width="8" x="46" y="66"/>
      <circ-port height="8" pin="410,190" width="8" x="46" y="76"/>
      <circ-port height="8" pin="260,250" width="8" x="46" y="116"/>
      <circ-port height="8" pin="310,260" width="8" x="46" y="126"/>
      <circ-port height="8" pin="360,270" width="8" x="46" y="136"/>
      <circ-port height="8" pin="410,280" width="8" x="46" y="146"/>
      <circ-port height="10" pin="780,320" width="10" x="75" y="95"/>
      <circ-anchor facing="east" height="6" width="6" x="77" y="97"/>
    </appear>
    <wire from="(660,310)" to="(670,310)"/>
    <wire from="(750,320)" to="(780,320)"/>
    <wire from="(610,230)" to="(640,230)"/>
    <wire from="(310,260)" to="(430,260)"/>
    <wire from="(660,280)" to="(670,280)"/>
    <wire from="(660,370)" to="(670,370)"/>
    <wire from="(610,240)" to="(630,240)"/>
    <wire from="(450,200)" to="(510,200)"/>
    <wire from="(360,270)" to="(430,270)"/>
    <wire from="(660,260)" to="(670,260)"/>
    <wire from="(660,300)" to="(670,300)"/>
    <wire from="(450,240)" to="(510,240)"/>
    <wire from="(660,270)" to="(670,270)"/>
    <wire from="(410,280)" to="(430,280)"/>
    <wire from="(360,180)" to="(430,180)"/>
    <wire from="(660,340)" to="(670,340)"/>
    <wire from="(660,380)" to="(670,380)"/>
    <wire from="(260,160)" to="(430,160)"/>
    <wire from="(260,250)" to="(430,250)"/>
    <wire from="(630,320)" to="(640,320)"/>
    <wire from="(660,350)" to="(670,350)"/>
    <wire from="(660,240)" to="(670,240)"/>
    <wire from="(660,330)" to="(670,330)"/>
    <wire from="(660,360)" to="(670,360)"/>
    <wire from="(660,400)" to="(670,400)"/>
    <wire from="(630,240)" to="(630,320)"/>
    <wire from="(660,290)" to="(670,290)"/>
    <wire from="(660,390)" to="(670,390)"/>
    <wire from="(660,250)" to="(670,250)"/>
    <wire from="(570,220)" to="(590,220)"/>
    <wire from="(310,170)" to="(430,170)"/>
    <wire from="(410,190)" to="(430,190)"/>
    <comp lib="0" loc="(260,250)" name="Pin">
      <a name="width" val="4"/>
      <a name="tristate" val="false"/>
      <a name="pull" val="down"/>
    </comp>
    <comp lib="0" loc="(260,160)" name="Pin">
      <a name="width" val="4"/>
      <a name="tristate" val="false"/>
      <a name="pull" val="down"/>
    </comp>
    <comp lib="0" loc="(360,270)" name="Pin">
      <a name="width" val="4"/>
      <a name="tristate" val="false"/>
      <a name="pull" val="down"/>
    </comp>
    <comp lib="0" loc="(310,260)" name="Pin">
      <a name="width" val="4"/>
      <a name="tristate" val="false"/>
      <a name="pull" val="down"/>
    </comp>
    <comp lib="0" loc="(450,240)" name="Splitter">
      <a name="facing" val="west"/>
      <a name="fanout" val="4"/>
      <a name="incoming" val="16"/>
      <a name="bit1" val="0"/>
      <a name="bit2" val="0"/>
      <a name="bit3" val="0"/>
      <a name="bit4" val="1"/>
      <a name="bit5" val="1"/>
      <a name="bit6" val="1"/>
      <a name="bit7" val="1"/>
      <a name="bit8" val="2"/>
      <a name="bit9" val="2"/>
      <a name="bit10" val="2"/>
      <a name="bit11" val="2"/>
      <a name="bit12" val="3"/>
      <a name="bit13" val="3"/>
      <a name="bit14" val="3"/>
      <a name="bit15" val="3"/>
    </comp>
    <comp lib="1" loc="(750,320)" name="NOR Gate">
      <a name="size" val="70"/>
      <a name="inputs" val="16"/>
    </comp>
    <comp lib="0" loc="(410,280)" name="Pin">
      <a name="width" val="4"/>
      <a name="tristate" val="false"/>
      <a name="pull" val="down"/>
    </comp>
    <comp lib="0" loc="(450,200)" name="Splitter">
      <a name="facing" val="west"/>
      <a name="fanout" val="4"/>
      <a name="incoming" val="16"/>
      <a name="appear" val="right"/>
      <a name="bit1" val="0"/>
      <a name="bit2" val="0"/>
      <a name="bit3" val="0"/>
      <a name="bit4" val="1"/>
      <a name="bit5" val="1"/>
      <a name="bit6" val="1"/>
      <a name="bit7" val="1"/>
      <a name="bit8" val="2"/>
      <a name="bit9" val="2"/>
      <a name="bit10" val="2"/>
      <a name="bit11" val="2"/>
      <a name="bit12" val="3"/>
      <a name="bit13" val="3"/>
      <a name="bit14" val="3"/>
      <a name="bit15" val="3"/>
    </comp>
    <comp lib="0" loc="(590,220)" name="Splitter">
      <a name="incoming" val="16"/>
      <a name="appear" val="right"/>
      <a name="bit1" val="0"/>
      <a name="bit2" val="0"/>
      <a name="bit3" val="0"/>
      <a name="bit4" val="0"/>
      <a name="bit5" val="0"/>
      <a name="bit6" val="0"/>
      <a name="bit7" val="0"/>
      <a name="bit8" val="1"/>
      <a name="bit9" val="1"/>
      <a name="bit10" val="1"/>
      <a name="bit11" val="1"/>
      <a name="bit12" val="1"/>
      <a name="bit13" val="1"/>
      <a name="bit14" val="1"/>
      <a name="bit15" val="1"/>
    </comp>
    <comp lib="0" loc="(410,190)" name="Pin">
      <a name="width" val="4"/>
      <a name="tristate" val="false"/>
      <a name="pull" val="down"/>
    </comp>
    <comp lib="0" loc="(310,170)" name="Pin">
      <a name="width" val="4"/>
      <a name="tristate" val="false"/>
      <a name="pull" val="down"/>
    </comp>
    <comp lib="1" loc="(570,220)" name="XOR Gate">
      <a name="width" val="16"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(640,320)" name="Splitter">
      <a name="fanout" val="8"/>
      <a name="incoming" val="8"/>
      <a name="appear" val="right"/>
    </comp>
    <comp lib="0" loc="(780,320)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="equal"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(360,180)" name="Pin">
      <a name="width" val="4"/>
      <a name="tristate" val="false"/>
      <a name="pull" val="down"/>
    </comp>
    <comp lib="0" loc="(640,230)" name="Splitter">
      <a name="fanout" val="8"/>
      <a name="incoming" val="8"/>
      <a name="appear" val="right"/>
    </comp>
  </circuit>
  <circuit name="Controller">
    <a name="circuit" val="Controller"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <appear>
      <rect fill="none" height="100" stroke="#000000" stroke-width="2" width="60" x="50" y="50"/>
      <text font-family="SansSerif" font-size="12" text-anchor="middle" x="81" y="64">=</text>
      <polyline fill="none" points="71,150 80,140" stroke="#000000"/>
      <polyline fill="none" points="80,140 89,150" stroke="#000000"/>
      <text font-family="SansSerif" font-size="12" text-anchor="middle" x="67" y="74">m+</text>
      <text font-family="SansSerif" font-size="12" text-anchor="middle" x="66" y="94">h+</text>
      <text font-family="SansSerif" font-size="12" text-anchor="middle" x="64" y="114">t/a</text>
      <text font-family="SansSerif" font-size="12" text-anchor="middle" x="65" y="143">off</text>
      <circ-port height="8" pin="260,140" width="8" x="76" y="146"/>
      <circ-port height="8" pin="260,280" width="8" x="46" y="66"/>
      <circ-port height="8" pin="260,330" width="8" x="46" y="86"/>
      <circ-port height="8" pin="260,390" width="8" x="46" y="106"/>
      <circ-port height="8" pin="260,460" width="8" x="76" y="46"/>
      <circ-port height="8" pin="260,510" width="8" x="46" y="136"/>
      <circ-port height="10" pin="510,150" width="10" x="105" y="55"/>
      <circ-port height="10" pin="510,200" width="10" x="105" y="65"/>
      <circ-port height="10" pin="510,290" width="10" x="105" y="85"/>
      <circ-port height="10" pin="510,340" width="10" x="105" y="95"/>
      <circ-port height="10" pin="510,390" width="10" x="105" y="115"/>
      <circ-port height="10" pin="510,450" width="10" x="105" y="135"/>
      <circ-anchor facing="east" height="6" width="6" x="107" y="57"/>
    </appear>
    <wire from="(330,350)" to="(330,390)"/>
    <wire from="(480,150)" to="(510,150)"/>
    <wire from="(330,390)" to="(510,390)"/>
    <wire from="(330,450)" to="(370,450)"/>
    <wire from="(380,300)" to="(380,350)"/>
    <wire from="(330,260)" to="(330,350)"/>
    <wire from="(280,140)" to="(280,440)"/>
    <wire from="(400,480)" to="(400,510)"/>
    <wire from="(420,200)" to="(510,200)"/>
    <wire from="(380,300)" to="(390,300)"/>
    <wire from="(330,170)" to="(390,170)"/>
    <wire from="(330,170)" to="(330,210)"/>
    <wire from="(420,160)" to="(450,160)"/>
    <wire from="(330,210)" to="(390,210)"/>
    <wire from="(260,460)" to="(300,460)"/>
    <wire from="(260,140)" to="(280,140)"/>
    <wire from="(290,280)" to="(390,280)"/>
    <wire from="(410,450)" to="(510,450)"/>
    <wire from="(290,150)" to="(290,280)"/>
    <wire from="(300,190)" to="(390,190)"/>
    <wire from="(380,350)" to="(390,350)"/>
    <wire from="(280,140)" to="(450,140)"/>
    <wire from="(330,210)" to="(330,230)"/>
    <wire from="(280,440)" to="(300,440)"/>
    <wire from="(420,340)" to="(510,340)"/>
    <wire from="(260,390)" to="(330,390)"/>
    <wire from="(260,280)" to="(290,280)"/>
    <wire from="(300,190)" to="(300,330)"/>
    <wire from="(330,350)" to="(380,350)"/>
    <wire from="(350,470)" to="(370,470)"/>
    <wire from="(420,290)" to="(510,290)"/>
    <wire from="(260,510)" to="(400,510)"/>
    <wire from="(290,150)" to="(390,150)"/>
    <wire from="(300,330)" to="(390,330)"/>
    <wire from="(260,330)" to="(300,330)"/>
    <comp lib="1" loc="(420,290)" name="AND Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(510,390)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="show"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(260,390)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="Time/Alarm"/>
    </comp>
    <comp lib="1" loc="(420,160)" name="AND Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="1" loc="(330,450)" name="AND Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(510,290)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="alarm_M+"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(510,200)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="time_H+"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(510,150)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="time_M+"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="1" loc="(330,230)" name="NOT Gate">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="0" loc="(260,510)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="Alarm OFF"/>
    </comp>
    <comp lib="1" loc="(420,200)" name="AND Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(510,340)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="alarm_H+"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(260,330)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="Hour+"/>
    </comp>
    <comp lib="4" loc="(410,450)" name="D Flip-Flop"/>
    <comp lib="0" loc="(350,470)" name="Constant"/>
    <comp lib="0" loc="(260,140)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="Clock IN"/>
    </comp>
    <comp lib="1" loc="(420,340)" name="AND Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(260,280)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="Min+"/>
    </comp>
    <comp lib="0" loc="(510,450)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="ALARM"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="1" loc="(480,150)" name="OR Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(260,460)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="equal"/>
    </comp>
  </circuit>
  <circuit name="foto">
    <a name="circuit" val="foto"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(760,200)" to="(770,200)"/>
    <wire from="(440,190)" to="(450,190)"/>
    <wire from="(930,130)" to="(940,130)"/>
    <wire from="(630,120)" to="(640,120)"/>
    <wire from="(630,190)" to="(640,190)"/>
    <wire from="(270,130)" to="(280,130)"/>
    <wire from="(760,130)" to="(770,130)"/>
    <wire from="(270,150)" to="(280,150)"/>
    <wire from="(1000,150)" to="(1010,150)"/>
    <wire from="(120,130)" to="(130,130)"/>
    <wire from="(240,180)" to="(240,190)"/>
    <wire from="(630,150)" to="(640,150)"/>
    <wire from="(70,150)" to="(80,150)"/>
    <wire from="(270,160)" to="(280,160)"/>
    <wire from="(440,170)" to="(450,170)"/>
    <wire from="(380,130)" to="(390,130)"/>
    <wire from="(1000,180)" to="(1010,180)"/>
    <wire from="(630,200)" to="(640,200)"/>
    <wire from="(440,140)" to="(450,140)"/>
    <wire from="(760,140)" to="(770,140)"/>
    <wire from="(380,180)" to="(390,180)"/>
    <wire from="(1000,120)" to="(1010,120)"/>
    <wire from="(930,200)" to="(940,200)"/>
    <wire from="(590,160)" to="(600,160)"/>
    <wire from="(1000,200)" to="(1010,200)"/>
    <wire from="(630,170)" to="(640,170)"/>
    <wire from="(760,150)" to="(770,150)"/>
    <wire from="(1000,130)" to="(1010,130)"/>
    <wire from="(760,220)" to="(770,220)"/>
    <wire from="(630,210)" to="(640,210)"/>
    <wire from="(760,190)" to="(770,190)"/>
    <wire from="(630,180)" to="(640,180)"/>
    <wire from="(970,210)" to="(970,220)"/>
    <wire from="(930,170)" to="(940,170)"/>
    <wire from="(270,140)" to="(280,140)"/>
    <wire from="(930,150)" to="(940,150)"/>
    <wire from="(630,140)" to="(640,140)"/>
    <wire from="(70,120)" to="(80,120)"/>
    <wire from="(200,130)" to="(210,130)"/>
    <wire from="(760,120)" to="(770,120)"/>
    <wire from="(1000,160)" to="(1010,160)"/>
    <wire from="(630,130)" to="(640,130)"/>
    <wire from="(760,210)" to="(770,210)"/>
    <wire from="(440,120)" to="(450,120)"/>
    <wire from="(800,170)" to="(810,170)"/>
    <wire from="(630,160)" to="(640,160)"/>
    <wire from="(200,160)" to="(210,160)"/>
    <comp loc="(630,120)" name="Nixie_driver"/>
    <comp lib="6" loc="(463,174)" name="Text">
      <a name="text" val="h1"/>
    </comp>
    <comp loc="(270,130)" name="counter0-9"/>
    <comp lib="6" loc="(465,124)" name="Text">
      <a name="text" val="m1"/>
    </comp>
    <comp lib="6" loc="(469,143)" name="Text">
      <a name="text" val="m10"/>
    </comp>
    <comp loc="(800,170)" name="16 bit comparator"/>
    <comp lib="6" loc="(623,125)" name="Text">
      <a name="text" val="0"/>
    </comp>
    <comp lib="6" loc="(467,194)" name="Text">
      <a name="text" val="h10"/>
    </comp>
    <comp lib="6" loc="(623,215)" name="Text">
      <a name="text" val="9"/>
    </comp>
    <comp loc="(440,120)" name="60-24_counter"/>
    <comp loc="(1000,120)" name="Controller"/>
    <comp loc="(120,130)" name="FF Toggle"/>
  </circuit>
</project>
