<?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="Tunnel">
      <a name="facing" val="east"/>
    </tool>
    <tool name="Clock">
      <a name="facing" val="south"/>
    </tool>
  </lib>
  <lib desc="#Gates" name="1"/>
  <lib desc="#Plexers" name="2"/>
  <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="Mealy"/>
  <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="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="Mealy">
    <a name="circuit" val="Mealy"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(410,280)" to="(410,350)"/>
    <wire from="(280,210)" to="(340,210)"/>
    <wire from="(410,140)" to="(410,210)"/>
    <wire from="(300,310)" to="(300,380)"/>
    <wire from="(320,370)" to="(320,440)"/>
    <wire from="(110,340)" to="(170,340)"/>
    <wire from="(110,220)" to="(170,220)"/>
    <wire from="(110,580)" to="(170,580)"/>
    <wire from="(110,460)" to="(170,460)"/>
    <wire from="(50,540)" to="(50,610)"/>
    <wire from="(290,290)" to="(340,290)"/>
    <wire from="(290,350)" to="(340,350)"/>
    <wire from="(50,240)" to="(160,240)"/>
    <wire from="(50,300)" to="(160,300)"/>
    <wire from="(50,180)" to="(160,180)"/>
    <wire from="(290,200)" to="(290,280)"/>
    <wire from="(490,210)" to="(490,610)"/>
    <wire from="(290,290)" to="(290,320)"/>
    <wire from="(300,310)" to="(340,310)"/>
    <wire from="(300,250)" to="(340,250)"/>
    <wire from="(220,440)" to="(320,440)"/>
    <wire from="(460,350)" to="(550,350)"/>
    <wire from="(390,370)" to="(420,370)"/>
    <wire from="(390,230)" to="(420,230)"/>
    <wire from="(80,560)" to="(80,600)"/>
    <wire from="(320,370)" to="(340,370)"/>
    <wire from="(330,390)" to="(330,560)"/>
    <wire from="(410,210)" to="(420,210)"/>
    <wire from="(410,350)" to="(420,350)"/>
    <wire from="(80,380)" to="(160,380)"/>
    <wire from="(80,200)" to="(160,200)"/>
    <wire from="(80,440)" to="(160,440)"/>
    <wire from="(550,100)" to="(550,350)"/>
    <wire from="(330,390)" to="(340,390)"/>
    <wire from="(220,380)" to="(300,380)"/>
    <wire from="(80,200)" to="(80,260)"/>
    <wire from="(80,320)" to="(80,380)"/>
    <wire from="(80,440)" to="(80,500)"/>
    <wire from="(80,260)" to="(80,320)"/>
    <wire from="(80,500)" to="(80,560)"/>
    <wire from="(80,380)" to="(80,440)"/>
    <wire from="(410,210)" to="(410,280)"/>
    <wire from="(220,260)" to="(280,260)"/>
    <wire from="(110,150)" to="(110,220)"/>
    <wire from="(480,280)" to="(480,600)"/>
    <wire from="(50,360)" to="(170,360)"/>
    <wire from="(50,480)" to="(170,480)"/>
    <wire from="(50,610)" to="(490,610)"/>
    <wire from="(50,540)" to="(170,540)"/>
    <wire from="(50,420)" to="(170,420)"/>
    <wire from="(290,280)" to="(340,280)"/>
    <wire from="(110,280)" to="(160,280)"/>
    <wire from="(110,400)" to="(160,400)"/>
    <wire from="(110,520)" to="(160,520)"/>
    <wire from="(220,560)" to="(330,560)"/>
    <wire from="(290,320)" to="(290,350)"/>
    <wire from="(390,300)" to="(420,300)"/>
    <wire from="(460,210)" to="(490,210)"/>
    <wire from="(220,500)" to="(310,500)"/>
    <wire from="(310,320)" to="(340,320)"/>
    <wire from="(80,260)" to="(170,260)"/>
    <wire from="(80,500)" to="(170,500)"/>
    <wire from="(80,320)" to="(170,320)"/>
    <wire from="(80,560)" to="(170,560)"/>
    <wire from="(460,280)" to="(480,280)"/>
    <wire from="(410,280)" to="(420,280)"/>
    <wire from="(310,320)" to="(310,500)"/>
    <wire from="(80,600)" to="(480,600)"/>
    <wire from="(280,210)" to="(280,260)"/>
    <wire from="(300,250)" to="(300,310)"/>
    <wire from="(220,200)" to="(290,200)"/>
    <wire from="(220,320)" to="(290,320)"/>
    <wire from="(50,300)" to="(50,360)"/>
    <wire from="(50,180)" to="(50,240)"/>
    <wire from="(50,420)" to="(50,480)"/>
    <wire from="(50,240)" to="(50,300)"/>
    <wire from="(50,480)" to="(50,540)"/>
    <wire from="(50,360)" to="(50,420)"/>
    <wire from="(110,280)" to="(110,340)"/>
    <wire from="(110,520)" to="(110,580)"/>
    <wire from="(110,400)" to="(110,460)"/>
    <wire from="(110,220)" to="(110,280)"/>
    <wire from="(110,340)" to="(110,400)"/>
    <wire from="(110,460)" to="(110,520)"/>
    <comp lib="6" loc="(231,152)" name="Text">
      <a name="text" val="(PLA with some minimization)"/>
      <a name="font" val="SansSerif bold 12"/>
    </comp>
    <comp lib="6" loc="(553,65)" name="Text">
      <a name="text" val="Output (defined by transition)"/>
      <a name="font" val="SansSerif bold 12"/>
    </comp>
    <comp lib="1" loc="(390,300)" name="OR Gate">
      <a name="inputs" val="4"/>
    </comp>
    <comp lib="6" loc="(247,56)" name="Text">
      <a name="text" val="Mealy State Machine"/>
      <a name="font" val="SansSerif plain 20"/>
    </comp>
    <comp lib="1" loc="(220,380)" name="AND Gate">
      <a name="inputs" val="3"/>
      <a name="negate1" val="true"/>
      <a name="negate2" val="true"/>
    </comp>
    <comp lib="0" loc="(550,100)" name="Pin">
      <a name="facing" val="south"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="1" loc="(220,500)" name="AND Gate">
      <a name="inputs" val="3"/>
      <a name="negate2" val="true"/>
    </comp>
    <comp lib="1" loc="(220,260)" name="AND Gate">
      <a name="inputs" val="3"/>
      <a name="negate0" val="true"/>
      <a name="negate2" val="true"/>
    </comp>
    <comp lib="1" loc="(220,200)" name="AND Gate">
      <a name="inputs" val="3"/>
      <a name="negate0" val="true"/>
      <a name="negate1" val="true"/>
    </comp>
    <comp lib="0" loc="(410,140)" name="Clock">
      <a name="facing" val="south"/>
    </comp>
    <comp lib="6" loc="(231,135)" name="Text">
      <a name="text" val="Combinational Component"/>
      <a name="font" val="SansSerif bold 12"/>
    </comp>
    <comp lib="1" loc="(220,560)" name="AND Gate">
      <a name="inputs" val="3"/>
    </comp>
    <comp lib="6" loc="(406,108)" name="Text">
      <a name="text" val="Clock"/>
      <a name="font" val="SansSerif bold 12"/>
    </comp>
    <comp lib="4" loc="(460,350)" name="D Flip-Flop">
      <a name="label" val="Out"/>
    </comp>
    <comp lib="1" loc="(390,230)" name="OR Gate">
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="6" loc="(478,177)" name="Text">
      <a name="text" val="Memory Component"/>
      <a name="font" val="SansSerif bold 12"/>
    </comp>
    <comp lib="6" loc="(113,119)" name="Text">
      <a name="text" val="Input"/>
      <a name="font" val="SansSerif bold 12"/>
    </comp>
    <comp lib="1" loc="(390,370)" name="OR Gate">
      <a name="inputs" val="3"/>
    </comp>
    <comp lib="4" loc="(460,210)" name="D Flip-Flop">
      <a name="label" val="S1"/>
    </comp>
    <comp lib="1" loc="(220,320)" name="AND Gate">
      <a name="inputs" val="3"/>
      <a name="negate0" val="true"/>
    </comp>
    <comp lib="0" loc="(110,150)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="1" loc="(220,440)" name="AND Gate">
      <a name="inputs" val="3"/>
      <a name="negate1" val="true"/>
    </comp>
    <comp lib="4" loc="(460,280)" name="D Flip-Flop">
      <a name="label" val="S0"/>
    </comp>
  </circuit>
  <circuit name="Moore">
    <a name="circuit" val="Moore"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(380,530)" to="(380,600)"/>
    <wire from="(590,370)" to="(640,370)"/>
    <wire from="(410,370)" to="(460,370)"/>
    <wire from="(410,550)" to="(460,550)"/>
    <wire from="(350,610)" to="(850,610)"/>
    <wire from="(350,450)" to="(470,450)"/>
    <wire from="(760,230)" to="(760,300)"/>
    <wire from="(350,510)" to="(470,510)"/>
    <wire from="(810,300)" to="(850,300)"/>
    <wire from="(380,410)" to="(380,490)"/>
    <wire from="(920,280)" to="(920,300)"/>
    <wire from="(380,530)" to="(470,530)"/>
    <wire from="(380,350)" to="(470,350)"/>
    <wire from="(380,410)" to="(470,410)"/>
    <wire from="(840,370)" to="(840,600)"/>
    <wire from="(610,410)" to="(640,410)"/>
    <wire from="(810,370)" to="(840,370)"/>
    <wire from="(550,300)" to="(640,300)"/>
    <wire from="(550,380)" to="(640,380)"/>
    <wire from="(520,530)" to="(610,530)"/>
    <wire from="(520,290)" to="(590,290)"/>
    <wire from="(380,600)" to="(840,600)"/>
    <wire from="(600,340)" to="(600,400)"/>
    <wire from="(850,300)" to="(920,300)"/>
    <wire from="(350,390)" to="(350,450)"/>
    <wire from="(350,330)" to="(350,390)"/>
    <wire from="(350,270)" to="(350,330)"/>
    <wire from="(350,450)" to="(350,510)"/>
    <wire from="(410,310)" to="(410,370)"/>
    <wire from="(410,370)" to="(410,430)"/>
    <wire from="(690,390)" to="(770,390)"/>
    <wire from="(760,300)" to="(770,300)"/>
    <wire from="(410,310)" to="(470,310)"/>
    <wire from="(410,430)" to="(470,430)"/>
    <wire from="(840,370)" to="(960,370)"/>
    <wire from="(760,300)" to="(760,370)"/>
    <wire from="(600,400)" to="(600,470)"/>
    <wire from="(600,340)" to="(640,340)"/>
    <wire from="(600,400)" to="(640,400)"/>
    <wire from="(960,280)" to="(960,370)"/>
    <wire from="(550,380)" to="(550,410)"/>
    <wire from="(350,390)" to="(460,390)"/>
    <wire from="(350,330)" to="(460,330)"/>
    <wire from="(350,270)" to="(460,270)"/>
    <wire from="(590,290)" to="(590,370)"/>
    <wire from="(350,510)" to="(350,610)"/>
    <wire from="(940,190)" to="(940,230)"/>
    <wire from="(520,350)" to="(550,350)"/>
    <wire from="(520,410)" to="(550,410)"/>
    <wire from="(380,490)" to="(380,530)"/>
    <wire from="(610,410)" to="(610,530)"/>
    <wire from="(380,290)" to="(460,290)"/>
    <wire from="(380,490)" to="(460,490)"/>
    <wire from="(520,470)" to="(600,470)"/>
    <wire from="(380,350)" to="(380,410)"/>
    <wire from="(380,290)" to="(380,350)"/>
    <wire from="(690,320)" to="(770,320)"/>
    <wire from="(550,300)" to="(550,350)"/>
    <wire from="(850,300)" to="(850,610)"/>
    <wire from="(760,370)" to="(770,370)"/>
    <wire from="(410,190)" to="(410,310)"/>
    <wire from="(410,430)" to="(410,550)"/>
    <comp lib="6" loc="(589,187)" name="Text">
      <a name="text" val="Combinational Component"/>
      <a name="font" val="SansSerif bold 12"/>
    </comp>
    <comp lib="1" loc="(690,320)" name="OR Gate">
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="1" loc="(690,390)" name="OR Gate">
      <a name="inputs" val="4"/>
    </comp>
    <comp lib="0" loc="(940,190)" name="Pin">
      <a name="facing" val="south"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="1" loc="(520,470)" name="AND Gate">
      <a name="inputs" val="2"/>
      <a name="negate1" val="true"/>
    </comp>
    <comp lib="6" loc="(704,119)" name="Text">
      <a name="text" val="Moore State Machine"/>
      <a name="font" val="SansSerif plain 20"/>
    </comp>
    <comp lib="4" loc="(810,370)" name="D Flip-Flop">
      <a name="label" val="S0"/>
    </comp>
    <comp lib="6" loc="(592,205)" name="Text">
      <a name="text" val="(PLA with some minimization)"/>
      <a name="font" val="SansSerif bold 12"/>
    </comp>
    <comp lib="0" loc="(760,230)" name="Clock">
      <a name="facing" val="south"/>
    </comp>
    <comp lib="1" loc="(940,230)" name="AND Gate">
      <a name="facing" val="north"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="6" loc="(943,155)" name="Text">
      <a name="text" val="Output (defined by state)"/>
      <a name="font" val="SansSerif bold 12"/>
    </comp>
    <comp lib="1" loc="(520,350)" name="AND Gate">
      <a name="inputs" val="3"/>
      <a name="negate0" val="true"/>
      <a name="negate2" val="true"/>
    </comp>
    <comp lib="4" loc="(810,300)" name="D Flip-Flop">
      <a name="label" val="S1"/>
    </comp>
    <comp lib="1" loc="(520,410)" name="AND Gate">
      <a name="inputs" val="3"/>
      <a name="negate0" val="true"/>
    </comp>
    <comp lib="0" loc="(410,190)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="6" loc="(413,159)" name="Text">
      <a name="text" val="Input"/>
      <a name="font" val="SansSerif bold 12"/>
    </comp>
    <comp lib="1" loc="(520,530)" name="AND Gate">
      <a name="inputs" val="3"/>
      <a name="negate2" val="true"/>
    </comp>
    <comp lib="1" loc="(520,290)" name="AND Gate">
      <a name="inputs" val="3"/>
      <a name="negate0" val="true"/>
      <a name="negate1" val="true"/>
    </comp>
    <comp lib="6" loc="(756,198)" name="Text">
      <a name="text" val="Clock"/>
      <a name="font" val="SansSerif bold 12"/>
    </comp>
    <comp lib="6" loc="(828,267)" name="Text">
      <a name="text" val="Memory Component"/>
      <a name="font" val="SansSerif bold 12"/>
    </comp>
  </circuit>
</project>
