<?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="facing" val="west"/>
      <a name="fanout" val="4"/>
      <a name="incoming" val="4"/>
    </tool>
    <tool name="Constant">
      <a name="width" val="7"/>
    </tool>
  </lib>
  <lib desc="#Gates" name="1">
    <tool name="OR Gate">
      <a name="inputs" val="3"/>
    </tool>
  </lib>
  <lib desc="#Plexers" name="2">
    <tool name="Multiplexer">
      <a name="width" val="7"/>
    </tool>
  </lib>
  <lib desc="#Arithmetic" name="3"/>
  <lib desc="#Memory" name="4">
    <tool name="Register">
      <a name="width" val="7"/>
    </tool>
    <tool name="Counter">
      <a name="width" val="4"/>
      <a name="max" val="0xf"/>
    </tool>
    <tool name="RAM">
      <a name="addrWidth" val="4"/>
      <a name="dataWidth" val="6"/>
    </tool>
    <tool name="ROM">
      <a name="addrWidth" val="4"/>
      <a name="dataWidth" val="6"/>
      <a name="contents">addr/data: 4 6
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="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="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="(270,690)" to="(320,690)"/>
    <wire from="(60,100)" to="(320,100)"/>
    <wire from="(670,790)" to="(670,1000)"/>
    <wire from="(750,700)" to="(750,710)"/>
    <wire from="(760,670)" to="(800,670)"/>
    <wire from="(210,810)" to="(210,850)"/>
    <wire from="(60,650)" to="(320,650)"/>
    <wire from="(750,640)" to="(750,650)"/>
    <wire from="(240,60)" to="(240,180)"/>
    <wire from="(660,210)" to="(680,210)"/>
    <wire from="(70,1000)" to="(670,1000)"/>
    <wire from="(750,580)" to="(750,590)"/>
    <wire from="(760,730)" to="(790,730)"/>
    <wire from="(670,730)" to="(670,790)"/>
    <wire from="(60,200)" to="(60,360)"/>
    <wire from="(120,630)" to="(720,630)"/>
    <wire from="(730,460)" to="(730,470)"/>
    <wire from="(750,760)" to="(750,770)"/>
    <wire from="(690,770)" to="(690,830)"/>
    <wire from="(560,230)" to="(560,260)"/>
    <wire from="(210,60)" to="(210,280)"/>
    <wire from="(370,220)" to="(380,220)"/>
    <wire from="(690,710)" to="(690,770)"/>
    <wire from="(690,530)" to="(750,530)"/>
    <wire from="(450,690)" to="(720,690)"/>
    <wire from="(690,650)" to="(690,710)"/>
    <wire from="(180,320)" to="(400,320)"/>
    <wire from="(380,220)" to="(380,240)"/>
    <wire from="(210,340)" to="(210,810)"/>
    <wire from="(450,160)" to="(600,160)"/>
    <wire from="(760,790)" to="(780,790)"/>
    <wire from="(270,530)" to="(270,690)"/>
    <wire from="(760,430)" to="(840,430)"/>
    <wire from="(210,280)" to="(400,280)"/>
    <wire from="(90,570)" to="(90,890)"/>
    <wire from="(120,300)" to="(120,630)"/>
    <wire from="(120,60)" to="(120,300)"/>
    <wire from="(240,450)" to="(720,450)"/>
    <wire from="(270,140)" to="(310,140)"/>
    <wire from="(210,810)" to="(720,810)"/>
    <wire from="(800,670)" to="(800,860)"/>
    <wire from="(580,240)" to="(640,240)"/>
    <wire from="(60,490)" to="(60,650)"/>
    <wire from="(180,160)" to="(400,160)"/>
    <wire from="(150,710)" to="(150,870)"/>
    <wire from="(240,180)" to="(240,450)"/>
    <wire from="(210,340)" to="(400,340)"/>
    <wire from="(210,850)" to="(790,850)"/>
    <wire from="(60,360)" to="(60,490)"/>
    <wire from="(600,250)" to="(640,250)"/>
    <wire from="(840,430)" to="(840,900)"/>
    <wire from="(670,430)" to="(720,430)"/>
    <wire from="(210,280)" to="(210,340)"/>
    <wire from="(370,120)" to="(380,120)"/>
    <wire from="(600,160)" to="(600,220)"/>
    <wire from="(670,790)" to="(720,790)"/>
    <wire from="(600,250)" to="(600,400)"/>
    <wire from="(760,610)" to="(810,610)"/>
    <wire from="(450,320)" to="(580,320)"/>
    <wire from="(180,160)" to="(180,320)"/>
    <wire from="(150,60)" to="(150,420)"/>
    <wire from="(60,650)" to="(60,900)"/>
    <wire from="(270,400)" to="(320,400)"/>
    <wire from="(270,530)" to="(310,530)"/>
    <wire from="(60,900)" to="(840,900)"/>
    <wire from="(380,240)" to="(400,240)"/>
    <wire from="(240,840)" to="(780,840)"/>
    <wire from="(90,260)" to="(90,570)"/>
    <wire from="(750,520)" to="(750,530)"/>
    <wire from="(670,730)" to="(720,730)"/>
    <wire from="(270,240)" to="(270,400)"/>
    <wire from="(450,400)" to="(600,400)"/>
    <wire from="(90,60)" to="(90,260)"/>
    <wire from="(670,430)" to="(670,490)"/>
    <wire from="(370,670)" to="(400,670)"/>
    <wire from="(670,550)" to="(720,550)"/>
    <wire from="(690,470)" to="(690,530)"/>
    <wire from="(690,470)" to="(730,470)"/>
    <wire from="(70,1050)" to="(90,1050)"/>
    <wire from="(670,490)" to="(720,490)"/>
    <wire from="(150,420)" to="(150,710)"/>
    <wire from="(150,420)" to="(400,420)"/>
    <wire from="(790,730)" to="(790,850)"/>
    <wire from="(270,400)" to="(270,530)"/>
    <wire from="(60,200)" to="(320,200)"/>
    <wire from="(670,610)" to="(720,610)"/>
    <wire from="(180,750)" to="(720,750)"/>
    <wire from="(380,120)" to="(380,140)"/>
    <wire from="(690,830)" to="(750,830)"/>
    <wire from="(90,890)" to="(830,890)"/>
    <wire from="(270,140)" to="(270,240)"/>
    <wire from="(90,570)" to="(720,570)"/>
    <wire from="(560,230)" to="(640,230)"/>
    <wire from="(690,530)" to="(690,590)"/>
    <wire from="(90,260)" to="(400,260)"/>
    <wire from="(270,240)" to="(310,240)"/>
    <wire from="(370,510)" to="(720,510)"/>
    <wire from="(830,490)" to="(830,890)"/>
    <wire from="(670,670)" to="(720,670)"/>
    <wire from="(580,240)" to="(580,320)"/>
    <wire from="(180,860)" to="(800,860)"/>
    <wire from="(150,870)" to="(810,870)"/>
    <wire from="(690,770)" to="(750,770)"/>
    <wire from="(60,60)" to="(60,100)"/>
    <wire from="(270,690)" to="(270,950)"/>
    <wire from="(60,360)" to="(320,360)"/>
    <wire from="(670,490)" to="(670,550)"/>
    <wire from="(180,750)" to="(180,860)"/>
    <wire from="(780,790)" to="(780,840)"/>
    <wire from="(690,590)" to="(750,590)"/>
    <wire from="(120,1050)" to="(690,1050)"/>
    <wire from="(120,630)" to="(120,880)"/>
    <wire from="(670,550)" to="(670,610)"/>
    <wire from="(690,590)" to="(690,650)"/>
    <wire from="(690,650)" to="(750,650)"/>
    <wire from="(150,710)" to="(400,710)"/>
    <wire from="(60,100)" to="(60,200)"/>
    <wire from="(450,260)" to="(560,260)"/>
    <wire from="(380,140)" to="(400,140)"/>
    <wire from="(690,710)" to="(750,710)"/>
    <wire from="(180,60)" to="(180,160)"/>
    <wire from="(810,610)" to="(810,870)"/>
    <wire from="(670,670)" to="(670,730)"/>
    <wire from="(680,180)" to="(680,210)"/>
    <wire from="(820,550)" to="(820,880)"/>
    <wire from="(760,490)" to="(830,490)"/>
    <wire from="(690,830)" to="(690,1050)"/>
    <wire from="(370,380)" to="(400,380)"/>
    <wire from="(60,490)" to="(320,490)"/>
    <wire from="(750,820)" to="(750,830)"/>
    <wire from="(240,450)" to="(240,840)"/>
    <wire from="(120,880)" to="(820,880)"/>
    <wire from="(240,180)" to="(400,180)"/>
    <wire from="(180,320)" to="(180,750)"/>
    <wire from="(760,550)" to="(820,550)"/>
    <wire from="(670,610)" to="(670,670)"/>
    <wire from="(600,220)" to="(640,220)"/>
    <wire from="(120,300)" to="(400,300)"/>
    <wire from="(70,950)" to="(270,950)"/>
    <comp lib="0" loc="(180,60)" name="Pin">
      <a name="facing" val="south"/>
      <a name="output" val="true"/>
      <a name="label" val="Z2"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="1" loc="(450,400)" name="OR Gate">
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(90,60)" name="Pin">
      <a name="facing" val="south"/>
      <a name="output" val="true"/>
      <a name="label" val="Y2"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(70,1000)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="Clock"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="1" loc="(450,690)" name="OR Gate">
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="1" loc="(370,670)" name="AND Gate">
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(210,60)" name="Pin">
      <a name="facing" val="south"/>
      <a name="output" val="true"/>
      <a name="label" val="Z3"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="4" loc="(760,550)" name="D Flip-Flop"/>
    <comp lib="5" loc="(680,180)" name="Hex Digit Display"/>
    <comp lib="6" loc="(453,963)" name="Text">
      <a name="text" val="Created by Dean Brock, UNC Ashevllle"/>
      <a name="font" val="SansSerif plain 18"/>
    </comp>
    <comp lib="4" loc="(760,790)" name="D Flip-Flop"/>
    <comp lib="0" loc="(660,210)" name="Splitter">
      <a name="facing" val="west"/>
      <a name="fanout" val="4"/>
      <a name="incoming" val="4"/>
    </comp>
    <comp lib="0" loc="(70,1050)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="RESET#"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(60,60)" name="Pin">
      <a name="facing" val="south"/>
      <a name="output" val="true"/>
      <a name="label" val="S*"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="4" loc="(760,490)" name="D Flip-Flop"/>
    <comp lib="1" loc="(120,1050)" name="NOT Gate"/>
    <comp lib="1" loc="(450,260)" name="OR Gate">
      <a name="inputs" val="3"/>
    </comp>
    <comp lib="0" loc="(240,60)" name="Pin">
      <a name="facing" val="south"/>
      <a name="output" val="true"/>
      <a name="label" val="Z4"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="1" loc="(370,120)" name="AND Gate">
      <a name="inputs" val="2"/>
      <a name="negate1" val="true"/>
    </comp>
    <comp lib="1" loc="(450,160)" name="OR Gate">
      <a name="inputs" val="3"/>
    </comp>
    <comp lib="4" loc="(760,430)" name="D Flip-Flop"/>
    <comp lib="1" loc="(370,380)" name="AND Gate">
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="4" loc="(760,730)" name="D Flip-Flop"/>
    <comp lib="1" loc="(450,320)" name="OR Gate">
      <a name="inputs" val="3"/>
    </comp>
    <comp lib="6" loc="(493,1119)" name="Text">
      <a name="text" val="based on Figure 2.7, Microcontrollers, .... by Reese, Bruce, and Jones"/>
      <a name="font" val="SansSerif bold 18"/>
    </comp>
    <comp lib="0" loc="(150,60)" name="Pin">
      <a name="facing" val="south"/>
      <a name="output" val="true"/>
      <a name="label" val="Z1"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(70,950)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="LOC"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="4" loc="(760,670)" name="D Flip-Flop"/>
    <comp lib="1" loc="(370,510)" name="AND Gate">
      <a name="inputs" val="2"/>
      <a name="negate1" val="true"/>
    </comp>
    <comp lib="4" loc="(760,610)" name="D Flip-Flop"/>
    <comp lib="1" loc="(370,220)" name="AND Gate">
      <a name="inputs" val="2"/>
      <a name="negate1" val="true"/>
    </comp>
    <comp lib="0" loc="(120,60)" name="Pin">
      <a name="facing" val="south"/>
      <a name="output" val="true"/>
      <a name="label" val="Y3"/>
      <a name="labelloc" val="north"/>
    </comp>
  </circuit>
</project>
