<?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"/>
  <lib desc="#Gates" name="1"/>
  <lib desc="#Plexers" name="2"/>
  <lib desc="#Arithmetic" name="3"/>
  <lib desc="#Memory" name="4"/>
  <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="Button3" name="Menu Tool"/>
    <tool lib="6" map="Ctrl Button1" 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="facing" val="south"/>
      <a name="tristate" val="false"/>
    </tool>
    <tool lib="0" name="Pin">
      <a name="facing" val="north"/>
      <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="(200,210)" to="(200,220)"/>
    <wire from="(200,280)" to="(200,290)"/>
    <wire from="(200,350)" to="(200,360)"/>
    <wire from="(200,420)" to="(200,430)"/>
    <wire from="(200,210)" to="(250,210)"/>
    <wire from="(200,280)" to="(250,280)"/>
    <wire from="(200,350)" to="(250,350)"/>
    <wire from="(200,420)" to="(250,420)"/>
    <wire from="(140,270)" to="(250,270)"/>
    <wire from="(140,340)" to="(250,340)"/>
    <wire from="(140,410)" to="(250,410)"/>
    <wire from="(140,200)" to="(250,200)"/>
    <wire from="(280,200)" to="(320,200)"/>
    <wire from="(280,270)" to="(320,270)"/>
    <wire from="(280,340)" to="(320,340)"/>
    <wire from="(280,410)" to="(320,410)"/>
    <wire from="(260,220)" to="(260,260)"/>
    <wire from="(260,150)" to="(260,190)"/>
    <wire from="(260,290)" to="(260,330)"/>
    <wire from="(260,360)" to="(260,400)"/>
    <wire from="(260,430)" to="(260,470)"/>
    <wire from="(190,220)" to="(200,220)"/>
    <wire from="(190,290)" to="(200,290)"/>
    <wire from="(190,360)" to="(200,360)"/>
    <wire from="(190,430)" to="(200,430)"/>
    <comp lib="0" loc="(190,290)" name="Pin">
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(190,220)" name="Pin">
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(320,200)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp loc="(280,340)" name="full-adder"/>
    <comp loc="(280,270)" name="full-adder"/>
    <comp lib="0" loc="(140,410)" name="Pin">
      <a name="tristate" val="false"/>
    </comp>
    <comp loc="(280,410)" name="full-adder"/>
    <comp lib="0" loc="(260,470)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(190,430)" name="Pin">
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(260,150)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(140,270)" name="Pin">
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(320,410)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(320,270)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp loc="(280,200)" name="full-adder"/>
    <comp lib="0" loc="(140,200)" name="Pin">
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(190,360)" name="Pin">
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(140,340)" name="Pin">
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(320,340)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="6" loc="(4,16)" name="Text">
      <a name="text" val="Designed by S. Gražulis (https://saulius.grazulis.lt) CC-BY-NC"/>
      <a name="halign" val="left"/>
    </comp>
  </circuit>
  <circuit name="full-adder">
    <a name="circuit" val="full-adder"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(250,280)" to="(250,410)"/>
    <wire from="(370,330)" to="(420,330)"/>
    <wire from="(370,220)" to="(420,220)"/>
    <wire from="(220,230)" to="(270,230)"/>
    <wire from="(370,220)" to="(370,240)"/>
    <wire from="(250,410)" to="(420,410)"/>
    <wire from="(490,320)" to="(490,350)"/>
    <wire from="(490,370)" to="(490,400)"/>
    <wire from="(480,210)" to="(580,210)"/>
    <wire from="(250,250)" to="(290,250)"/>
    <wire from="(250,250)" to="(250,280)"/>
    <wire from="(370,240)" to="(370,330)"/>
    <wire from="(220,280)" to="(250,280)"/>
    <wire from="(390,310)" to="(420,310)"/>
    <wire from="(390,200)" to="(420,200)"/>
    <wire from="(270,230)" to="(270,390)"/>
    <wire from="(560,360)" to="(580,360)"/>
    <wire from="(390,200)" to="(390,310)"/>
    <wire from="(270,230)" to="(290,230)"/>
    <wire from="(370,200)" to="(390,200)"/>
    <wire from="(350,240)" to="(370,240)"/>
    <wire from="(470,320)" to="(490,320)"/>
    <wire from="(470,400)" to="(490,400)"/>
    <wire from="(490,350)" to="(510,350)"/>
    <wire from="(490,370)" to="(510,370)"/>
    <wire from="(270,390)" to="(420,390)"/>
    <wire from="(370,150)" to="(370,200)"/>
    <wire from="(580,360)" to="(580,410)"/>
    <comp lib="0" loc="(220,280)" name="Pin">
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(580,210)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="1" loc="(480,210)" name="XOR Gate"/>
    <comp lib="0" loc="(220,230)" name="Pin">
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(370,150)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(580,410)" name="Pin">
      <a name="facing" val="north"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="1" loc="(560,360)" name="OR Gate"/>
    <comp lib="1" loc="(470,320)" name="AND Gate"/>
    <comp lib="1" loc="(470,400)" name="AND Gate"/>
    <comp lib="1" loc="(350,240)" name="XOR Gate"/>
  </circuit>
</project>
