<?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 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="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 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="main">
    <a name="circuit" val="main"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(800,150)" to="(800,210)"/>
    <wire from="(510,480)" to="(510,500)"/>
    <wire from="(700,220)" to="(740,220)"/>
    <wire from="(770,120)" to="(840,120)"/>
    <wire from="(800,150)" to="(840,150)"/>
    <wire from="(380,280)" to="(750,280)"/>
    <wire from="(280,150)" to="(280,330)"/>
    <wire from="(120,330)" to="(270,330)"/>
    <wire from="(190,520)" to="(190,570)"/>
    <wire from="(780,130)" to="(840,130)"/>
    <wire from="(750,280)" to="(860,280)"/>
    <wire from="(560,330)" to="(770,330)"/>
    <wire from="(750,240)" to="(750,280)"/>
    <wire from="(180,180)" to="(180,220)"/>
    <wire from="(190,520)" to="(470,520)"/>
    <wire from="(120,280)" to="(290,280)"/>
    <wire from="(750,100)" to="(750,210)"/>
    <wire from="(510,500)" to="(550,500)"/>
    <wire from="(820,170)" to="(820,210)"/>
    <wire from="(770,120)" to="(770,210)"/>
    <wire from="(790,140)" to="(790,210)"/>
    <wire from="(90,160)" to="(170,160)"/>
    <wire from="(810,160)" to="(840,160)"/>
    <wire from="(290,140)" to="(290,280)"/>
    <wire from="(470,480)" to="(470,520)"/>
    <wire from="(770,240)" to="(770,330)"/>
    <wire from="(250,170)" to="(260,170)"/>
    <wire from="(470,520)" to="(720,520)"/>
    <wire from="(90,150)" to="(170,150)"/>
    <wire from="(190,180)" to="(190,520)"/>
    <wire from="(180,220)" to="(320,220)"/>
    <wire from="(720,230)" to="(740,230)"/>
    <wire from="(560,330)" to="(560,440)"/>
    <wire from="(250,150)" to="(280,150)"/>
    <wire from="(290,280)" to="(380,280)"/>
    <wire from="(790,140)" to="(840,140)"/>
    <wire from="(270,160)" to="(270,330)"/>
    <wire from="(770,330)" to="(860,330)"/>
    <wire from="(380,440)" to="(400,440)"/>
    <wire from="(250,160)" to="(270,160)"/>
    <wire from="(720,230)" to="(720,520)"/>
    <wire from="(750,100)" to="(840,100)"/>
    <wire from="(490,480)" to="(490,580)"/>
    <wire from="(780,130)" to="(780,210)"/>
    <wire from="(250,140)" to="(290,140)"/>
    <wire from="(380,280)" to="(380,440)"/>
    <wire from="(760,110)" to="(840,110)"/>
    <wire from="(280,330)" to="(560,330)"/>
    <wire from="(540,440)" to="(560,440)"/>
    <wire from="(260,170)" to="(260,580)"/>
    <wire from="(810,160)" to="(810,210)"/>
    <wire from="(820,170)" to="(840,170)"/>
    <wire from="(760,110)" to="(760,210)"/>
    <wire from="(270,330)" to="(280,330)"/>
    <comp lib="5" loc="(840,100)" name="DotMatrix">
      <a name="inputtype" val="row"/>
      <a name="matrixcols" val="8"/>
      <a name="matrixrows" val="8"/>
      <a name="offcolor" val="#000000"/>
      <a name="dotshape" val="circle"/>
    </comp>
    <comp lib="0" loc="(190,570)" name="Clock">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="4" loc="(540,440)" name="RAM">
      <a name="addrWidth" val="3"/>
    </comp>
    <comp loc="(160,140)" name="Scribbler"/>
    <comp lib="0" loc="(860,330)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="width" val="8"/>
      <a name="label" val="Data bus"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="6" loc="(355,242)" name="Text">
      <a name="text" val="Game has access"/>
    </comp>
    <comp lib="6" loc="(76,130)" name="Text">
      <a name="text" val="Joystick!"/>
    </comp>
    <comp lib="5" loc="(90,150)" name="Joystick"/>
    <comp lib="5" loc="(550,500)" name="Button">
      <a name="facing" val="west"/>
    </comp>
    <comp loc="(730,210)" name="8x8 Video Controller"/>
    <comp lib="6" loc="(292,599)" name="Text">
      <a name="text" val="Write to RAM"/>
    </comp>
    <comp lib="0" loc="(860,280)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="width" val="3"/>
      <a name="label" val="Address bus"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="6" loc="(644,504)" name="Text">
      <a name="text" val="Press to clear screen"/>
    </comp>
    <comp lib="6" loc="(650,210)" name="Text">
      <a name="text" val="Video controller has access"/>
    </comp>
    <comp lib="6" loc="(563,576)" name="Text">
      <a name="text" val="Activate RAM output"/>
    </comp>
  </circuit>
  <circuit name="8x8 Video Controller">
    <a name="circuit" val="8x8 Video Controller"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <appear>
      <rect fill="none" height="30" stroke="#000000" stroke-width="2" width="86" x="124" y="110"/>
      <text font-family="SansSerif" font-size="12" text-anchor="middle" x="165" y="130">Video Ctl</text>
      <circ-port height="8" pin="90,90" width="8" x="116" y="116"/>
      <circ-port height="10" pin="170,90" width="10" x="125" y="135"/>
      <circ-port height="8" pin="260,90" width="8" x="146" y="136"/>
      <circ-port height="8" pin="530,90" width="8" x="116" y="126"/>
      <circ-port height="10" pin="730,140" width="10" x="125" y="105"/>
      <circ-port height="10" pin="730,200" width="10" x="135" y="105"/>
      <circ-port height="10" pin="730,260" width="10" x="145" y="105"/>
      <circ-port height="10" pin="730,320" width="10" x="155" y="105"/>
      <circ-port height="10" pin="730,380" width="10" x="165" y="105"/>
      <circ-port height="10" pin="730,440" width="10" x="175" y="105"/>
      <circ-port height="10" pin="730,500" width="10" x="185" y="105"/>
      <circ-port height="10" pin="730,560" width="10" x="195" y="105"/>
      <circ-anchor facing="east" height="6" width="6" x="107" y="107"/>
    </appear>
    <wire from="(330,270)" to="(440,270)"/>
    <wire from="(530,100)" to="(530,170)"/>
    <wire from="(510,500)" to="(510,560)"/>
    <wire from="(530,170)" to="(550,170)"/>
    <wire from="(340,160)" to="(340,210)"/>
    <wire from="(310,390)" to="(440,390)"/>
    <wire from="(140,230)" to="(220,230)"/>
    <wire from="(530,350)" to="(580,350)"/>
    <wire from="(420,370)" to="(420,430)"/>
    <wire from="(420,430)" to="(420,490)"/>
    <wire from="(510,440)" to="(510,500)"/>
    <wire from="(420,490)" to="(420,550)"/>
    <wire from="(490,330)" to="(570,330)"/>
    <wire from="(250,160)" to="(340,160)"/>
    <wire from="(420,310)" to="(420,370)"/>
    <wire from="(490,390)" to="(580,390)"/>
    <wire from="(530,170)" to="(530,230)"/>
    <wire from="(250,180)" to="(320,180)"/>
    <wire from="(510,380)" to="(510,440)"/>
    <wire from="(510,500)" to="(600,500)"/>
    <wire from="(610,380)" to="(730,380)"/>
    <wire from="(250,170)" to="(330,170)"/>
    <wire from="(300,200)" to="(300,450)"/>
    <wire from="(530,290)" to="(530,350)"/>
    <wire from="(250,200)" to="(300,200)"/>
    <wire from="(150,160)" to="(160,160)"/>
    <wire from="(640,560)" to="(730,560)"/>
    <wire from="(580,340)" to="(580,350)"/>
    <wire from="(510,320)" to="(570,320)"/>
    <wire from="(250,190)" to="(310,190)"/>
    <wire from="(150,130)" to="(150,160)"/>
    <wire from="(260,110)" to="(510,110)"/>
    <wire from="(530,410)" to="(590,410)"/>
    <wire from="(530,350)" to="(530,410)"/>
    <wire from="(60,130)" to="(90,130)"/>
    <wire from="(510,140)" to="(540,140)"/>
    <wire from="(530,410)" to="(530,470)"/>
    <wire from="(250,210)" to="(290,210)"/>
    <wire from="(530,230)" to="(530,290)"/>
    <wire from="(330,170)" to="(330,270)"/>
    <wire from="(110,190)" to="(170,190)"/>
    <wire from="(620,440)" to="(730,440)"/>
    <wire from="(610,520)" to="(610,530)"/>
    <wire from="(300,450)" to="(440,450)"/>
    <wire from="(600,460)" to="(600,470)"/>
    <wire from="(290,210)" to="(290,510)"/>
    <wire from="(510,560)" to="(610,560)"/>
    <wire from="(420,250)" to="(440,250)"/>
    <wire from="(530,470)" to="(600,470)"/>
    <wire from="(170,190)" to="(170,250)"/>
    <wire from="(60,130)" to="(60,200)"/>
    <wire from="(90,90)" to="(90,130)"/>
    <wire from="(250,220)" to="(280,220)"/>
    <wire from="(600,320)" to="(730,320)"/>
    <wire from="(420,130)" to="(440,130)"/>
    <wire from="(250,150)" to="(440,150)"/>
    <wire from="(320,180)" to="(320,330)"/>
    <wire from="(140,130)" to="(150,130)"/>
    <wire from="(560,220)" to="(560,230)"/>
    <wire from="(490,570)" to="(610,570)"/>
    <wire from="(420,190)" to="(440,190)"/>
    <wire from="(320,330)" to="(440,330)"/>
    <wire from="(620,580)" to="(620,590)"/>
    <wire from="(550,160)" to="(550,170)"/>
    <wire from="(120,100)" to="(120,220)"/>
    <wire from="(420,310)" to="(440,310)"/>
    <wire from="(90,210)" to="(90,220)"/>
    <wire from="(530,530)" to="(610,530)"/>
    <wire from="(530,230)" to="(560,230)"/>
    <wire from="(510,110)" to="(510,140)"/>
    <wire from="(510,140)" to="(510,200)"/>
    <wire from="(170,250)" to="(230,250)"/>
    <wire from="(310,190)" to="(310,390)"/>
    <wire from="(590,400)" to="(590,410)"/>
    <wire from="(420,370)" to="(440,370)"/>
    <wire from="(150,130)" to="(420,130)"/>
    <wire from="(230,230)" to="(230,250)"/>
    <wire from="(510,380)" to="(580,380)"/>
    <wire from="(530,530)" to="(530,590)"/>
    <wire from="(340,210)" to="(440,210)"/>
    <wire from="(140,130)" to="(140,230)"/>
    <wire from="(420,550)" to="(440,550)"/>
    <wire from="(510,200)" to="(550,200)"/>
    <wire from="(530,90)" to="(530,100)"/>
    <wire from="(260,90)" to="(260,110)"/>
    <wire from="(280,220)" to="(280,570)"/>
    <wire from="(510,200)" to="(510,260)"/>
    <wire from="(280,570)" to="(440,570)"/>
    <wire from="(510,260)" to="(510,320)"/>
    <wire from="(530,470)" to="(530,530)"/>
    <wire from="(490,510)" to="(600,510)"/>
    <wire from="(90,220)" to="(120,220)"/>
    <wire from="(510,320)" to="(510,380)"/>
    <wire from="(60,200)" to="(80,200)"/>
    <wire from="(420,490)" to="(440,490)"/>
    <wire from="(420,250)" to="(420,310)"/>
    <wire from="(170,90)" to="(170,150)"/>
    <wire from="(420,190)" to="(420,250)"/>
    <wire from="(490,450)" to="(590,450)"/>
    <wire from="(490,150)" to="(540,150)"/>
    <wire from="(90,130)" to="(140,130)"/>
    <wire from="(630,500)" to="(730,500)"/>
    <wire from="(290,510)" to="(440,510)"/>
    <wire from="(420,430)" to="(440,430)"/>
    <wire from="(490,270)" to="(560,270)"/>
    <wire from="(530,290)" to="(570,290)"/>
    <wire from="(580,200)" to="(730,200)"/>
    <wire from="(510,260)" to="(560,260)"/>
    <wire from="(490,210)" to="(550,210)"/>
    <wire from="(120,100)" to="(530,100)"/>
    <wire from="(590,260)" to="(730,260)"/>
    <wire from="(170,170)" to="(170,190)"/>
    <wire from="(420,130)" to="(420,190)"/>
    <wire from="(570,280)" to="(570,290)"/>
    <wire from="(570,140)" to="(730,140)"/>
    <wire from="(510,440)" to="(590,440)"/>
    <wire from="(530,590)" to="(620,590)"/>
    <comp lib="1" loc="(490,210)" name="AND Gate"/>
    <comp lib="4" loc="(600,320)" name="Register"/>
    <comp lib="1" loc="(490,330)" name="AND Gate"/>
    <comp lib="4" loc="(590,260)" name="Register"/>
    <comp lib="0" loc="(90,90)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Access"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="1" loc="(490,270)" name="AND Gate"/>
    <comp lib="1" loc="(490,510)" name="AND Gate"/>
    <comp lib="0" loc="(730,500)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="width" val="8"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Row 6"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="1" loc="(490,390)" name="AND Gate"/>
    <comp lib="0" loc="(730,440)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="width" val="8"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Row 5"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(170,90)" name="Pin">
      <a name="facing" val="south"/>
      <a name="output" val="true"/>
      <a name="width" val="3"/>
      <a name="label" val="Address Out"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="1" loc="(490,150)" name="AND Gate"/>
    <comp lib="0" loc="(730,140)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="width" val="8"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Row 0"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="4" loc="(110,190)" name="Counter">
      <a name="width" val="3"/>
      <a name="max" val="0x7"/>
    </comp>
    <comp lib="0" loc="(730,260)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="width" val="8"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Row 2"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(730,200)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="width" val="8"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Row 1"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(730,560)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="width" val="8"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Row 7"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="4" loc="(630,500)" name="Register"/>
    <comp lib="4" loc="(570,140)" name="Register"/>
    <comp lib="4" loc="(640,560)" name="Register"/>
    <comp lib="0" loc="(730,320)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="width" val="8"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Row 3"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(530,90)" name="Pin">
      <a name="facing" val="south"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Clock"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="2" loc="(230,230)" name="Decoder">
      <a name="select" val="3"/>
    </comp>
    <comp lib="1" loc="(490,450)" name="AND Gate"/>
    <comp lib="0" loc="(260,90)" name="Pin">
      <a name="facing" val="south"/>
      <a name="width" val="8"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Data In"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(730,380)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="width" val="8"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Row 4"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="1" loc="(170,150)" name="Controlled Buffer">
      <a name="facing" val="north"/>
      <a name="width" val="3"/>
      <a name="control" val="left"/>
    </comp>
    <comp lib="4" loc="(580,200)" name="Register"/>
    <comp lib="4" loc="(620,440)" name="Register"/>
    <comp lib="4" loc="(610,380)" name="Register"/>
    <comp lib="1" loc="(490,570)" name="AND Gate"/>
  </circuit>
  <circuit name="Scribbler">
    <a name="circuit" val="Scribbler"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <appear>
      <rect fill="none" height="51" stroke="#000000" stroke-width="2" width="80" x="50" y="50"/>
      <text font-family="SansSerif" font-size="12" text-anchor="middle" x="89" y="80">Scribbler</text>
      <circ-port height="8" pin="140,100" width="8" x="46" y="66"/>
      <circ-port height="8" pin="140,160" width="8" x="46" y="76"/>
      <circ-port height="10" pin="630,100" width="10" x="125" y="55"/>
      <circ-port height="8" pin="630,180" width="8" x="126" y="66"/>
      <circ-port height="10" pin="630,270" width="10" x="125" y="75"/>
      <circ-port height="10" pin="630,370" width="10" x="125" y="85"/>
      <circ-port height="8" pin="100,570" width="8" x="56" y="96"/>
      <circ-port height="8" pin="170,570" width="8" x="66" y="96"/>
      <circ-anchor facing="east" height="6" width="6" x="37" y="57"/>
    </appear>
    <wire from="(580,180)" to="(630,180)"/>
    <wire from="(580,370)" to="(630,370)"/>
    <wire from="(510,370)" to="(510,460)"/>
    <wire from="(430,210)" to="(430,340)"/>
    <wire from="(210,160)" to="(240,160)"/>
    <wire from="(470,250)" to="(490,250)"/>
    <wire from="(540,270)" to="(560,270)"/>
    <wire from="(380,340)" to="(380,390)"/>
    <wire from="(380,290)" to="(490,290)"/>
    <wire from="(170,340)" to="(170,570)"/>
    <wire from="(180,370)" to="(460,370)"/>
    <wire from="(100,410)" to="(100,490)"/>
    <wire from="(400,190)" to="(420,190)"/>
    <wire from="(100,490)" to="(100,570)"/>
    <wire from="(580,100)" to="(630,100)"/>
    <wire from="(380,390)" to="(410,390)"/>
    <wire from="(210,100)" to="(280,100)"/>
    <wire from="(600,200)" to="(600,340)"/>
    <wire from="(190,130)" to="(220,130)"/>
    <wire from="(460,370)" to="(460,390)"/>
    <wire from="(380,340)" to="(430,340)"/>
    <wire from="(290,160)" to="(290,250)"/>
    <wire from="(600,340)" to="(600,390)"/>
    <wire from="(510,370)" to="(540,370)"/>
    <wire from="(400,200)" to="(400,450)"/>
    <wire from="(400,150)" to="(490,150)"/>
    <wire from="(570,120)" to="(600,120)"/>
    <wire from="(290,250)" to="(300,250)"/>
    <wire from="(380,450)" to="(400,450)"/>
    <wire from="(160,110)" to="(180,110)"/>
    <wire from="(200,420)" to="(210,420)"/>
    <wire from="(580,320)" to="(580,340)"/>
    <wire from="(380,430)" to="(390,430)"/>
    <wire from="(160,110)" to="(160,170)"/>
    <wire from="(350,420)" to="(360,420)"/>
    <wire from="(160,170)" to="(180,170)"/>
    <wire from="(570,110)" to="(570,120)"/>
    <wire from="(180,370)" to="(180,400)"/>
    <wire from="(190,190)" to="(220,190)"/>
    <wire from="(160,310)" to="(480,310)"/>
    <wire from="(400,150)" to="(400,190)"/>
    <wire from="(540,340)" to="(560,340)"/>
    <wire from="(580,340)" to="(600,340)"/>
    <wire from="(380,440)" to="(480,440)"/>
    <wire from="(600,120)" to="(600,200)"/>
    <wire from="(540,370)" to="(560,370)"/>
    <wire from="(450,190)" to="(470,190)"/>
    <wire from="(490,150)" to="(490,180)"/>
    <wire from="(400,200)" to="(420,200)"/>
    <wire from="(190,120)" to="(190,130)"/>
    <wire from="(570,200)" to="(600,200)"/>
    <wire from="(490,180)" to="(560,180)"/>
    <wire from="(540,340)" to="(540,370)"/>
    <wire from="(220,130)" to="(220,190)"/>
    <wire from="(380,460)" to="(510,460)"/>
    <wire from="(480,310)" to="(480,440)"/>
    <wire from="(170,340)" to="(220,340)"/>
    <wire from="(600,390)" to="(600,490)"/>
    <wire from="(220,340)" to="(380,340)"/>
    <wire from="(450,390)" to="(460,390)"/>
    <wire from="(140,100)" to="(180,100)"/>
    <wire from="(570,390)" to="(600,390)"/>
    <wire from="(320,100)" to="(560,100)"/>
    <wire from="(140,160)" to="(180,160)"/>
    <wire from="(580,270)" to="(630,270)"/>
    <wire from="(190,180)" to="(190,190)"/>
    <wire from="(100,410)" to="(180,410)"/>
    <wire from="(570,380)" to="(570,390)"/>
    <wire from="(390,410)" to="(390,430)"/>
    <wire from="(280,160)" to="(290,160)"/>
    <wire from="(470,190)" to="(470,250)"/>
    <wire from="(570,190)" to="(570,200)"/>
    <wire from="(560,320)" to="(560,340)"/>
    <wire from="(570,280)" to="(570,290)"/>
    <wire from="(220,190)" to="(220,340)"/>
    <wire from="(160,170)" to="(160,310)"/>
    <wire from="(390,410)" to="(410,410)"/>
    <wire from="(100,490)" to="(600,490)"/>
    <comp lib="0" loc="(200,420)" name="Splitter">
      <a name="facing" val="west"/>
      <a name="appear" val="right"/>
    </comp>
    <comp lib="0" loc="(380,290)" name="Splitter">
      <a name="facing" val="north"/>
      <a name="fanout" val="8"/>
      <a name="incoming" val="8"/>
    </comp>
    <comp lib="0" loc="(320,100)" name="Splitter">
      <a name="facing" val="west"/>
      <a name="fanout" val="3"/>
      <a name="incoming" val="3"/>
      <a name="appear" val="right"/>
    </comp>
    <comp lib="4" loc="(450,390)" name="D Flip-Flop"/>
    <comp lib="0" loc="(140,160)" name="Pin">
      <a name="width" val="4"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Horizontal"/>
    </comp>
    <comp lib="4" loc="(210,100)" name="Register">
      <a name="width" val="4"/>
    </comp>
    <comp lib="0" loc="(240,160)" name="Splitter">
      <a name="fanout" val="4"/>
      <a name="incoming" val="4"/>
    </comp>
    <comp lib="0" loc="(630,180)" name="Pin">
      <a name="facing" val="west"/>
      <a name="width" val="8"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Data In"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(100,570)" name="Pin">
      <a name="facing" val="north"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Access"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="1" loc="(540,270)" name="OR Gate">
      <a name="width" val="8"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="1" loc="(580,100)" name="Controlled Buffer">
      <a name="width" val="3"/>
    </comp>
    <comp lib="0" loc="(360,420)" name="Splitter">
      <a name="fanout" val="4"/>
      <a name="incoming" val="4"/>
      <a name="appear" val="right"/>
    </comp>
    <comp lib="4" loc="(450,190)" name="Register"/>
    <comp lib="0" loc="(170,570)" name="Pin">
      <a name="facing" val="north"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Clock"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(280,160)" name="Splitter">
      <a name="facing" val="west"/>
      <a name="fanout" val="3"/>
      <a name="incoming" val="3"/>
      <a name="appear" val="right"/>
    </comp>
    <comp lib="0" loc="(280,100)" name="Splitter">
      <a name="fanout" val="4"/>
      <a name="incoming" val="4"/>
    </comp>
    <comp lib="1" loc="(570,290)" name="AND Gate">
      <a name="facing" val="north"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="4" loc="(210,160)" name="Register">
      <a name="width" val="4"/>
    </comp>
    <comp lib="4" loc="(350,420)" name="ROM">
      <a name="addrWidth" val="2"/>
      <a name="dataWidth" val="4"/>
      <a name="contents">addr/data: 2 4
