<?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="3-input-XOR-as-M2"/>
  <options>
    <a name="gateUndefined" val="ignore"/>
    <a name="simlimit" val="1000"/>
    <a name="simrand" val="0"/>
  </options>
  <mappings>
    <tool lib="6" map="Button2" name="Poke 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="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="3-input-XOR-as-M2">
    <a name="circuit" val="3-input-XOR-as-M2"/>
    <a name="clabel" val="M2"/>
    <a name="clabelup" val="north"/>
    <a name="clabelfont" val="Dialog plain 12"/>
    <appear>
      <path d="M50,40 Q90,40 100,70" fill="none" stroke="#000000" stroke-width="2"/>
      <path d="M50,100 Q90,100 100,70" fill="none" stroke="#000000" stroke-width="2"/>
      <path d="M50,40 Q60,70 50,100" fill="none" stroke="#000000" stroke-width="2"/>
      <path d="M40,40 Q50,70 40,100" fill="none" stroke="#000000" stroke-width="2"/>
      <circ-port height="8" pin="150,310" width="8" x="36" y="46"/>
      <circ-port height="8" pin="150,350" width="8" x="36" y="66"/>
      <circ-port height="8" pin="150,440" width="8" x="36" y="86"/>
      <circ-port height="10" pin="410,420" width="10" x="95" y="65"/>
      <circ-anchor facing="east" height="6" width="6" x="97" y="67"/>
    </appear>
    <wire from="(250,330)" to="(280,330)"/>
    <wire from="(280,330)" to="(280,400)"/>
    <wire from="(150,440)" to="(310,440)"/>
    <wire from="(280,400)" to="(310,400)"/>
    <wire from="(150,310)" to="(190,310)"/>
    <wire from="(150,350)" to="(190,350)"/>
    <wire from="(370,420)" to="(410,420)"/>
    <comp lib="0" loc="(150,350)" name="Pin">
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(150,310)" name="Pin">
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="1" loc="(250,330)" name="XOR Gate">
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(410,420)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="1" loc="(370,420)" name="XOR Gate">
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(150,440)" name="Pin">
      <a name="tristate" val="false"/>
    </comp>
  </circuit>
  <circuit name="4-input-XOR-as-M2">
    <a name="circuit" val="4-input-XOR-as-M2"/>
    <a name="clabel" val="M2"/>
    <a name="clabelup" val="north"/>
    <a name="clabelfont" val="Dialog plain 12"/>
    <appear>
      <path d="M60,40 Q70,70 60,100" fill="none" stroke="#000000" stroke-width="2"/>
      <path d="M60,40 Q100,40 110,70" fill="none" stroke="#000000" stroke-width="2"/>
      <path d="M50,40 Q60,70 50,100" fill="none" stroke="#000000" stroke-width="2"/>
      <path d="M60,100 Q100,100 110,70" fill="none" stroke="#000000" stroke-width="2"/>
      <circ-port height="8" pin="80,100" width="8" x="46" y="46"/>
      <circ-port height="8" pin="80,140" width="8" x="46" y="56"/>
      <circ-port height="8" pin="80,260" width="8" x="46" y="76"/>
      <circ-port height="8" pin="80,300" width="8" x="46" y="86"/>
      <circ-port height="10" pin="340,210" width="10" x="105" y="65"/>
      <circ-anchor facing="east" height="6" width="6" x="107" y="67"/>
    </appear>
    <wire from="(180,120)" to="(210,120)"/>
    <wire from="(180,280)" to="(210,280)"/>
    <wire from="(210,190)" to="(240,190)"/>
    <wire from="(210,230)" to="(210,280)"/>
    <wire from="(210,230)" to="(240,230)"/>
    <wire from="(210,120)" to="(210,190)"/>
    <wire from="(80,100)" to="(120,100)"/>
    <wire from="(80,140)" to="(120,140)"/>
    <wire from="(80,260)" to="(120,260)"/>
    <wire from="(80,300)" to="(120,300)"/>
    <wire from="(300,210)" to="(340,210)"/>
    <comp lib="1" loc="(180,120)" name="XOR Gate">
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(80,140)" name="Pin">
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="1" loc="(180,280)" name="XOR Gate">
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(340,210)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(80,100)" name="Pin">
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(80,260)" name="Pin">
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(80,300)" name="Pin">
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="1" loc="(300,210)" name="XOR Gate">
      <a name="inputs" val="2"/>
    </comp>
  </circuit>
  <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="(190,120)" to="(220,120)"/>
    <wire from="(100,120)" to="(130,120)"/>
    <wire from="(100,90)" to="(110,90)"/>
    <wire from="(100,150)" to="(110,150)"/>
    <wire from="(110,90)" to="(110,100)"/>
    <wire from="(110,140)" to="(110,150)"/>
    <wire from="(110,100)" to="(130,100)"/>
    <wire from="(110,140)" to="(130,140)"/>
    <comp loc="(190,120)" name="3-input-XOR-as-M2"/>
    <comp lib="0" loc="(100,90)" name="Pin">
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(100,120)" name="Pin">
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(220,120)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(100,150)" name="Pin">
      <a name="tristate" val="false"/>
    </comp>
  </circuit>
</project>
