<?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">
    <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 20"/>
      <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 20"/>
      <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="(570,310)" to="(610,310)"/>
    <wire from="(570,470)" to="(570,480)"/>
    <wire from="(550,320)" to="(570,320)"/>
    <wire from="(400,320)" to="(510,320)"/>
    <wire from="(130,340)" to="(130,470)"/>
    <wire from="(570,220)" to="(610,220)"/>
    <wire from="(400,190)" to="(400,320)"/>
    <wire from="(200,110)" to="(200,240)"/>
    <wire from="(340,150)" to="(540,150)"/>
    <wire from="(530,90)" to="(530,130)"/>
    <wire from="(270,390)" to="(530,390)"/>
    <wire from="(520,480)" to="(520,500)"/>
    <wire from="(570,440)" to="(570,450)"/>
    <wire from="(270,260)" to="(270,390)"/>
    <wire from="(200,240)" to="(200,370)"/>
    <wire from="(400,190)" to="(510,190)"/>
    <wire from="(340,280)" to="(540,280)"/>
    <wire from="(130,210)" to="(510,210)"/>
    <wire from="(540,220)" to="(540,280)"/>
    <wire from="(570,180)" to="(610,180)"/>
    <wire from="(550,450)" to="(570,450)"/>
    <wire from="(400,60)" to="(400,190)"/>
    <wire from="(550,340)" to="(570,340)"/>
    <wire from="(570,80)" to="(570,90)"/>
    <wire from="(520,220)" to="(520,240)"/>
    <wire from="(200,500)" to="(200,580)"/>
    <wire from="(570,50)" to="(610,50)"/>
    <wire from="(270,260)" to="(530,260)"/>
    <wire from="(340,410)" to="(340,540)"/>
    <wire from="(270,390)" to="(270,520)"/>
    <wire from="(570,90)" to="(610,90)"/>
    <wire from="(570,50)" to="(570,60)"/>
    <wire from="(530,220)" to="(530,260)"/>
    <wire from="(340,540)" to="(340,580)"/>
    <wire from="(130,80)" to="(130,210)"/>
    <wire from="(400,450)" to="(400,580)"/>
    <wire from="(550,210)" to="(570,210)"/>
    <wire from="(340,410)" to="(540,410)"/>
    <wire from="(130,280)" to="(130,340)"/>
    <wire from="(200,370)" to="(200,500)"/>
    <wire from="(570,480)" to="(610,480)"/>
    <wire from="(130,80)" to="(510,80)"/>
    <wire from="(130,340)" to="(510,340)"/>
    <wire from="(540,350)" to="(540,410)"/>
    <wire from="(550,60)" to="(570,60)"/>
    <wire from="(550,470)" to="(570,470)"/>
    <wire from="(200,370)" to="(520,370)"/>
    <wire from="(570,210)" to="(570,220)"/>
    <wire from="(340,280)" to="(340,410)"/>
    <wire from="(570,180)" to="(570,190)"/>
    <wire from="(80,280)" to="(130,280)"/>
    <wire from="(530,350)" to="(530,390)"/>
    <wire from="(200,240)" to="(520,240)"/>
    <wire from="(520,90)" to="(520,110)"/>
    <wire from="(400,60)" to="(510,60)"/>
    <wire from="(400,320)" to="(400,450)"/>
    <wire from="(270,520)" to="(270,580)"/>
    <wire from="(130,210)" to="(130,280)"/>
    <wire from="(520,350)" to="(520,370)"/>
    <wire from="(550,80)" to="(570,80)"/>
    <wire from="(540,90)" to="(540,150)"/>
    <wire from="(270,130)" to="(530,130)"/>
    <wire from="(130,470)" to="(510,470)"/>
    <wire from="(540,480)" to="(540,540)"/>
    <wire from="(200,500)" to="(520,500)"/>
    <wire from="(340,150)" to="(340,280)"/>
    <wire from="(570,350)" to="(610,350)"/>
    <wire from="(570,440)" to="(610,440)"/>
    <wire from="(570,340)" to="(570,350)"/>
    <wire from="(400,450)" to="(510,450)"/>
    <wire from="(550,190)" to="(570,190)"/>
    <wire from="(340,540)" to="(540,540)"/>
    <wire from="(530,480)" to="(530,520)"/>
    <wire from="(570,310)" to="(570,320)"/>
    <wire from="(270,520)" to="(530,520)"/>
    <wire from="(270,130)" to="(270,260)"/>
    <wire from="(200,110)" to="(520,110)"/>
    <comp lib="0" loc="(610,310)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(610,350)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(400,580)" name="Pin">
      <a name="facing" val="north"/>
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="6" loc="(45,286)" name="Text">
      <a name="text" val="D"/>
      <a name="font" val="SansSerif plain 20"/>
    </comp>
    <comp lib="6" loc="(338,622)" name="Text">
      <a name="text" val="clear"/>
      <a name="font" val="SansSerif plain 20"/>
    </comp>
    <comp lib="6" loc="(598,293)" name="Text">
      <a name="text" val="high level"/>
      <a name="font" val="SansSerif plain 20"/>
    </comp>
    <comp lib="4" loc="(550,190)" name="D Flip-Flop">
      <a name="trigger" val="falling"/>
    </comp>
    <comp lib="4" loc="(550,320)" name="D Flip-Flop">
      <a name="trigger" val="high"/>
    </comp>
    <comp lib="6" loc="(598,424)" name="Text">
      <a name="text" val="low level"/>
      <a name="font" val="SansSerif plain 20"/>
    </comp>
    <comp lib="0" loc="(80,280)" name="Pin">
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(610,90)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="6" loc="(399,620)" name="Text">
      <a name="text" val="clock"/>
      <a name="font" val="SansSerif plain 20"/>
    </comp>
    <comp lib="6" loc="(198,620)" name="Text">
      <a name="text" val="set"/>
      <a name="font" val="SansSerif plain 20"/>
    </comp>
    <comp lib="6" loc="(557,33)" name="Text">
      <a name="text" val="rising edge"/>
      <a name="font" val="SansSerif plain 20"/>
    </comp>
    <comp lib="6" loc="(252,43)" name="Text">
      <a name="text" val="Demonstration of different triggers"/>
      <a name="font" val="SansSerif plain 28"/>
    </comp>
    <comp lib="0" loc="(610,440)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="4" loc="(550,450)" name="D Flip-Flop">
      <a name="trigger" val="low"/>
    </comp>
    <comp lib="0" loc="(610,180)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(200,580)" name="Pin">
      <a name="facing" val="north"/>
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(610,220)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(270,580)" name="Pin">
      <a name="facing" val="north"/>
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="4" loc="(550,60)" name="D Flip-Flop"/>
    <comp lib="6" loc="(597,161)" name="Text">
      <a name="text" val="falling edge"/>
      <a name="font" val="SansSerif plain 20"/>
    </comp>
    <comp lib="0" loc="(610,480)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="6" loc="(271,619)" name="Text">
      <a name="text" val="enable"/>
      <a name="font" val="SansSerif plain 20"/>
    </comp>
    <comp lib="0" loc="(340,580)" name="Pin">
      <a name="facing" val="north"/>
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(610,50)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
  </circuit>
</project>