2 1 5 a
</a>
    </comp>
    <comp lib="1" loc="(580,370)" name="Controlled Buffer"/>
    <comp lib="2" loc="(300,250)" name="Decoder">
      <a name="facing" val="south"/>
      <a name="select" val="3"/>
      <a name="enable" val="false"/>
    </comp>
    <comp lib="1" loc="(580,270)" name="Controlled Buffer">
      <a name="width" val="8"/>
    </comp>
    <comp lib="0" loc="(630,100)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="width" val="3"/>
      <a name="label" val="Address Out"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(630,370)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="Write"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(630,270)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="width" val="8"/>
      <a name="label" val="Data Out"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(140,100)" name="Pin">
      <a name="width" val="4"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Vertical"/>
    </comp>
    <comp lib="1" loc="(560,180)" name="Controlled Buffer">
      <a name="facing" val="west"/>
      <a name="width" val="8"/>
      <a name="control" val="left"/>
    </comp>
  </circuit>
  <circuit name="Move-A-Dot">
    <a name="circuit" val="Move-A-Dot"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <appear>
      <rect fill="none" height="51" stroke="#000000" stroke-width="2" width="80" x="50" y="50"/>
      <text font-family="SansSerif" font-size="12" text-anchor="middle" x="91" y="79">Move-A-Dot</text>
      <circ-port height="8" pin="140,100" width="8" x="46" y="66"/>
      <circ-port height="8" pin="140,160" width="8" x="46" y="76"/>
      <circ-port height="10" pin="860,100" width="10" x="125" y="55"/>
      <circ-port height="8" pin="860,180" width="8" x="126" y="66"/>
      <circ-port height="10" pin="860,270" width="10" x="125" y="75"/>
      <circ-port height="10" pin="860,370" width="10" x="125" y="85"/>
      <circ-port height="8" pin="100,570" width="8" x="56" y="96"/>
      <circ-port height="8" pin="170,570" width="8" x="66" y="96"/>
      <circ-anchor facing="east" height="6" width="6" x="37" y="47"/>
    </appear>
    <wire from="(410,370)" to="(410,390)"/>
    <wire from="(170,390)" to="(300,390)"/>
    <wire from="(150,370)" to="(150,490)"/>
    <wire from="(830,290)" to="(830,390)"/>
    <wire from="(740,120)" to="(740,140)"/>
    <wire from="(670,140)" to="(670,520)"/>
    <wire from="(800,390)" to="(830,390)"/>
    <wire from="(480,220)" to="(490,220)"/>
    <wire from="(670,140)" to="(740,140)"/>
    <wire from="(170,120)" to="(190,120)"/>
    <wire from="(720,90)" to="(730,90)"/>
    <wire from="(510,260)" to="(510,520)"/>
    <wire from="(400,270)" to="(400,290)"/>
    <wire from="(830,120)" to="(830,200)"/>
    <wire from="(800,290)" to="(830,290)"/>
    <wire from="(150,370)" to="(390,370)"/>
    <wire from="(400,130)" to="(400,230)"/>
    <wire from="(800,200)" to="(830,200)"/>
    <wire from="(830,200)" to="(830,290)"/>
    <wire from="(230,120)" to="(530,120)"/>
    <wire from="(400,270)" to="(450,270)"/>
    <wire from="(100,490)" to="(100,570)"/>
    <wire from="(280,410)" to="(300,410)"/>
    <wire from="(760,100)" to="(790,100)"/>
    <wire from="(660,90)" to="(680,90)"/>
    <wire from="(660,130)" to="(680,130)"/>
    <wire from="(360,410)" to="(360,440)"/>
    <wire from="(740,290)" to="(740,390)"/>
    <wire from="(270,160)" to="(270,240)"/>
    <wire from="(700,260)" to="(730,260)"/>
    <wire from="(830,390)" to="(830,490)"/>
    <wire from="(100,490)" to="(150,490)"/>
    <wire from="(720,110)" to="(720,120)"/>
    <wire from="(710,120)" to="(720,120)"/>
    <wire from="(810,270)" to="(860,270)"/>
    <wire from="(530,120)" to="(570,120)"/>
    <wire from="(230,100)" to="(570,100)"/>
    <wire from="(340,390)" to="(410,390)"/>
    <wire from="(490,250)" to="(490,260)"/>
    <wire from="(310,210)" to="(450,210)"/>
    <wire from="(410,320)" to="(410,340)"/>
    <wire from="(320,490)" to="(830,490)"/>
    <wire from="(170,520)" to="(170,570)"/>
    <wire from="(400,230)" to="(450,230)"/>
    <wire from="(320,420)" to="(320,490)"/>
    <wire from="(370,250)" to="(450,250)"/>
    <wire from="(800,110)" to="(800,120)"/>
    <wire from="(800,280)" to="(800,290)"/>
    <wire from="(530,240)" to="(570,240)"/>
    <wire from="(230,160)" to="(270,160)"/>
    <wire from="(810,180)" to="(860,180)"/>
    <wire from="(530,70)" to="(530,120)"/>
    <wire from="(720,80)" to="(720,90)"/>
    <wire from="(270,240)" to="(340,240)"/>
    <wire from="(250,260)" to="(310,260)"/>
    <wire from="(490,230)" to="(500,230)"/>
    <wire from="(280,440)" to="(360,440)"/>
    <wire from="(410,390)" to="(740,390)"/>
    <wire from="(310,210)" to="(310,260)"/>
    <wire from="(140,160)" to="(190,160)"/>
    <wire from="(310,260)" to="(340,260)"/>
    <wire from="(480,260)" to="(490,260)"/>
    <wire from="(800,120)" to="(830,120)"/>
    <wire from="(810,370)" to="(860,370)"/>
    <wire from="(660,90)" to="(660,130)"/>
    <wire from="(490,220)" to="(490,230)"/>
    <wire from="(140,100)" to="(190,100)"/>
    <wire from="(800,190)" to="(800,200)"/>
    <wire from="(710,80)" to="(720,80)"/>
    <wire from="(150,490)" to="(320,490)"/>
    <wire from="(170,390)" to="(170,520)"/>
    <wire from="(250,180)" to="(250,260)"/>
    <wire from="(170,180)" to="(190,180)"/>
    <wire from="(530,70)" to="(680,70)"/>
    <wire from="(650,280)" to="(730,280)"/>
    <wire from="(490,250)" to="(500,250)"/>
    <wire from="(800,380)" to="(800,390)"/>
    <wire from="(770,370)" to="(790,370)"/>
    <wire from="(720,110)" to="(730,110)"/>
    <wire from="(600,110)" to="(680,110)"/>
    <wire from="(170,520)" to="(510,520)"/>
    <wire from="(400,230)" to="(400,270)"/>
    <wire from="(810,100)" to="(860,100)"/>
    <wire from="(760,270)" to="(790,270)"/>
    <wire from="(340,410)" to="(360,410)"/>
    <wire from="(280,410)" to="(280,440)"/>
    <wire from="(400,130)" to="(660,130)"/>
    <wire from="(510,520)" to="(670,520)"/>
    <wire from="(230,180)" to="(250,180)"/>
    <wire from="(390,320)" to="(390,370)"/>
    <comp lib="1" loc="(480,220)" name="AND Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(860,370)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="Write"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(700,260)" name="Constant">
      <a name="width" val="8"/>
      <a name="value" val="0x0"/>
    </comp>
    <comp lib="2" loc="(570,240)" name="Decoder">
      <a name="facing" val="south"/>
      <a name="select" val="3"/>
      <a name="enable" val="false"/>
    </comp>
    <comp lib="1" loc="(710,120)" name="AND Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="1" loc="(400,290)" name="AND Gate">
      <a name="facing" val="north"/>
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(140,100)" name="Pin">
      <a name="width" val="4"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Vertical"/>
    </comp>
    <comp lib="1" loc="(710,80)" name="AND Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="2" loc="(760,270)" name="Multiplexer">
      <a name="width" val="8"/>
      <a name="enable" val="false"/>
    </comp>
    <comp lib="0" loc="(860,180)" name="Pin">
      <a name="facing" val="west"/>
      <a name="width" val="8"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Data In"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(170,120)" name="Constant">
      <a name="width" val="4"/>
      <a name="value" val="0x8"/>
    </comp>
    <comp lib="1" loc="(810,270)" name="Controlled Buffer">
      <a name="width" val="8"/>
    </comp>
    <comp lib="0" loc="(140,160)" name="Pin">
      <a name="width" val="4"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Horizontal"/>
    </comp>
    <comp lib="0" loc="(770,370)" name="Constant"/>
    <comp lib="4" loc="(530,240)" name="Counter">
      <a name="width" val="3"/>
      <a name="max" val="0x7"/>
    </comp>
    <comp lib="0" loc="(170,180)" name="Constant">
      <a name="width" val="4"/>
      <a name="value" val="0x8"/>
    </comp>
    <comp lib="0" loc="(170,570)" name="Pin">
      <a name="facing" val="north"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Clock"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(650,280)" name="Splitter">
      <a name="facing" val="north"/>
      <a name="fanout" val="8"/>
      <a name="incoming" val="8"/>
    </comp>
    <comp lib="1" loc="(600,110)" name="OR Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(860,100)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="width" val="3"/>
      <a name="label" val="Address Out"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="1" loc="(480,260)" name="AND Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="3" loc="(230,170)" name="Comparator">
      <a name="width" val="4"/>
      <a name="mode" val="unsigned"/>
    </comp>
    <comp lib="1" loc="(790,180)" name="Controlled Buffer">
      <a name="facing" val="west"/>
      <a name="width" val="8"/>
      <a name="control" val="left"/>
    </comp>
    <comp lib="1" loc="(370,250)" name="OR Gate">
      <a name="size" val="30"/>
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(860,270)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="width" val="8"/>
      <a name="label" val="Data Out"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="1" loc="(410,340)" name="NOT Gate">
      <a name="facing" val="north"/>
    </comp>
    <comp lib="4" loc="(340,390)" name="D Flip-Flop"/>
    <comp lib="1" loc="(810,370)" name="Controlled Buffer"/>
    <comp lib="4" loc="(760,100)" name="Counter">
      <a name="width" val="3"/>
      <a name="max" val="0x7"/>
    </comp>
    <comp lib="3" loc="(230,110)" name="Comparator">
      <a name="width" val="4"/>
      <a name="mode" val="unsigned"/>
    </comp>
    <comp lib="1" loc="(810,100)" name="Controlled Buffer">
      <a name="width" val="3"/>
    </comp>
    <comp lib="0" loc="(100,570)" name="Pin">
      <a name="facing" val="north"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Access"/>
      <a name="labelloc" val="south"/>
    </comp>
  </circuit>
</project>
