Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <project FileHandleId="e84f7f59-efc0-46bd-9e78-6f18d7e6e29d" source="2.7.2" 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="south"/>
- <a name="fanout" val="8"/>
- <a name="incoming" val="8"/>
- <a name="appear" val="center"/>
- </tool>
- <tool name="Pin">
- <a name="tristate" val="false"/>
- </tool>
- <tool name="Probe">
- <a name="facing" val="west"/>
- <a name="radix" val="16"/>
- </tool>
- <tool name="Tunnel">
- <a name="facing" val="east"/>
- <a name="labelfont" val="SansSerif plain 8"/>
- </tool>
- <tool name="Pull Resistor">
- <a name="facing" val="north"/>
- </tool>
- <tool name="Clock">
- <a name="facing" val="north"/>
- </tool>
- <tool name="Constant">
- <a name="width" val="24"/>
- <a name="value" val="0xffffff"/>
- </tool>
- </lib>
- <lib desc="#Gates" name="1">
- <tool name="NOT Gate">
- <a name="facing" val="west"/>
- </tool>
- <tool name="NAND Gate">
- <a name="facing" val="south"/>
- </tool>
- <tool name="XOR Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </tool>
- <tool name="XNOR Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </tool>
- <tool name="Controlled Buffer">
- <a name="facing" val="west"/>
- <a name="width" val="8"/>
- </tool>
- <tool name="Controlled Inverter">
- <a name="facing" val="north"/>
- </tool>
- </lib>
- <lib desc="#Plexers" name="2">
- <tool name="Multiplexer">
- <a name="width" val="8"/>
- </tool>
- <tool name="Demultiplexer">
- <a name="facing" val="south"/>
- </tool>
- <tool name="Decoder">
- <a name="facing" val="south"/>
- <a name="select" val="4"/>
- </tool>
- <tool name="BitSelector">
- <a name="width" val="1"/>
- </tool>
- </lib>
- <lib desc="#Arithmetic" name="3"/>
- <lib desc="#Memory" name="4">
- <tool name="Register">
- <a name="width" val="16"/>
- </tool>
- <tool name="Counter">
- <a name="width" val="1"/>
- <a name="max" val="0x0"/>
- </tool>
- <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="1bitalu"/>
- <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="facing" val="south"/>
- <a name="width" val="8"/>
- <a name="tristate" val="false"/>
- </tool>
- <tool lib="0" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="labelloc" val="east"/>
- </tool>
- <tool lib="1" name="NOT Gate">
- <a name="facing" val="north"/>
- </tool>
- <tool lib="1" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="size" val="30"/>
- <a name="inputs" val="3"/>
- </tool>
- <tool lib="1" name="OR Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </tool>
- </toolbar>
- <circuit name="1bitalu">
- <a name="circuit" val="1bitalu"/>
- <a name="clabel" val=""/>
- <a name="clabelup" val="east"/>
- <a name="clabelfont" val="SansSerif plain 12"/>
- <appear>
- <rect fill="none" height="62" stroke="#000000" stroke-width="2" width="91" x="62" y="52"/>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="75" y="66">A</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="101" y="66">B</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="119" y="65">Ci</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="141" y="128">Co</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="135" y="91">op</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="140" y="66">R</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="47" y="84">S</text>
- <circ-port height="8" pin="60,560" width="8" x="56" y="76"/>
- <circ-port height="8" pin="110,110" width="8" x="66" y="46"/>
- <circ-port height="8" pin="230,110" width="8" x="96" y="46"/>
- <circ-port height="8" pin="300,100" width="8" x="116" y="46"/>
- <circ-port height="10" pin="760,70" width="10" x="135" y="45"/>
- <circ-port height="10" pin="360,590" width="10" x="135" y="105"/>
- <circ-port height="8" pin="1020,390" width="8" x="146" y="86"/>
- <circ-port height="8" pin="650,620" width="8" x="76" y="106"/>
- <circ-port height="10" pin="880,490" width="10" x="105" y="105"/>
- <circ-anchor facing="east" height="6" width="6" x="77" y="47"/>
- </appear>
- <wire from="(680,280)" to="(680,290)"/>
- <wire from="(380,490)" to="(630,490)"/>
- <wire from="(650,610)" to="(650,620)"/>
- <wire from="(370,420)" to="(620,420)"/>
- <wire from="(230,280)" to="(230,350)"/>
- <wire from="(110,240)" to="(110,310)"/>
- <wire from="(600,230)" to="(660,230)"/>
- <wire from="(700,250)" to="(760,250)"/>
- <wire from="(230,280)" to="(340,280)"/>
- <wire from="(230,420)" to="(340,420)"/>
- <wire from="(620,210)" to="(660,210)"/>
- <wire from="(620,250)" to="(660,250)"/>
- <wire from="(360,510)" to="(360,590)"/>
- <wire from="(110,480)" to="(340,480)"/>
- <wire from="(110,240)" to="(340,240)"/>
- <wire from="(110,380)" to="(340,380)"/>
- <wire from="(360,440)" to="(360,470)"/>
- <wire from="(640,270)" to="(640,610)"/>
- <wire from="(680,290)" to="(680,400)"/>
- <wire from="(110,380)" to="(110,480)"/>
- <wire from="(640,270)" to="(660,270)"/>
- <wire from="(680,400)" to="(1020,400)"/>
- <wire from="(600,230)" to="(600,330)"/>
- <wire from="(630,260)" to="(630,490)"/>
- <wire from="(300,560)" to="(310,560)"/>
- <wire from="(590,220)" to="(660,220)"/>
- <wire from="(230,550)" to="(240,550)"/>
- <wire from="(110,110)" to="(110,170)"/>
- <wire from="(300,440)" to="(360,440)"/>
- <wire from="(230,420)" to="(230,550)"/>
- <wire from="(230,210)" to="(230,280)"/>
- <wire from="(230,350)" to="(230,420)"/>
- <wire from="(1020,390)" to="(1020,400)"/>
- <wire from="(610,240)" to="(610,380)"/>
- <wire from="(110,170)" to="(110,240)"/>
- <wire from="(110,310)" to="(110,380)"/>
- <wire from="(610,240)" to="(660,240)"/>
- <wire from="(60,560)" to="(240,560)"/>
- <wire from="(300,100)" to="(300,440)"/>
- <wire from="(230,210)" to="(340,210)"/>
- <wire from="(230,350)" to="(340,350)"/>
- <wire from="(370,380)" to="(610,380)"/>
- <wire from="(110,170)" to="(340,170)"/>
- <wire from="(110,310)" to="(340,310)"/>
- <wire from="(390,190)" to="(620,190)"/>
- <wire from="(620,190)" to="(620,210)"/>
- <wire from="(590,220)" to="(590,260)"/>
- <wire from="(620,250)" to="(620,420)"/>
- <wire from="(310,500)" to="(340,500)"/>
- <wire from="(230,110)" to="(230,210)"/>
- <wire from="(630,260)" to="(660,260)"/>
- <wire from="(310,500)" to="(310,560)"/>
- <wire from="(390,260)" to="(590,260)"/>
- <wire from="(400,330)" to="(600,330)"/>
- <wire from="(760,70)" to="(760,250)"/>
- <wire from="(640,610)" to="(650,610)"/>
- <comp lib="6" loc="(771,48)" name="Text">
- <a name="text" val="R"/>
- </comp>
- <comp lib="6" loc="(403,612)" name="Text">
- <a name="text" val="Cout"/>
- </comp>
- <comp lib="0" loc="(880,490)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="6" loc="(918,494)" name="Text">
- <a name="text" val="set"/>
- </comp>
- <comp lib="6" loc="(278,69)" name="Text">
- <a name="text" val="Cin"/>
- </comp>
- <comp lib="1" loc="(370,420)" name="NOT Gate"/>
- <comp lib="0" loc="(650,620)" name="Pin">
- <a name="facing" val="north"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="1" loc="(390,190)" name="AND Gate"/>
- <comp lib="1" loc="(370,380)" name="NOT Gate"/>
- <comp lib="6" loc="(51,527)" name="Text">
- <a name="text" val="Sub"/>
- </comp>
- <comp lib="6" loc="(110,80)" name="Text">
- <a name="text" val="A"/>
- </comp>
- <comp lib="0" loc="(360,590)" name="Pin">
- <a name="facing" val="north"/>
- <a name="output" val="true"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(300,560)" name="XOR Gate"/>
- <comp lib="0" loc="(1020,390)" name="Pin">
- <a name="facing" val="south"/>
- <a name="width" val="3"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="6" loc="(671,621)" name="Text">
- <a name="text" val="less"/>
- </comp>
- <comp lib="0" loc="(110,110)" name="Pin">
- <a name="facing" val="south"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(300,100)" name="Pin">
- <a name="facing" val="south"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="3" loc="(380,490)" name="Adder">
- <a name="width" val="1"/>
- </comp>
- <comp lib="0" loc="(760,70)" name="Pin">
- <a name="facing" val="south"/>
- <a name="output" val="true"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(390,260)" name="OR Gate"/>
- <comp lib="6" loc="(233,79)" name="Text">
- <a name="text" val="B"/>
- </comp>
- <comp lib="0" loc="(230,110)" name="Pin">
- <a name="facing" val="south"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="1" loc="(400,330)" name="XOR Gate"/>
- <comp lib="2" loc="(700,250)" name="Multiplexer">
- <a name="select" val="3"/>
- <a name="enable" val="false"/>
- </comp>
- <comp lib="0" loc="(60,560)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- </circuit>
- <circuit name="8 bit alu">
- <a name="circuit" val="8 bit alu"/>
- <a name="clabel" val=""/>
- <a name="clabelup" val="east"/>
- <a name="clabelfont" val="SansSerif plain 12"/>
- <appear>
- <path d="M61,51 Q65,61 69,51" fill="none" stroke="#808080" stroke-width="2"/>
- <rect fill="none" height="99" stroke="#000000" stroke-width="2" width="105" x="50" y="50"/>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="58" y="73">a</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="60" y="104">b</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="139" y="73">r</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="86" y="64">op</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="127" y="133">status</text>
- <circ-port height="8" pin="80,110" width="8" x="46" y="66"/>
- <circ-port height="8" pin="80,320" width="8" x="46" y="96"/>
- <circ-port height="8" pin="710,30" width="8" x="96" y="56"/>
- <circ-port height="10" pin="760,90" width="10" x="145" y="65"/>
- <circ-port height="10" pin="930,340" width="10" x="145" y="125"/>
- <circ-anchor facing="east" height="6" width="6" x="97" y="57"/>
- </appear>
- <wire from="(830,350)" to="(880,350)"/>
- <wire from="(180,310)" to="(180,380)"/>
- <wire from="(160,130)" to="(160,200)"/>
- <wire from="(520,140)" to="(520,780)"/>
- <wire from="(160,320)" to="(160,330)"/>
- <wire from="(220,400)" to="(270,400)"/>
- <wire from="(220,480)" to="(270,480)"/>
- <wire from="(220,720)" to="(270,720)"/>
- <wire from="(460,80)" to="(580,80)"/>
- <wire from="(160,550)" to="(270,550)"/>
- <wire from="(160,330)" to="(270,330)"/>
- <wire from="(290,270)" to="(290,290)"/>
- <wire from="(310,390)" to="(480,390)"/>
- <wire from="(180,530)" to="(180,610)"/>
- <wire from="(820,340)" to="(820,360)"/>
- <wire from="(180,610)" to="(180,700)"/>
- <wire from="(480,100)" to="(580,100)"/>
- <wire from="(600,250)" to="(710,250)"/>
- <wire from="(710,330)" to="(880,330)"/>
- <wire from="(160,330)" to="(160,550)"/>
- <wire from="(160,200)" to="(260,200)"/>
- <wire from="(180,780)" to="(280,780)"/>
- <wire from="(910,340)" to="(930,340)"/>
- <wire from="(710,290)" to="(710,330)"/>
- <wire from="(670,90)" to="(670,130)"/>
- <wire from="(310,320)" to="(470,320)"/>
- <wire from="(180,310)" to="(270,310)"/>
- <wire from="(180,530)" to="(270,530)"/>
- <wire from="(480,100)" to="(480,390)"/>
- <wire from="(180,610)" to="(270,610)"/>
- <wire from="(310,780)" to="(520,780)"/>
- <wire from="(460,80)" to="(460,250)"/>
- <wire from="(310,250)" to="(460,250)"/>
- <wire from="(850,370)" to="(880,370)"/>
- <wire from="(80,320)" to="(160,320)"/>
- <wire from="(180,160)" to="(260,160)"/>
- <wire from="(440,60)" to="(440,110)"/>
- <wire from="(310,50)" to="(580,50)"/>
- <wire from="(500,120)" to="(580,120)"/>
- <wire from="(450,70)" to="(580,70)"/>
- <wire from="(840,360)" to="(840,540)"/>
- <wire from="(830,350)" to="(830,530)"/>
- <wire from="(850,370)" to="(850,550)"/>
- <wire from="(320,180)" to="(450,180)"/>
- <wire from="(310,110)" to="(440,110)"/>
- <wire from="(900,340)" to="(910,340)"/>
- <wire from="(310,710)" to="(510,710)"/>
- <wire from="(160,260)" to="(160,320)"/>
- <wire from="(160,200)" to="(160,260)"/>
- <wire from="(510,130)" to="(510,710)"/>
- <wire from="(520,140)" to="(580,140)"/>
- <wire from="(180,460)" to="(180,530)"/>
- <wire from="(180,240)" to="(180,310)"/>
- <wire from="(620,130)" to="(670,130)"/>
- <wire from="(310,620)" to="(500,620)"/>
- <wire from="(820,340)" to="(880,340)"/>
- <wire from="(310,470)" to="(490,470)"/>
- <wire from="(220,630)" to="(270,630)"/>
- <wire from="(290,340)" to="(290,360)"/>
- <wire from="(160,260)" to="(270,260)"/>
- <wire from="(180,380)" to="(180,460)"/>
- <wire from="(180,160)" to="(180,240)"/>
- <wire from="(180,700)" to="(180,780)"/>
- <wire from="(840,360)" to="(880,360)"/>
- <wire from="(470,90)" to="(580,90)"/>
- <wire from="(180,90)" to="(180,110)"/>
- <wire from="(710,30)" to="(710,250)"/>
- <wire from="(290,290)" to="(710,290)"/>
- <wire from="(80,110)" to="(180,110)"/>
- <wire from="(160,130)" to="(260,130)"/>
- <wire from="(160,70)" to="(260,70)"/>
- <wire from="(470,90)" to="(470,320)"/>
- <wire from="(490,110)" to="(580,110)"/>
- <wire from="(310,550)" to="(850,550)"/>
- <wire from="(600,210)" to="(600,250)"/>
- <wire from="(180,240)" to="(270,240)"/>
- <wire from="(180,380)" to="(270,380)"/>
- <wire from="(180,460)" to="(270,460)"/>
- <wire from="(180,700)" to="(270,700)"/>
- <wire from="(450,70)" to="(450,180)"/>
- <wire from="(290,360)" to="(820,360)"/>
- <wire from="(310,540)" to="(840,540)"/>
- <wire from="(670,90)" to="(760,90)"/>
- <wire from="(490,110)" to="(490,470)"/>
- <wire from="(180,110)" to="(180,160)"/>
- <wire from="(180,90)" to="(260,90)"/>
- <wire from="(180,30)" to="(260,30)"/>
- <wire from="(440,60)" to="(580,60)"/>
- <wire from="(500,120)" to="(500,620)"/>
- <wire from="(310,530)" to="(830,530)"/>
- <wire from="(510,130)" to="(580,130)"/>
- <wire from="(160,70)" to="(160,130)"/>
- <wire from="(180,30)" to="(180,90)"/>
- <comp lib="0" loc="(80,320)" name="Pin">
- <a name="width" val="8"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(220,720)" name="Constant">
- <a name="width" val="8"/>
- </comp>
- <comp lib="3" loc="(310,390)" name="Shifter"/>
- <comp lib="0" loc="(220,400)" name="Constant">
- <a name="width" val="3"/>
- </comp>
- <comp lib="3" loc="(310,470)" name="Shifter">
- <a name="shift" val="lr"/>
- </comp>
- <comp lib="0" loc="(710,30)" name="Pin">
- <a name="facing" val="south"/>
- <a name="width" val="4"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="1" loc="(310,780)" name="NOT Gate">
- <a name="width" val="8"/>
- </comp>
- <comp lib="0" loc="(930,340)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(220,480)" name="Constant">
- <a name="width" val="3"/>
- </comp>
- <comp lib="1" loc="(320,180)" name="XOR Gate">
- <a name="width" val="8"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="3" loc="(310,540)" name="Comparator"/>
- <comp lib="0" loc="(900,340)" name="Splitter">
- <a name="facing" val="west"/>
- <a name="fanout" val="8"/>
- <a name="incoming" val="8"/>
- <a name="appear" val="center"/>
- </comp>
- <comp lib="0" loc="(80,110)" name="Pin">
- <a name="width" val="8"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="1" loc="(310,50)" name="AND Gate">
- <a name="width" val="8"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(310,110)" name="OR Gate">
- <a name="width" val="8"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="2" loc="(620,130)" name="Multiplexer">
- <a name="select" val="4"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="0" loc="(760,90)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="3" loc="(310,710)" name="Subtractor"/>
- <comp lib="3" loc="(310,620)" name="Adder"/>
- <comp lib="0" loc="(220,630)" name="Constant">
- <a name="width" val="8"/>
- </comp>
- <comp lib="3" loc="(310,250)" name="Adder"/>
- <comp lib="0" loc="(910,340)" name="Pull Resistor">
- <a name="facing" val="north"/>
- </comp>
- <comp lib="3" loc="(310,320)" name="Subtractor"/>
- </circuit>
- <circuit name="4_register">
- <a name="circuit" val="4_register"/>
- <a name="clabel" val="addr reg"/>
- <a name="clabelup" val="east"/>
- <a name="clabelfont" val="SansSerif plain 12"/>
- <appear>
- <path d="M61,51 Q65,61 69,51" fill="none" stroke="#808080" stroke-width="2"/>
- <rect fill="none" height="140" stroke="#000000" stroke-width="2" width="149" x="50" y="50"/>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="62" y="68">clk</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="66" y="104">zero</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="185" y="123">di</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="186" y="162">do</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="155" y="182">load</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="116" y="181">store</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="85" y="154">reg sel</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="75" y="134">l/s</text>
- <circ-port height="8" pin="910,380" width="8" x="46" y="56"/>
- <circ-port height="8" pin="950,410" width="8" x="46" y="96"/>
- <circ-port height="10" pin="1150,650" width="10" x="115" y="185"/>
- <circ-port height="10" pin="1150,740" width="10" x="145" y="185"/>
- <circ-port height="8" pin="1010,250" width="8" x="196" y="116"/>
- <circ-port height="10" pin="1010,290" width="10" x="195" y="155"/>
- <circ-port height="10" pin="600,290" width="10" x="125" y="65"/>
- <circ-port height="10" pin="690,290" width="10" x="125" y="75"/>
- <circ-port height="10" pin="780,290" width="10" x="125" y="85"/>
- <circ-port height="10" pin="870,290" width="10" x="125" y="95"/>
- <circ-port height="8" pin="1100,460" width="8" x="56" y="146"/>
- <circ-port height="8" pin="1090,380" width="8" x="56" y="126"/>
- <circ-port height="8" pin="130,240" width="8" x="196" y="126"/>
- <circ-port height="10" pin="420,280" width="10" x="135" y="65"/>
- <circ-port height="8" pin="390,160" width="8" x="196" y="146"/>
- <circ-port height="8" pin="260,390" width="8" x="56" y="136"/>
- <circ-port height="8" pin="290,360" width="8" x="196" y="176"/>
- <circ-port height="8" pin="200,410" width="8" x="56" y="156"/>
- <circ-port height="8" pin="120,310" width="8" x="196" y="186"/>
- <circ-port height="8" pin="240,370" width="8" x="196" y="196"/>
- <circ-anchor facing="east" height="6" width="6" x="197" y="117"/>
- </appear>
- <wire from="(700,380)" to="(700,390)"/>
- <wire from="(780,380)" to="(780,390)"/>
- <wire from="(780,580)" to="(830,580)"/>
- <wire from="(620,380)" to="(620,390)"/>
- <wire from="(670,590)" to="(720,590)"/>
- <wire from="(930,570)" to="(930,580)"/>
- <wire from="(910,630)" to="(910,640)"/>
- <wire from="(860,380)" to="(860,390)"/>
- <wire from="(1030,620)" to="(1030,690)"/>
- <wire from="(910,380)" to="(910,450)"/>
- <wire from="(750,500)" to="(810,500)"/>
- <wire from="(970,570)" to="(970,600)"/>
- <wire from="(730,570)" to="(730,600)"/>
- <wire from="(1010,420)" to="(1050,420)"/>
- <wire from="(830,430)" to="(830,450)"/>
- <wire from="(900,620)" to="(900,640)"/>
- <wire from="(590,430)" to="(590,450)"/>
- <wire from="(670,430)" to="(670,450)"/>
- <wire from="(750,430)" to="(750,450)"/>
- <wire from="(770,570)" to="(770,590)"/>
- <wire from="(630,490)" to="(800,490)"/>
- <wire from="(1070,690)" to="(1150,690)"/>
- <wire from="(870,620)" to="(890,620)"/>
- <wire from="(600,390)" to="(620,390)"/>
- <wire from="(920,250)" to="(1010,250)"/>
- <wire from="(280,360)" to="(290,360)"/>
- <wire from="(1030,620)" to="(1100,620)"/>
- <wire from="(250,330)" to="(260,330)"/>
- <wire from="(590,450)" to="(670,450)"/>
- <wire from="(670,450)" to="(750,450)"/>
- <wire from="(810,410)" to="(820,410)"/>
- <wire from="(850,410)" to="(860,410)"/>
- <wire from="(750,450)" to="(830,450)"/>
- <wire from="(690,410)" to="(700,410)"/>
- <wire from="(830,450)" to="(910,450)"/>
- <wire from="(650,410)" to="(660,410)"/>
- <wire from="(770,410)" to="(780,410)"/>
- <wire from="(730,410)" to="(740,410)"/>
- <wire from="(770,290)" to="(780,290)"/>
- <wire from="(570,410)" to="(580,410)"/>
- <wire from="(710,480)" to="(850,480)"/>
- <wire from="(610,410)" to="(620,410)"/>
- <wire from="(640,480)" to="(650,480)"/>
- <wire from="(700,510)" to="(700,520)"/>
- <wire from="(920,610)" to="(920,620)"/>
- <wire from="(620,590)" to="(670,590)"/>
- <wire from="(880,570)" to="(880,580)"/>
- <wire from="(910,630)" to="(970,630)"/>
- <wire from="(810,380)" to="(810,410)"/>
- <wire from="(800,490)" to="(800,520)"/>
- <wire from="(850,660)" to="(850,690)"/>
- <wire from="(650,380)" to="(650,410)"/>
- <wire from="(730,380)" to="(730,410)"/>
- <wire from="(570,380)" to="(570,410)"/>
- <wire from="(890,620)" to="(890,640)"/>
- <wire from="(580,630)" to="(820,630)"/>
- <wire from="(860,390)" to="(860,410)"/>
- <wire from="(680,610)" to="(920,610)"/>
- <wire from="(280,330)" to="(280,360)"/>
- <wire from="(620,390)" to="(620,410)"/>
- <wire from="(790,470)" to="(900,470)"/>
- <wire from="(700,390)" to="(700,410)"/>
- <wire from="(840,440)" to="(950,440)"/>
- <wire from="(720,570)" to="(720,590)"/>
- <wire from="(780,390)" to="(780,410)"/>
- <wire from="(890,330)" to="(1000,330)"/>
- <wire from="(140,290)" to="(170,290)"/>
- <wire from="(850,290)" to="(870,290)"/>
- <wire from="(900,620)" to="(920,620)"/>
- <wire from="(680,570)" to="(680,610)"/>
- <wire from="(920,570)" to="(920,610)"/>
- <wire from="(1070,440)" to="(1080,440)"/>
- <wire from="(1000,290)" to="(1000,330)"/>
- <wire from="(1010,380)" to="(1010,420)"/>
- <wire from="(850,290)" to="(850,390)"/>
- <wire from="(240,330)" to="(240,370)"/>
- <wire from="(690,290)" to="(690,390)"/>
- <wire from="(770,290)" to="(770,390)"/>
- <wire from="(810,300)" to="(810,360)"/>
- <wire from="(800,370)" to="(800,430)"/>
- <wire from="(1070,590)" to="(1070,690)"/>
- <wire from="(1060,580)" to="(1060,680)"/>
- <wire from="(570,300)" to="(570,360)"/>
- <wire from="(650,300)" to="(650,360)"/>
- <wire from="(1060,680)" to="(1150,680)"/>
- <wire from="(730,300)" to="(730,360)"/>
- <wire from="(700,310)" to="(700,360)"/>
- <wire from="(1000,290)" to="(1010,290)"/>
- <wire from="(780,310)" to="(780,360)"/>
- <wire from="(620,310)" to="(620,360)"/>
- <wire from="(920,250)" to="(920,300)"/>
- <wire from="(870,460)" to="(950,460)"/>
- <wire from="(900,470)" to="(900,520)"/>
- <wire from="(860,310)" to="(860,360)"/>
- <wire from="(880,580)" to="(930,580)"/>
- <wire from="(830,570)" to="(830,580)"/>
- <wire from="(820,630)" to="(880,630)"/>
- <wire from="(1150,650)" to="(1150,680)"/>
- <wire from="(560,510)" to="(600,510)"/>
- <wire from="(950,410)" to="(950,440)"/>
- <wire from="(200,330)" to="(200,410)"/>
- <wire from="(890,310)" to="(890,330)"/>
- <wire from="(670,570)" to="(670,590)"/>
- <wire from="(810,300)" to="(920,300)"/>
- <wire from="(1150,690)" to="(1150,740)"/>
- <wire from="(330,280)" to="(420,280)"/>
- <wire from="(700,510)" to="(720,510)"/>
- <wire from="(640,370)" to="(640,480)"/>
- <wire from="(600,290)" to="(600,390)"/>
- <wire from="(1100,460)" to="(1100,620)"/>
- <wire from="(140,240)" to="(140,290)"/>
- <wire from="(600,440)" to="(680,440)"/>
- <wire from="(680,440)" to="(760,440)"/>
- <wire from="(630,570)" to="(630,620)"/>
- <wire from="(850,390)" to="(860,390)"/>
- <wire from="(760,440)" to="(840,440)"/>
- <wire from="(690,390)" to="(700,390)"/>
- <wire from="(770,390)" to="(780,390)"/>
- <wire from="(870,570)" to="(870,620)"/>
- <wire from="(680,430)" to="(680,440)"/>
- <wire from="(760,430)" to="(760,440)"/>
- <wire from="(850,690)" to="(1030,690)"/>
- <wire from="(830,580)" to="(880,580)"/>
- <wire from="(600,510)" to="(600,520)"/>
- <wire from="(600,430)" to="(600,440)"/>
- <wire from="(560,370)" to="(560,510)"/>
- <wire from="(720,590)" to="(770,590)"/>
- <wire from="(840,430)" to="(840,440)"/>
- <wire from="(780,570)" to="(780,580)"/>
- <wire from="(1070,440)" to="(1070,590)"/>
- <wire from="(1060,430)" to="(1060,580)"/>
- <wire from="(720,370)" to="(720,510)"/>
- <wire from="(880,630)" to="(880,640)"/>
- <wire from="(810,430)" to="(810,500)"/>
- <wire from="(330,280)" to="(330,290)"/>
- <wire from="(120,310)" to="(170,310)"/>
- <wire from="(970,600)" to="(970,630)"/>
- <wire from="(870,370)" to="(870,460)"/>
- <wire from="(770,590)" to="(1070,590)"/>
- <wire from="(630,620)" to="(870,620)"/>
- <wire from="(1080,430)" to="(1080,440)"/>
- <wire from="(730,600)" to="(970,600)"/>
- <wire from="(620,570)" to="(620,590)"/>
- <wire from="(750,500)" to="(750,520)"/>
- <wire from="(650,480)" to="(650,520)"/>
- <wire from="(710,370)" to="(710,480)"/>
- <wire from="(850,480)" to="(850,520)"/>
- <wire from="(790,370)" to="(790,470)"/>
- <wire from="(310,290)" to="(330,290)"/>
- <wire from="(860,310)" to="(890,310)"/>
- <wire from="(850,660)" to="(880,660)"/>
- <wire from="(820,570)" to="(820,630)"/>
- <wire from="(930,580)" to="(1060,580)"/>
- <wire from="(630,370)" to="(630,490)"/>
- <wire from="(950,460)" to="(950,520)"/>
- <wire from="(130,240)" to="(140,240)"/>
- <wire from="(580,570)" to="(580,630)"/>
- <wire from="(570,300)" to="(650,300)"/>
- <wire from="(260,330)" to="(260,390)"/>
- <wire from="(620,310)" to="(700,310)"/>
- <wire from="(700,310)" to="(780,310)"/>
- <wire from="(800,430)" to="(810,430)"/>
- <wire from="(650,300)" to="(730,300)"/>
- <wire from="(780,310)" to="(860,310)"/>
- <wire from="(730,300)" to="(810,300)"/>
- <wire from="(1010,380)" to="(1090,380)"/>
- <comp lib="1" loc="(780,360)" name="Controlled Buffer">
- <a name="facing" val="north"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="0" loc="(200,410)" name="Pin">
- <a name="facing" val="north"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="6" loc="(1127,202)" name="Text">
- <a name="text" val="01 read din to reg"/>
- </comp>
- <comp lib="0" loc="(1010,250)" name="Pin">
- <a name="facing" val="west"/>
- <a name="width" val="8"/>
- <a name="tristate" val="false"/>
- <a name="label" val="din"/>
- </comp>
- <comp lib="6" loc="(1117,758)" name="Text">
- <a name="text" val="read"/>
- </comp>
- <comp lib="0" loc="(1090,380)" name="Pin">
- <a name="facing" val="west"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="2" loc="(1050,420)" name="Decoder">
- <a name="facing" val="south"/>
- </comp>
- <comp lib="0" loc="(1100,460)" name="Pin">
- <a name="facing" val="south"/>
- <a name="width" val="2"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(690,290)" name="Pin">
- <a name="facing" val="south"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="6" loc="(900,705)" name="Text">
- <a name="text" val="regsel"/>
- </comp>
- <comp lib="2" loc="(880,660)" name="Decoder">
- <a name="facing" val="north"/>
- <a name="select" val="2"/>
- </comp>
- <comp lib="0" loc="(600,290)" name="Pin">
- <a name="facing" val="south"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(780,290)" name="Pin">
- <a name="facing" val="south"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(600,520)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(700,520)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(650,520)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="6" loc="(682,699)" name="Text">
- <a name="text" val="L/S"/>
- </comp>
- <comp lib="1" loc="(750,520)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(850,520)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="4" loc="(850,410)" name="Register">
- <a name="label" val="r3"/>
- </comp>
- <comp lib="1" loc="(860,360)" name="Controlled Buffer">
- <a name="facing" val="north"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(900,520)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(800,520)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(620,360)" name="Controlled Buffer">
- <a name="facing" val="north"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(950,520)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="0" loc="(1150,650)" name="Pin">
- <a name="facing" val="south"/>
- <a name="output" val="true"/>
- <a name="label" val="store"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(730,380)" name="Controlled Buffer">
- <a name="facing" val="south"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="4" loc="(610,410)" name="Register">
- <a name="label" val="r0"/>
- </comp>
- <comp lib="4" loc="(690,410)" name="Register">
- <a name="label" val="r1"/>
- </comp>
- <comp lib="4" loc="(770,410)" name="Register">
- <a name="label" val="r2"/>
- </comp>
- <comp lib="0" loc="(120,310)" name="Pin">
- <a name="width" val="8"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(260,390)" name="Pin">
- <a name="facing" val="north"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(290,360)" name="Pin">
- <a name="facing" val="west"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(390,160)" name="Pin">
- <a name="facing" val="south"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(420,280)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(130,240)" name="Pin">
- <a name="width" val="8"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1150,740)" name="Pin">
- <a name="facing" val="north"/>
- <a name="output" val="true"/>
- <a name="label" val="load"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(240,370)" name="Pin">
- <a name="facing" val="north"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1010,290)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="label" val="dout"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(570,380)" name="Controlled Buffer">
- <a name="facing" val="south"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(810,380)" name="Controlled Buffer">
- <a name="facing" val="south"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(650,380)" name="Controlled Buffer">
- <a name="facing" val="south"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="0" loc="(910,380)" name="Pin">
- <a name="facing" val="south"/>
- <a name="tristate" val="false"/>
- <a name="label" val="clock"/>
- </comp>
- <comp lib="1" loc="(700,360)" name="Controlled Buffer">
- <a name="facing" val="north"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="6" loc="(1126,219)" name="Text">
- <a name="text" val="10 read reg to dout"/>
- </comp>
- <comp lib="0" loc="(950,410)" name="Pin">
- <a name="facing" val="south"/>
- <a name="tristate" val="false"/>
- <a name="label" val="zero"/>
- </comp>
- <comp lib="0" loc="(870,290)" name="Pin">
- <a name="facing" val="south"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="labelloc" val="east"/>
- </comp>
- </circuit>
- <circuit name="clk">
- <a name="circuit" val="clk"/>
- <a name="clabel" val=""/>
- <a name="clabelup" val="east"/>
- <a name="clabelfont" val="SansSerif plain 12"/>
- <appear>
- <path d="M61,56 Q65,66 69,56" fill="none" stroke="#808080" stroke-width="2"/>
- <rect fill="none" height="93" stroke="#000000" stroke-width="2" width="71" x="50" y="57"/>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="107" y="94">e</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="109" y="74">s</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="60" y="74">c</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="106" y="134">m</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="62" y="113">t</text>
- <circ-port height="10" pin="540,160" width="10" x="115" y="85"/>
- <circ-port height="10" pin="540,210" width="10" x="115" y="65"/>
- <circ-port height="8" pin="220,170" width="8" x="46" y="66"/>
- <circ-port height="8" pin="220,260" width="8" x="46" y="106"/>
- <circ-port height="10" pin="540,260" width="10" x="115" y="125"/>
- <circ-anchor facing="east" height="6" width="6" x="117" y="87"/>
- </appear>
- <wire from="(410,180)" to="(460,180)"/>
- <wire from="(380,210)" to="(430,210)"/>
- <wire from="(300,260)" to="(300,270)"/>
- <wire from="(410,160)" to="(410,180)"/>
- <wire from="(240,210)" to="(240,290)"/>
- <wire from="(430,210)" to="(540,210)"/>
- <wire from="(380,180)" to="(380,210)"/>
- <wire from="(380,260)" to="(380,290)"/>
- <wire from="(500,160)" to="(540,160)"/>
- <wire from="(220,170)" to="(250,170)"/>
- <wire from="(430,160)" to="(460,160)"/>
- <wire from="(380,260)" to="(540,260)"/>
- <wire from="(300,270)" to="(330,270)"/>
- <wire from="(310,250)" to="(330,250)"/>
- <wire from="(360,210)" to="(380,210)"/>
- <wire from="(220,210)" to="(240,210)"/>
- <wire from="(400,160)" to="(410,160)"/>
- <wire from="(470,190)" to="(480,190)"/>
- <wire from="(300,190)" to="(310,190)"/>
- <wire from="(220,260)" to="(300,260)"/>
- <wire from="(430,160)" to="(430,210)"/>
- <wire from="(240,210)" to="(250,210)"/>
- <wire from="(360,210)" to="(360,260)"/>
- <wire from="(240,290)" to="(380,290)"/>
- <wire from="(310,190)" to="(310,250)"/>
- <comp lib="0" loc="(540,160)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="label" val="clk_E"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(220,210)" name="Clock"/>
- <comp lib="1" loc="(360,260)" name="OR Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="4" loc="(400,160)" name="Counter">
- <a name="width" val="1"/>
- <a name="max" val="0x1"/>
- </comp>
- <comp lib="0" loc="(220,170)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(540,260)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(220,260)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="4" loc="(500,160)" name="D Flip-Flop"/>
- <comp lib="1" loc="(300,190)" name="AND Gate"/>
- <comp lib="0" loc="(540,210)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="label" val="clk_S"/>
- <a name="labelloc" val="east"/>
- </comp>
- </circuit>
- <circuit name="program_counter">
- <a name="circuit" val="program_counter"/>
- <a name="clabel" val=""/>
- <a name="clabelup" val="east"/>
- <a name="clabelfont" val="SansSerif plain 12"/>
- <appear>
- <path d="M61,51 Q65,61 69,51" fill="none" stroke="#808080" stroke-width="2"/>
- <rect fill="none" height="68" stroke="#000000" stroke-width="2" width="78" x="50" y="50"/>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="82" y="114">clk</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="111" y="113">z</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="58" y="65">i</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="105" y="64">o</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="90" y="84">pc</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="60" y="84">w</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="59" y="104">c</text>
- <circ-port height="8" pin="40,220" width="8" x="46" y="96"/>
- <circ-port height="8" pin="100,280" width="8" x="46" y="56"/>
- <circ-port height="10" pin="430,380" width="10" x="115" y="55"/>
- <circ-port height="8" pin="40,510" width="8" x="66" y="106"/>
- <circ-port height="8" pin="40,550" width="8" x="96" y="106"/>
- <circ-port height="8" pin="50,370" width="8" x="46" y="76"/>
- <circ-anchor facing="east" height="6" width="6" x="117" y="57"/>
- </appear>
- <wire from="(540,150)" to="(540,290)"/>
- <wire from="(290,150)" to="(290,280)"/>
- <wire from="(310,290)" to="(310,420)"/>
- <wire from="(80,370)" to="(80,440)"/>
- <wire from="(310,290)" to="(360,290)"/>
- <wire from="(250,120)" to="(370,120)"/>
- <wire from="(270,290)" to="(270,310)"/>
- <wire from="(370,120)" to="(370,140)"/>
- <wire from="(370,300)" to="(370,510)"/>
- <wire from="(40,220)" to="(80,220)"/>
- <wire from="(200,220)" to="(200,310)"/>
- <wire from="(80,250)" to="(120,250)"/>
- <wire from="(120,250)" to="(120,340)"/>
- <wire from="(420,280)" to="(460,280)"/>
- <wire from="(500,290)" to="(540,290)"/>
- <wire from="(80,220)" to="(80,250)"/>
- <wire from="(100,280)" to="(260,280)"/>
- <wire from="(420,280)" to="(420,380)"/>
- <wire from="(50,370)" to="(80,370)"/>
- <wire from="(120,340)" to="(150,340)"/>
- <wire from="(80,370)" to="(110,370)"/>
- <wire from="(390,280)" to="(420,280)"/>
- <wire from="(380,150)" to="(540,150)"/>
- <wire from="(280,420)" to="(310,420)"/>
- <wire from="(250,120)" to="(250,220)"/>
- <wire from="(80,440)" to="(230,440)"/>
- <wire from="(40,550)" to="(380,550)"/>
- <wire from="(200,220)" to="(220,220)"/>
- <wire from="(210,410)" to="(230,410)"/>
- <wire from="(450,300)" to="(460,300)"/>
- <wire from="(420,380)" to="(430,380)"/>
- <wire from="(120,220)" to="(200,220)"/>
- <wire from="(210,360)" to="(210,410)"/>
- <wire from="(280,280)" to="(290,280)"/>
- <wire from="(140,370)" to="(150,370)"/>
- <wire from="(200,360)" to="(210,360)"/>
- <wire from="(80,220)" to="(90,220)"/>
- <wire from="(40,510)" to="(370,510)"/>
- <wire from="(200,310)" to="(270,310)"/>
- <wire from="(290,150)" to="(360,150)"/>
- <wire from="(290,280)" to="(360,280)"/>
- <wire from="(380,300)" to="(380,550)"/>
- <comp lib="0" loc="(40,550)" name="Pin">
- <a name="tristate" val="false"/>
- <a name="label" val="z"/>
- </comp>
- <comp lib="1" loc="(280,280)" name="Controlled Buffer">
- <a name="width" val="8"/>
- </comp>
- <comp lib="0" loc="(430,380)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="label" val="out"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(120,220)" name="NOT Gate"/>
- <comp lib="1" loc="(360,150)" name="Controlled Buffer">
- <a name="facing" val="west"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="4" loc="(390,280)" name="Register">
- <a name="trigger" val="falling"/>
- </comp>
- <comp lib="0" loc="(450,300)" name="Constant">
- <a name="width" val="8"/>
- </comp>
- <comp lib="0" loc="(40,510)" name="Pin">
- <a name="tristate" val="false"/>
- <a name="label" val="clk"/>
- </comp>
- <comp lib="0" loc="(50,370)" name="Pin">
- <a name="tristate" val="false"/>
- <a name="label" val="w"/>
- </comp>
- <comp lib="0" loc="(100,280)" name="Pin">
- <a name="width" val="8"/>
- <a name="tristate" val="false"/>
- <a name="label" val="in"/>
- </comp>
- <comp lib="0" loc="(40,220)" name="Pin">
- <a name="tristate" val="false"/>
- <a name="label" val="c"/>
- </comp>
- <comp lib="1" loc="(140,370)" name="NOT Gate"/>
- <comp lib="1" loc="(280,420)" name="OR Gate"/>
- <comp lib="3" loc="(500,290)" name="Adder"/>
- <comp lib="1" loc="(200,360)" name="AND Gate"/>
- <comp lib="1" loc="(250,220)" name="NOT Gate"/>
- </circuit>
- <circuit name="8bit-16bit">
- <a name="circuit" val="8bit-16bit"/>
- <a name="clabel" val=""/>
- <a name="clabelup" val="east"/>
- <a name="clabelfont" val="SansSerif plain 12"/>
- <wire from="(500,190)" to="(500,260)"/>
- <wire from="(330,80)" to="(330,150)"/>
- <wire from="(710,110)" to="(760,110)"/>
- <wire from="(540,150)" to="(590,150)"/>
- <wire from="(540,70)" to="(590,70)"/>
- <wire from="(290,100)" to="(290,230)"/>
- <wire from="(630,110)" to="(680,110)"/>
- <wire from="(330,150)" to="(510,150)"/>
- <wire from="(100,100)" to="(100,110)"/>
- <wire from="(390,70)" to="(510,70)"/>
- <wire from="(200,290)" to="(250,290)"/>
- <wire from="(290,90)" to="(290,100)"/>
- <wire from="(50,100)" to="(100,100)"/>
- <wire from="(390,60)" to="(390,70)"/>
- <wire from="(100,110)" to="(100,190)"/>
- <wire from="(430,80)" to="(430,100)"/>
- <wire from="(520,90)" to="(520,110)"/>
- <wire from="(520,170)" to="(520,190)"/>
- <wire from="(200,190)" to="(500,190)"/>
- <wire from="(100,110)" to="(520,110)"/>
- <wire from="(100,190)" to="(200,190)"/>
- <wire from="(110,70)" to="(270,70)"/>
- <wire from="(300,60)" to="(390,60)"/>
- <wire from="(490,240)" to="(520,240)"/>
- <wire from="(300,80)" to="(330,80)"/>
- <wire from="(200,190)" to="(200,290)"/>
- <wire from="(490,80)" to="(490,240)"/>
- <wire from="(270,230)" to="(290,230)"/>
- <wire from="(430,80)" to="(450,80)"/>
- <wire from="(500,190)" to="(520,190)"/>
- <wire from="(490,80)" to="(510,80)"/>
- <wire from="(250,250)" to="(250,290)"/>
- <wire from="(500,260)" to="(520,260)"/>
- <wire from="(290,100)" to="(430,100)"/>
- <wire from="(480,80)" to="(490,80)"/>
- <wire from="(690,130)" to="(690,250)"/>
- <wire from="(760,50)" to="(760,110)"/>
- <wire from="(550,250)" to="(690,250)"/>
- <wire from="(760,50)" to="(770,50)"/>
- <comp lib="0" loc="(590,150)" name="Splitter">
- <a name="fanout" val="8"/>
- <a name="incoming" val="8"/>
- <a name="appear" val="center"/>
- </comp>
- <comp lib="0" loc="(630,110)" name="Splitter">
- <a name="facing" val="west"/>
- <a name="fanout" val="16"/>
- <a name="incoming" val="16"/>
- <a name="appear" val="center"/>
- </comp>
- <comp lib="0" loc="(590,70)" name="Splitter">
- <a name="fanout" val="8"/>
- <a name="incoming" val="8"/>
- <a name="appear" val="center"/>
- </comp>
- <comp lib="1" loc="(550,250)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="4" loc="(540,150)" name="Register"/>
- <comp lib="0" loc="(770,50)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="width" val="16"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(50,100)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="4" loc="(270,230)" name="Counter">
- <a name="width" val="1"/>
- <a name="max" val="0x1"/>
- </comp>
- <comp lib="1" loc="(480,80)" name="NOT Gate"/>
- <comp lib="2" loc="(270,70)" name="Demultiplexer">
- <a name="width" val="8"/>
- </comp>
- <comp lib="0" loc="(110,70)" name="Pin">
- <a name="width" val="8"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="4" loc="(710,110)" name="Register">
- <a name="width" val="16"/>
- </comp>
- <comp lib="4" loc="(540,70)" name="Register"/>
- </circuit>
- <circuit name="register">
- <a name="circuit" val="register"/>
- <a name="clabel" val="ir"/>
- <a name="clabelup" val="east"/>
- <a name="clabelfont" val="SansSerif plain 12"/>
- <appear>
- <path d="M61,56 Q65,66 69,56" fill="none" stroke="#808080" stroke-width="2"/>
- <rect fill="none" height="74" stroke="#000000" stroke-width="2" width="59" x="50" y="55"/>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="57" y="75">i</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="90" y="73">o</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="60" y="103">e</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="60" y="113">c</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="61" y="123">z</text>
- <circ-port height="8" pin="130,230" width="8" x="46" y="66"/>
- <circ-port height="8" pin="90,260" width="8" x="46" y="96"/>
- <circ-port height="8" pin="90,280" width="8" x="46" y="106"/>
- <circ-port height="8" pin="90,320" width="8" x="46" y="116"/>
- <circ-port height="10" pin="290,230" width="10" x="95" y="65"/>
- <circ-anchor facing="east" height="6" width="6" x="97" y="67"/>
- </appear>
- <wire from="(90,260)" to="(170,260)"/>
- <wire from="(130,230)" to="(210,230)"/>
- <wire from="(90,320)" to="(230,320)"/>
- <wire from="(230,250)" to="(230,320)"/>
- <wire from="(170,240)" to="(170,260)"/>
- <wire from="(170,240)" to="(210,240)"/>
- <wire from="(240,230)" to="(290,230)"/>
- <wire from="(220,250)" to="(220,280)"/>
- <wire from="(90,280)" to="(220,280)"/>
- <comp lib="0" loc="(90,260)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(90,320)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(290,230)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="4" loc="(240,230)" name="Register"/>
- <comp lib="0" loc="(130,230)" name="Pin">
- <a name="width" val="8"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(90,280)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- </circuit>
- <circuit name="step">
- <a name="circuit" val="step"/>
- <a name="clabel" val=""/>
- <a name="clabelup" val="east"/>
- <a name="clabelfont" val="SansSerif plain 12"/>
- <appear>
- <path d="M71,51 Q75,61 79,51" fill="none" stroke="#808080" stroke-width="2"/>
- <rect fill="none" height="55" stroke="#000000" stroke-width="2" width="120" x="50" y="50"/>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="71" y="65">c</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="68" y="91">z</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="90" y="92">0</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="110" y="93">1</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="130" y="93">2</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="150" y="93">3</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="110" y="73">step</text>
- <circ-port height="8" pin="130,230" width="8" x="56" y="56"/>
- <circ-port height="8" pin="130,270" width="8" x="56" y="86"/>
- <circ-port height="10" pin="350,230" width="10" x="85" y="95"/>
- <circ-port height="10" pin="360,260" width="10" x="105" y="95"/>
- <circ-port height="10" pin="370,290" width="10" x="125" y="95"/>
- <circ-port height="10" pin="380,320" width="10" x="145" y="95"/>
- <circ-anchor facing="east" height="6" width="6" x="57" y="57"/>
- </appear>
- <wire from="(260,210)" to="(260,230)"/>
- <wire from="(350,210)" to="(350,230)"/>
- <wire from="(370,210)" to="(370,290)"/>
- <wire from="(130,270)" to="(270,270)"/>
- <wire from="(360,210)" to="(360,260)"/>
- <wire from="(270,210)" to="(270,270)"/>
- <wire from="(380,210)" to="(380,320)"/>
- <wire from="(130,230)" to="(260,230)"/>
- <wire from="(280,190)" to="(350,190)"/>
- <comp lib="0" loc="(130,270)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(380,320)" name="Pin">
- <a name="facing" val="north"/>
- <a name="output" val="true"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(130,230)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="2" loc="(350,190)" name="Decoder">
- <a name="facing" val="south"/>
- <a name="select" val="2"/>
- </comp>
- <comp lib="0" loc="(350,230)" name="Pin">
- <a name="facing" val="north"/>
- <a name="output" val="true"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="4" loc="(280,190)" name="Counter">
- <a name="width" val="2"/>
- <a name="max" val="0x4"/>
- </comp>
- <comp lib="0" loc="(370,290)" name="Pin">
- <a name="facing" val="north"/>
- <a name="output" val="true"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(360,260)" name="Pin">
- <a name="facing" val="north"/>
- <a name="output" val="true"/>
- <a name="labelloc" val="east"/>
- </comp>
- </circuit>
- <circuit name="control">
- <a name="circuit" val="control"/>
- <a name="clabel" val=""/>
- <a name="clabelup" val="east"/>
- <a name="clabelfont" val="SansSerif plain 12"/>
- <appear>
- <path d="M51,6 Q55,16 59,6" fill="none" stroke="#808080" stroke-width="2"/>
- <rect fill="none" height="274" stroke="#000000" stroke-width="2" width="201" x="19" y="9"/>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="34" y="24">clk</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="128" y="269">alu_op</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="50" y="271">ir</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="80" y="271">a</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="101" y="271">b</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="176" y="269">alu_op_in</text>
- <circ-port height="8" pin="660,130" width="8" x="16" y="16"/>
- <circ-port height="10" pin="1420,370" width="10" x="215" y="75"/>
- <circ-port height="10" pin="1420,390" width="10" x="215" y="85"/>
- <circ-port height="10" pin="1420,410" width="10" x="215" y="95"/>
- <circ-port height="10" pin="1420,470" width="10" x="215" y="105"/>
- <circ-port height="10" pin="1420,550" width="10" x="215" y="115"/>
- <circ-port height="10" pin="1420,490" width="10" x="215" y="125"/>
- <circ-port height="10" pin="1420,510" width="10" x="215" y="135"/>
- <circ-port height="10" pin="1420,290" width="10" x="215" y="145"/>
- <circ-port height="10" pin="1420,570" width="10" x="215" y="155"/>
- <circ-port height="10" pin="1420,430" width="10" x="215" y="165"/>
- <circ-port height="10" pin="1420,590" width="10" x="215" y="185"/>
- <circ-port height="10" pin="1420,450" width="10" x="215" y="175"/>
- <circ-port height="10" pin="620,170" width="10" x="75" y="275"/>
- <circ-port height="8" pin="540,120" width="8" x="46" y="276"/>
- <circ-port height="10" pin="850,200" width="10" x="65" y="105"/>
- <circ-port height="10" pin="860,200" width="10" x="85" y="105"/>
- <circ-port height="10" pin="870,200" width="10" x="105" y="105"/>
- <circ-port height="10" pin="880,200" width="10" x="125" y="105"/>
- <circ-port height="10" pin="1420,610" width="10" x="215" y="195"/>
- <circ-port height="10" pin="1420,630" width="10" x="215" y="205"/>
- <circ-port height="10" pin="1420,650" width="10" x="215" y="215"/>
- <circ-port height="10" pin="1420,530" width="10" x="215" y="35"/>
- <circ-port height="10" pin="1420,350" width="10" x="215" y="45"/>
- <circ-port height="10" pin="1420,310" width="10" x="215" y="55"/>
- <circ-port height="10" pin="620,190" width="10" x="95" y="275"/>
- <circ-port height="10" pin="1160,200" width="10" x="125" y="275"/>
- <circ-port height="10" pin="1420,330" width="10" x="215" y="65"/>
- <circ-port height="10" pin="1420,670" width="10" x="165" y="275"/>
- <circ-port height="8" pin="1100,200" width="8" x="146" y="106"/>
- <circ-port height="10" pin="1420,690" width="10" x="215" y="225"/>
- <circ-port height="10" pin="1420,710" width="10" x="215" y="235"/>
- <circ-port height="10" pin="1420,730" width="10" x="215" y="245"/>
- <circ-port height="10" pin="1420,750" width="10" x="215" y="255"/>
- <circ-port height="10" pin="1420,770" width="10" x="215" y="265"/>
- <circ-port height="8" pin="1530,310" width="8" x="16" y="26"/>
- <circ-port height="8" pin="1530,330" width="8" x="16" y="36"/>
- <circ-port height="8" pin="1530,350" width="8" x="16" y="46"/>
- <circ-port height="8" pin="1530,370" width="8" x="16" y="56"/>
- <circ-port height="8" pin="1530,390" width="8" x="16" y="66"/>
- <circ-port height="8" pin="1530,410" width="8" x="16" y="76"/>
- <circ-port height="8" pin="1530,430" width="8" x="16" y="86"/>
- <circ-port height="8" pin="1530,450" width="8" x="16" y="96"/>
- <circ-port height="8" pin="1530,470" width="8" x="16" y="106"/>
- <circ-port height="8" pin="1530,490" width="8" x="16" y="116"/>
- <circ-port height="8" pin="1530,510" width="8" x="16" y="126"/>
- <circ-port height="8" pin="1530,530" width="8" x="16" y="136"/>
- <circ-port height="8" pin="1530,550" width="8" x="16" y="146"/>
- <circ-port height="8" pin="1530,570" width="8" x="16" y="156"/>
- <circ-port height="8" pin="1530,590" width="8" x="16" y="166"/>
- <circ-port height="8" pin="1530,610" width="8" x="16" y="176"/>
- <circ-port height="8" pin="1530,630" width="8" x="16" y="186"/>
- <circ-port height="8" pin="1530,650" width="8" x="16" y="196"/>
- <circ-port height="8" pin="1530,670" width="8" x="16" y="206"/>
- <circ-port height="8" pin="1530,690" width="8" x="16" y="216"/>
- <circ-port height="8" pin="1530,710" width="8" x="16" y="226"/>
- <circ-port height="8" pin="1530,730" width="8" x="16" y="236"/>
- <circ-port height="8" pin="1530,750" width="8" x="16" y="246"/>
- <circ-port height="8" pin="1530,770" width="8" x="16" y="256"/>
- <circ-port height="10" pin="1480,170" width="10" x="65" y="135"/>
- <circ-port height="8" pin="1280,930" width="8" x="196" y="276"/>
- <circ-anchor facing="east" height="6" width="6" x="217" y="37"/>
- </appear>
- <wire from="(1090,410)" to="(1330,410)"/>
- <wire from="(1000,420)" to="(1000,560)"/>
- <wire from="(160,250)" to="(160,1470)"/>
- <wire from="(830,1470)" to="(830,1480)"/>
- <wire from="(1090,420)" to="(1320,420)"/>
- <wire from="(1270,1270)" to="(1270,1300)"/>
- <wire from="(720,1750)" to="(780,1750)"/>
- <wire from="(1680,460)" to="(1680,610)"/>
- <wire from="(1380,1250)" to="(1380,1340)"/>
- <wire from="(830,1790)" to="(830,1820)"/>
- <wire from="(1670,450)" to="(1670,590)"/>
- <wire from="(1090,400)" to="(1340,400)"/>
- <wire from="(580,250)" to="(580,600)"/>
- <wire from="(1050,910)" to="(1050,1300)"/>
- <wire from="(1660,440)" to="(1660,570)"/>
- <wire from="(1440,1120)" to="(1440,1130)"/>
- <wire from="(1720,500)" to="(1720,690)"/>
- <wire from="(1090,450)" to="(1290,450)"/>
- <wire from="(1300,920)" to="(1430,920)"/>
- <wire from="(930,390)" to="(960,390)"/>
- <wire from="(1290,590)" to="(1420,590)"/>
- <wire from="(960,700)" to="(960,860)"/>
- <wire from="(1710,490)" to="(1710,670)"/>
- <wire from="(750,1260)" to="(750,1360)"/>
- <wire from="(1700,480)" to="(1700,650)"/>
- <wire from="(1090,430)" to="(1310,430)"/>
- <wire from="(30,480)" to="(360,480)"/>
- <wire from="(810,1640)" to="(880,1640)"/>
- <wire from="(1320,1430)" to="(1340,1430)"/>
- <wire from="(1690,470)" to="(1690,630)"/>
- <wire from="(1090,440)" to="(1300,440)"/>
- <wire from="(210,1900)" to="(780,1900)"/>
- <wire from="(1350,390)" to="(1350,470)"/>
- <wire from="(1530,530)" to="(1640,530)"/>
- <wire from="(1090,480)" to="(1260,480)"/>
- <wire from="(1750,530)" to="(1750,750)"/>
- <wire from="(1740,520)" to="(1740,730)"/>
- <wire from="(920,280)" to="(920,350)"/>
- <wire from="(1300,950)" to="(1400,950)"/>
- <wire from="(730,1510)" to="(1050,1510)"/>
- <wire from="(1010,250)" to="(1070,250)"/>
- <wire from="(750,1070)" to="(750,1160)"/>
- <wire from="(1090,460)" to="(1280,460)"/>
- <wire from="(1730,510)" to="(1730,710)"/>
- <wire from="(830,1600)" to="(830,1630)"/>
- <wire from="(1040,290)" to="(1420,290)"/>
- <wire from="(680,970)" to="(780,970)"/>
- <wire from="(680,1930)" to="(780,1930)"/>
- <wire from="(1400,950)" to="(1400,1090)"/>
- <wire from="(1090,470)" to="(1270,470)"/>
- <wire from="(610,2240)" to="(780,2240)"/>
- <wire from="(1040,1490)" to="(1040,1540)"/>
- <wire from="(460,580)" to="(1000,580)"/>
- <wire from="(1090,510)" to="(1230,510)"/>
- <wire from="(520,120)" to="(540,120)"/>
- <wire from="(970,560)" to="(1000,560)"/>
- <wire from="(1650,430)" to="(1790,430)"/>
- <wire from="(1090,520)" to="(1220,520)"/>
- <wire from="(1090,490)" to="(1250,490)"/>
- <wire from="(1340,1580)" to="(1360,1580)"/>
- <wire from="(1090,500)" to="(1240,500)"/>
- <wire from="(820,1390)" to="(830,1390)"/>
- <wire from="(1760,540)" to="(1760,770)"/>
- <wire from="(900,250)" to="(980,250)"/>
- <wire from="(470,610)" to="(990,610)"/>
- <wire from="(1090,540)" to="(1200,540)"/>
- <wire from="(510,250)" to="(510,510)"/>
- <wire from="(1280,1220)" to="(1280,1240)"/>
- <wire from="(480,640)" to="(980,640)"/>
- <wire from="(1060,990)" to="(1060,1340)"/>
- <wire from="(1160,780)" to="(1160,810)"/>
- <wire from="(1060,420)" to="(1060,550)"/>
- <wire from="(830,1820)" to="(870,1820)"/>
- <wire from="(680,1740)" to="(780,1740)"/>
- <wire from="(1090,530)" to="(1210,530)"/>
- <wire from="(1370,430)" to="(1420,430)"/>
- <wire from="(680,2090)" to="(680,2170)"/>
- <wire from="(1500,1120)" to="(1500,1130)"/>
- <wire from="(900,1990)" to="(900,2070)"/>
- <wire from="(240,250)" to="(240,2140)"/>
- <wire from="(1340,890)" to="(1340,1130)"/>
- <wire from="(490,670)" to="(970,670)"/>
- <wire from="(1380,360)" to="(1380,410)"/>
- <wire from="(750,1430)" to="(780,1430)"/>
- <wire from="(1020,1210)" to="(1020,1440)"/>
- <wire from="(1280,1090)" to="(1280,1190)"/>
- <wire from="(890,1910)" to="(900,1910)"/>
- <wire from="(1320,1370)" to="(1340,1370)"/>
- <wire from="(510,510)" to="(780,510)"/>
- <wire from="(900,1480)" to="(900,1530)"/>
- <wire from="(1080,810)" to="(1100,810)"/>
- <wire from="(500,700)" to="(960,700)"/>
- <wire from="(900,840)" to="(900,890)"/>
- <wire from="(510,730)" to="(950,730)"/>
- <wire from="(1270,1340)" to="(1270,1360)"/>
- <wire from="(340,230)" to="(460,230)"/>
- <wire from="(1100,210)" to="(1100,240)"/>
- <wire from="(500,500)" to="(500,700)"/>
- <wire from="(610,2150)" to="(610,2240)"/>
- <wire from="(850,1400)" to="(950,1400)"/>
- <wire from="(520,760)" to="(940,760)"/>
- <wire from="(830,1630)" to="(870,1630)"/>
- <wire from="(680,910)" to="(780,910)"/>
- <wire from="(950,1400)" to="(950,1550)"/>
- <wire from="(510,510)" to="(510,730)"/>
- <wire from="(720,1940)" to="(720,2020)"/>
- <wire from="(1130,1520)" to="(1130,1530)"/>
- <wire from="(1000,580)" to="(1110,580)"/>
- <wire from="(770,200)" to="(770,220)"/>
- <wire from="(720,1490)" to="(720,1660)"/>
- <wire from="(400,250)" to="(430,250)"/>
- <wire from="(1030,1540)" to="(1040,1540)"/>
- <wire from="(750,920)" to="(780,920)"/>
- <wire from="(1530,490)" to="(1620,490)"/>
- <wire from="(1130,1390)" to="(1130,1490)"/>
- <wire from="(1580,360)" to="(1790,360)"/>
- <wire from="(520,520)" to="(520,760)"/>
- <wire from="(890,1720)" to="(900,1720)"/>
- <wire from="(530,790)" to="(930,790)"/>
- <wire from="(1340,1520)" to="(1360,1520)"/>
- <wire from="(850,1040)" to="(860,1040)"/>
- <wire from="(1320,1390)" to="(1320,1430)"/>
- <wire from="(940,550)" to="(1020,550)"/>
- <wire from="(1410,330)" to="(1410,350)"/>
- <wire from="(610,1450)" to="(610,1460)"/>
- <wire from="(1430,920)" to="(1430,1130)"/>
- <wire from="(720,360)" to="(770,360)"/>
- <wire from="(720,2270)" to="(780,2270)"/>
- <wire from="(530,530)" to="(530,790)"/>
- <wire from="(540,820)" to="(920,820)"/>
- <wire from="(500,60)" to="(500,70)"/>
- <wire from="(1160,720)" to="(1160,750)"/>
- <wire from="(680,400)" to="(780,400)"/>
- <wire from="(610,1990)" to="(780,1990)"/>
- <wire from="(1240,690)" to="(1420,690)"/>
- <wire from="(870,1390)" to="(870,1430)"/>
- <wire from="(1710,490)" to="(1790,490)"/>
- <wire from="(720,1750)" to="(720,1850)"/>
- <wire from="(1830,1180)" to="(1850,1180)"/>
- <wire from="(1530,750)" to="(1750,750)"/>
- <wire from="(810,2160)" to="(880,2160)"/>
- <wire from="(890,1530)" to="(900,1530)"/>
- <wire from="(920,280)" to="(930,280)"/>
- <wire from="(1380,1370)" to="(1400,1370)"/>
- <wire from="(810,490)" to="(820,490)"/>
- <wire from="(1080,750)" to="(1100,750)"/>
- <wire from="(350,420)" to="(420,420)"/>
- <wire from="(910,150)" to="(910,200)"/>
- <wire from="(1220,520)" to="(1220,730)"/>
- <wire from="(730,240)" to="(850,240)"/>
- <wire from="(1320,530)" to="(1420,530)"/>
- <wire from="(420,190)" to="(470,190)"/>
- <wire from="(610,1320)" to="(610,1450)"/>
- <wire from="(680,1840)" to="(680,1930)"/>
- <wire from="(550,850)" to="(780,850)"/>
- <wire from="(830,2120)" to="(830,2150)"/>
- <wire from="(880,360)" to="(900,360)"/>
- <wire from="(1520,950)" to="(1520,1130)"/>
- <wire from="(680,160)" to="(700,160)"/>
- <wire from="(1070,1000)" to="(1070,1570)"/>
- <wire from="(1530,450)" to="(1600,450)"/>
- <wire from="(990,610)" to="(990,860)"/>
- <wire from="(600,1510)" to="(730,1510)"/>
- <wire from="(1160,200)" to="(1160,560)"/>
- <wire from="(1080,560)" to="(1100,560)"/>
- <wire from="(1400,1090)" to="(1400,1130)"/>
- <wire from="(1810,150)" to="(1810,430)"/>
- <wire from="(1240,1440)" to="(1240,1590)"/>
- <wire from="(1010,1460)" to="(1880,1460)"/>
- <wire from="(1300,890)" to="(1340,890)"/>
- <wire from="(1160,660)" to="(1160,690)"/>
- <wire from="(680,1650)" to="(680,1740)"/>
- <wire from="(230,250)" to="(230,2060)"/>
- <wire from="(680,2260)" to="(780,2260)"/>
- <wire from="(870,370)" to="(870,390)"/>
- <wire from="(730,1510)" to="(730,1530)"/>
- <wire from="(1480,150)" to="(1810,150)"/>
- <wire from="(880,1130)" to="(900,1130)"/>
- <wire from="(1050,1510)" to="(1050,1560)"/>
- <wire from="(960,700)" to="(1110,700)"/>
- <wire from="(490,90)" to="(520,90)"/>
- <wire from="(1250,490)" to="(1250,670)"/>
- <wire from="(1530,710)" to="(1730,710)"/>
- <wire from="(750,430)" to="(750,870)"/>
- <wire from="(1640,420)" to="(1790,420)"/>
- <wire from="(580,600)" to="(970,600)"/>
- <wire from="(1400,370)" to="(1420,370)"/>
- <wire from="(750,430)" to="(830,430)"/>
- <wire from="(1080,690)" to="(1100,690)"/>
- <wire from="(500,250)" to="(500,500)"/>
- <wire from="(1480,150)" to="(1480,170)"/>
- <wire from="(340,160)" to="(340,230)"/>
- <wire from="(870,1140)" to="(870,1150)"/>
- <wire from="(810,1150)" to="(870,1150)"/>
- <wire from="(600,560)" to="(920,560)"/>
- <wire from="(720,2020)" to="(780,2020)"/>
- <wire from="(900,1040)" to="(900,1130)"/>
- <wire from="(830,2150)" to="(870,2150)"/>
- <wire from="(940,340)" to="(980,340)"/>
- <wire from="(490,480)" to="(780,480)"/>
- <wire from="(1790,1290)" to="(1790,1360)"/>
- <wire from="(360,480)" to="(360,1210)"/>
- <wire from="(880,940)" to="(900,940)"/>
- <wire from="(820,450)" to="(820,490)"/>
- <wire from="(1270,1340)" to="(1280,1340)"/>
- <wire from="(940,760)" to="(940,860)"/>
- <wire from="(980,390)" to="(1010,390)"/>
- <wire from="(500,500)" to="(780,500)"/>
- <wire from="(1090,180)" to="(1120,180)"/>
- <wire from="(1050,1300)" to="(1270,1300)"/>
- <wire from="(1030,210)" to="(1100,210)"/>
- <wire from="(890,2240)" to="(900,2240)"/>
- <wire from="(1350,1410)" to="(1370,1410)"/>
- <wire from="(920,420)" to="(920,560)"/>
- <wire from="(180,250)" to="(180,570)"/>
- <wire from="(730,1530)" to="(780,1530)"/>
- <wire from="(1280,460)" to="(1280,610)"/>
- <wire from="(870,950)" to="(870,960)"/>
- <wire from="(810,960)" to="(870,960)"/>
- <wire from="(1160,600)" to="(1160,630)"/>
- <wire from="(1120,1590)" to="(1180,1590)"/>
- <wire from="(1300,940)" to="(1490,940)"/>
- <wire from="(1020,550)" to="(1060,550)"/>
- <wire from="(410,170)" to="(410,200)"/>
- <wire from="(1530,410)" to="(1580,410)"/>
- <wire from="(1070,250)" to="(1070,430)"/>
- <wire from="(610,1520)" to="(610,1630)"/>
- <wire from="(360,1210)" to="(1020,1210)"/>
- <wire from="(40,50)" to="(510,50)"/>
- <wire from="(900,980)" to="(1760,980)"/>
- <wire from="(720,1290)" to="(810,1290)"/>
- <wire from="(900,980)" to="(900,1040)"/>
- <wire from="(1030,1410)" to="(1250,1410)"/>
- <wire from="(590,620)" to="(1040,620)"/>
- <wire from="(1270,630)" to="(1420,630)"/>
- <wire from="(1370,1560)" to="(1390,1560)"/>
- <wire from="(850,410)" to="(860,410)"/>
- <wire from="(1570,350)" to="(1790,350)"/>
- <wire from="(1080,630)" to="(1100,630)"/>
- <wire from="(980,310)" to="(1030,310)"/>
- <wire from="(730,380)" to="(780,380)"/>
- <wire from="(610,540)" to="(610,1320)"/>
- <wire from="(1120,780)" to="(1160,780)"/>
- <wire from="(50,90)" to="(490,90)"/>
- <wire from="(1040,290)" to="(1040,320)"/>
- <wire from="(680,2010)" to="(780,2010)"/>
- <wire from="(1530,670)" to="(1710,670)"/>
- <wire from="(790,210)" to="(880,210)"/>
- <wire from="(1310,430)" to="(1310,550)"/>
- <wire from="(840,1280)" to="(1000,1280)"/>
- <wire from="(1350,470)" to="(1420,470)"/>
- <wire from="(1860,1220)" to="(1880,1220)"/>
- <wire from="(960,210)" to="(960,270)"/>
- <wire from="(610,1460)" to="(610,1520)"/>
- <wire from="(980,420)" to="(980,540)"/>
- <wire from="(900,1430)" to="(900,1480)"/>
- <wire from="(1700,480)" to="(1790,480)"/>
- <wire from="(220,250)" to="(220,1980)"/>
- <wire from="(820,1480)" to="(820,1490)"/>
- <wire from="(920,820)" to="(1110,820)"/>
- <wire from="(680,2170)" to="(680,2260)"/>
- <wire from="(680,860)" to="(780,860)"/>
- <wire from="(680,1500)" to="(780,1500)"/>
- <wire from="(900,2070)" to="(900,2150)"/>
- <wire from="(660,150)" to="(680,150)"/>
- <wire from="(750,870)" to="(780,870)"/>
- <wire from="(910,200)" to="(1070,200)"/>
- <wire from="(590,1120)" to="(1320,1120)"/>
- <wire from="(590,1120)" to="(590,1240)"/>
- <wire from="(380,200)" to="(390,200)"/>
- <wire from="(680,1280)" to="(810,1280)"/>
- <wire from="(1530,370)" to="(1560,370)"/>
- <wire from="(1320,1120)" to="(1350,1120)"/>
- <wire from="(1780,1270)" to="(1800,1270)"/>
- <wire from="(890,1990)" to="(900,1990)"/>
- <wire from="(500,70)" to="(500,190)"/>
- <wire from="(850,1320)" to="(850,1330)"/>
- <wire from="(810,390)" to="(870,390)"/>
- <wire from="(1120,720)" to="(1160,720)"/>
- <wire from="(460,30)" to="(460,170)"/>
- <wire from="(1340,400)" to="(1340,490)"/>
- <wire from="(1250,1560)" to="(1350,1560)"/>
- <wire from="(770,1240)" to="(770,1270)"/>
- <wire from="(130,180)" to="(300,180)"/>
- <wire from="(510,170)" to="(620,170)"/>
- <wire from="(680,1310)" to="(780,1310)"/>
- <wire from="(1120,180)" to="(1120,250)"/>
- <wire from="(610,1910)" to="(610,1990)"/>
- <wire from="(720,2020)" to="(720,2100)"/>
- <wire from="(490,250)" to="(490,480)"/>
- <wire from="(40,50)" to="(40,470)"/>
- <wire from="(1220,730)" to="(1420,730)"/>
- <wire from="(1760,1270)" to="(1760,1310)"/>
- <wire from="(1030,530)" to="(1030,910)"/>
- <wire from="(1530,630)" to="(1690,630)"/>
- <wire from="(890,1480)" to="(900,1480)"/>
- <wire from="(1630,410)" to="(1790,410)"/>
- <wire from="(820,450)" to="(830,450)"/>
- <wire from="(540,490)" to="(540,820)"/>
- <wire from="(880,200)" to="(880,210)"/>
- <wire from="(820,1490)" to="(880,1490)"/>
- <wire from="(1380,1340)" to="(1380,1370)"/>
- <wire from="(990,380)" to="(1050,380)"/>
- <wire from="(480,470)" to="(780,470)"/>
- <wire from="(680,1280)" to="(680,1310)"/>
- <wire from="(680,1440)" to="(780,1440)"/>
- <wire from="(1180,1390)" to="(1180,1590)"/>
- <wire from="(610,2070)" to="(780,2070)"/>
- <wire from="(1530,330)" to="(1540,330)"/>
- <wire from="(430,170)" to="(460,170)"/>
- <wire from="(1180,1390)" to="(1320,1390)"/>
- <wire from="(570,250)" to="(570,1050)"/>
- <wire from="(1370,370)" to="(1370,430)"/>
- <wire from="(680,1150)" to="(680,1250)"/>
- <wire from="(610,1720)" to="(610,1820)"/>
- <wire from="(970,670)" to="(970,860)"/>
- <wire from="(750,1360)" to="(1270,1360)"/>
- <wire from="(810,1920)" to="(880,1920)"/>
- <wire from="(1380,1120)" to="(1410,1120)"/>
- <wire from="(50,460)" to="(380,460)"/>
- <wire from="(1760,540)" to="(1790,540)"/>
- <wire from="(1770,1190)" to="(1800,1190)"/>
- <wire from="(1070,200)" to="(1070,220)"/>
- <wire from="(730,240)" to="(730,380)"/>
- <wire from="(1040,420)" to="(1040,620)"/>
- <wire from="(1300,910)" to="(1400,910)"/>
- <wire from="(1120,660)" to="(1160,660)"/>
- <wire from="(1560,340)" to="(1790,340)"/>
- <wire from="(830,1880)" to="(830,1910)"/>
- <wire from="(900,1820)" to="(900,1910)"/>
- <wire from="(770,1270)" to="(810,1270)"/>
- <wire from="(750,200)" to="(750,230)"/>
- <wire from="(680,1250)" to="(780,1250)"/>
- <wire from="(1300,570)" to="(1420,570)"/>
- <wire from="(1350,1120)" to="(1350,1130)"/>
- <wire from="(1530,590)" to="(1670,590)"/>
- <wire from="(490,40)" to="(520,40)"/>
- <wire from="(750,1260)" to="(780,1260)"/>
- <wire from="(620,320)" to="(620,550)"/>
- <wire from="(210,250)" to="(210,1900)"/>
- <wire from="(810,1730)" to="(880,1730)"/>
- <wire from="(1000,250)" to="(1010,250)"/>
- <wire from="(860,1390)" to="(870,1390)"/>
- <wire from="(970,670)" to="(1110,670)"/>
- <wire from="(1030,910)" to="(1050,910)"/>
- <wire from="(1390,1160)" to="(1390,1200)"/>
- <wire from="(1050,150)" to="(1480,150)"/>
- <wire from="(1690,470)" to="(1790,470)"/>
- <wire from="(600,1350)" to="(780,1350)"/>
- <wire from="(400,410)" to="(400,1000)"/>
- <wire from="(1400,340)" to="(1400,370)"/>
- <wire from="(1380,410)" to="(1420,410)"/>
- <wire from="(170,1510)" to="(600,1510)"/>
- <wire from="(830,1690)" to="(830,1720)"/>
- <wire from="(520,100)" to="(520,120)"/>
- <wire from="(900,1630)" to="(900,1720)"/>
- <wire from="(680,1060)" to="(780,1060)"/>
- <wire from="(1040,1190)" to="(1040,1390)"/>
- <wire from="(880,890)" to="(900,890)"/>
- <wire from="(920,820)" to="(920,860)"/>
- <wire from="(750,1070)" to="(780,1070)"/>
- <wire from="(680,440)" to="(680,860)"/>
- <wire from="(750,1160)" to="(750,1260)"/>
- <wire from="(1000,1280)" to="(1000,1470)"/>
- <wire from="(1440,1120)" to="(1470,1120)"/>
- <wire from="(1690,1140)" to="(1690,1250)"/>
- <wire from="(900,1310)" to="(900,1430)"/>
- <wire from="(810,1540)" to="(880,1540)"/>
- <wire from="(560,250)" to="(560,900)"/>
- <wire from="(940,330)" to="(940,340)"/>
- <wire from="(870,900)" to="(870,910)"/>
- <wire from="(770,220)" to="(770,360)"/>
- <wire from="(810,910)" to="(870,910)"/>
- <wire from="(1120,600)" to="(1160,600)"/>
- <wire from="(1340,1370)" to="(1340,1400)"/>
- <wire from="(1210,530)" to="(1210,750)"/>
- <wire from="(720,2100)" to="(780,2100)"/>
- <wire from="(1300,960)" to="(1550,960)"/>
- <wire from="(830,1910)" to="(870,1910)"/>
- <wire from="(610,1820)" to="(780,1820)"/>
- <wire from="(1410,1120)" to="(1410,1130)"/>
- <wire from="(910,360)" to="(910,530)"/>
- <wire from="(1490,940)" to="(1490,1130)"/>
- <wire from="(1840,1350)" to="(1850,1350)"/>
- <wire from="(1240,1440)" to="(1330,1440)"/>
- <wire from="(770,1240)" to="(780,1240)"/>
- <wire from="(850,360)" to="(860,360)"/>
- <wire from="(1070,250)" to="(1090,250)"/>
- <wire from="(660,960)" to="(780,960)"/>
- <wire from="(1250,670)" to="(1420,670)"/>
- <wire from="(850,1330)" to="(850,1340)"/>
- <wire from="(610,540)" to="(980,540)"/>
- <wire from="(820,1570)" to="(1070,1570)"/>
- <wire from="(1360,1520)" to="(1360,1550)"/>
- <wire from="(1620,400)" to="(1790,400)"/>
- <wire from="(720,950)" to="(780,950)"/>
- <wire from="(1770,1290)" to="(1770,1300)"/>
- <wire from="(510,30)" to="(510,50)"/>
- <wire from="(830,1720)" to="(870,1720)"/>
- <wire from="(480,250)" to="(480,470)"/>
- <wire from="(610,1630)" to="(780,1630)"/>
- <wire from="(1530,550)" to="(1650,550)"/>
- <wire from="(680,440)" to="(830,440)"/>
- <wire from="(400,1000)" to="(1070,1000)"/>
- <wire from="(950,320)" to="(1040,320)"/>
- <wire from="(610,250)" to="(610,540)"/>
- <wire from="(1240,500)" to="(1240,690)"/>
- <wire from="(1500,1120)" to="(1530,1120)"/>
- <wire from="(520,40)" to="(520,90)"/>
- <wire from="(950,1550)" to="(960,1550)"/>
- <wire from="(850,1130)" to="(860,1130)"/>
- <wire from="(930,790)" to="(1110,790)"/>
- <wire from="(1750,530)" to="(1790,530)"/>
- <wire from="(1250,1220)" to="(1250,1240)"/>
- <wire from="(470,460)" to="(780,460)"/>
- <wire from="(980,310)" to="(980,340)"/>
- <wire from="(830,1530)" to="(870,1530)"/>
- <wire from="(680,2090)" to="(780,2090)"/>
- <wire from="(430,400)" to="(430,430)"/>
- <wire from="(750,230)" to="(860,230)"/>
- <wire from="(870,200)" to="(870,220)"/>
- <wire from="(1050,380)" to="(1050,390)"/>
- <wire from="(200,250)" to="(200,1810)"/>
- <wire from="(1470,1120)" to="(1470,1130)"/>
- <wire from="(830,1310)" to="(830,1390)"/>
- <wire from="(900,410)" to="(900,840)"/>
- <wire from="(410,170)" to="(430,170)"/>
- <wire from="(1330,510)" to="(1420,510)"/>
- <wire from="(810,2250)" to="(880,2250)"/>
- <wire from="(1050,180)" to="(1060,180)"/>
- <wire from="(850,940)" to="(860,940)"/>
- <wire from="(660,900)" to="(780,900)"/>
- <wire from="(1250,1410)" to="(1250,1560)"/>
- <wire from="(1140,1560)" to="(1140,1580)"/>
- <wire from="(1550,330)" to="(1790,330)"/>
- <wire from="(750,1360)" to="(750,1430)"/>
- <wire from="(1530,510)" to="(1630,510)"/>
- <wire from="(350,210)" to="(400,210)"/>
- <wire from="(720,1850)" to="(780,1850)"/>
- <wire from="(680,970)" to="(680,1060)"/>
- <wire from="(830,2210)" to="(830,2240)"/>
- <wire from="(900,2150)" to="(900,2240)"/>
- <wire from="(580,600)" to="(580,1140)"/>
- <wire from="(1000,580)" to="(1000,860)"/>
- <wire from="(1840,1370)" to="(1900,1370)"/>
- <wire from="(1110,570)" to="(1110,580)"/>
- <wire from="(680,1930)" to="(680,2010)"/>
- <wire from="(1410,350)" to="(1420,350)"/>
- <wire from="(460,30)" to="(480,30)"/>
- <wire from="(30,60)" to="(500,60)"/>
- <wire from="(180,1620)" to="(780,1620)"/>
- <wire from="(380,160)" to="(380,200)"/>
- <wire from="(1400,1370)" to="(1400,1490)"/>
- <wire from="(1270,470)" to="(1270,630)"/>
- <wire from="(410,430)" to="(410,990)"/>
- <wire from="(1790,1360)" to="(1810,1360)"/>
- <wire from="(890,1430)" to="(900,1430)"/>
- <wire from="(540,250)" to="(540,490)"/>
- <wire from="(890,2070)" to="(900,2070)"/>
- <wire from="(860,440)" to="(870,440)"/>
- <wire from="(1030,1560)" to="(1050,1560)"/>
- <wire from="(900,360)" to="(900,410)"/>
- <wire from="(990,260)" to="(990,270)"/>
- <wire from="(1680,460)" to="(1790,460)"/>
- <wire from="(1530,770)" to="(1760,770)"/>
- <wire from="(490,80)" to="(490,90)"/>
- <wire from="(720,1660)" to="(780,1660)"/>
- <wire from="(1160,750)" to="(1160,780)"/>
- <wire from="(720,1340)" to="(780,1340)"/>
- <wire from="(550,250)" to="(550,850)"/>
- <wire from="(180,570)" to="(180,1620)"/>
- <wire from="(610,1990)" to="(610,2070)"/>
- <wire from="(720,2100)" to="(720,2180)"/>
- <wire from="(1530,1120)" to="(1530,1130)"/>
- <wire from="(380,460)" to="(380,1190)"/>
- <wire from="(970,560)" to="(970,600)"/>
- <wire from="(410,430)" to="(430,430)"/>
- <wire from="(680,1740)" to="(680,1840)"/>
- <wire from="(680,910)" to="(680,970)"/>
- <wire from="(1200,770)" to="(1420,770)"/>
- <wire from="(1850,1180)" to="(1850,1350)"/>
- <wire from="(810,1480)" to="(820,1480)"/>
- <wire from="(1080,780)" to="(1100,780)"/>
- <wire from="(1830,1200)" to="(1860,1200)"/>
- <wire from="(980,380)" to="(980,390)"/>
- <wire from="(950,730)" to="(950,860)"/>
- <wire from="(1300,440)" to="(1300,570)"/>
- <wire from="(830,2240)" to="(870,2240)"/>
- <wire from="(860,1310)" to="(900,1310)"/>
- <wire from="(680,1840)" to="(780,1840)"/>
- <wire from="(960,420)" to="(960,570)"/>
- <wire from="(610,2150)" to="(780,2150)"/>
- <wire from="(680,400)" to="(680,440)"/>
- <wire from="(900,940)" to="(900,980)"/>
- <wire from="(1280,610)" to="(1420,610)"/>
- <wire from="(1530,470)" to="(1610,470)"/>
- <wire from="(380,1190)" to="(1040,1190)"/>
- <wire from="(980,640)" to="(1110,640)"/>
- <wire from="(1300,930)" to="(1460,930)"/>
- <wire from="(190,250)" to="(190,1710)"/>
- <wire from="(810,2000)" to="(880,2000)"/>
- <wire from="(1160,560)" to="(1160,600)"/>
- <wire from="(830,1310)" to="(840,1310)"/>
- <wire from="(1300,1470)" to="(1300,1490)"/>
- <wire from="(1380,1230)" to="(1380,1250)"/>
- <wire from="(720,360)" to="(720,950)"/>
- <wire from="(1160,690)" to="(1160,720)"/>
- <wire from="(830,1960)" to="(830,1990)"/>
- <wire from="(1610,390)" to="(1790,390)"/>
- <wire from="(470,250)" to="(470,460)"/>
- <wire from="(680,1650)" to="(780,1650)"/>
- <wire from="(610,1320)" to="(780,1320)"/>
- <wire from="(1380,1250)" to="(1690,1250)"/>
- <wire from="(880,840)" to="(900,840)"/>
- <wire from="(30,60)" to="(30,480)"/>
- <wire from="(360,120)" to="(520,120)"/>
- <wire from="(570,1050)" to="(780,1050)"/>
- <wire from="(960,270)" to="(990,270)"/>
- <wire from="(1330,410)" to="(1330,510)"/>
- <wire from="(190,1710)" to="(780,1710)"/>
- <wire from="(750,1430)" to="(750,1550)"/>
- <wire from="(890,1820)" to="(900,1820)"/>
- <wire from="(1530,730)" to="(1740,730)"/>
- <wire from="(900,1130)" to="(900,1310)"/>
- <wire from="(1080,720)" to="(1100,720)"/>
- <wire from="(600,250)" to="(600,560)"/>
- <wire from="(870,850)" to="(870,860)"/>
- <wire from="(460,450)" to="(780,450)"/>
- <wire from="(810,860)" to="(870,860)"/>
- <wire from="(1860,1200)" to="(1860,1220)"/>
- <wire from="(1020,420)" to="(1020,550)"/>
- <wire from="(1360,450)" to="(1420,450)"/>
- <wire from="(720,1850)" to="(720,1940)"/>
- <wire from="(420,400)" to="(420,420)"/>
- <wire from="(860,200)" to="(860,230)"/>
- <wire from="(1740,520)" to="(1790,520)"/>
- <wire from="(170,250)" to="(170,1170)"/>
- <wire from="(610,1450)" to="(780,1450)"/>
- <wire from="(1250,1410)" to="(1330,1410)"/>
- <wire from="(1110,250)" to="(1120,250)"/>
- <wire from="(40,470)" to="(370,470)"/>
- <wire from="(1290,1370)" to="(1320,1370)"/>
- <wire from="(890,1630)" to="(900,1630)"/>
- <wire from="(1350,1440)" to="(1370,1440)"/>
- <wire from="(590,620)" to="(590,1120)"/>
- <wire from="(680,150)" to="(680,160)"/>
- <wire from="(400,250)" to="(400,390)"/>
- <wire from="(1160,630)" to="(1160,660)"/>
- <wire from="(720,2180)" to="(780,2180)"/>
- <wire from="(720,1660)" to="(720,1750)"/>
- <wire from="(1540,320)" to="(1790,320)"/>
- <wire from="(1360,380)" to="(1360,450)"/>
- <wire from="(1530,430)" to="(1590,430)"/>
- <wire from="(810,1330)" to="(850,1330)"/>
- <wire from="(830,1990)" to="(870,1990)"/>
- <wire from="(750,920)" to="(750,1070)"/>
- <wire from="(660,130)" to="(660,150)"/>
- <wire from="(730,200)" to="(730,240)"/>
- <wire from="(810,130)" to="(900,130)"/>
- <wire from="(1310,1520)" to="(1340,1520)"/>
- <wire from="(1370,1590)" to="(1390,1590)"/>
- <wire from="(1080,660)" to="(1100,660)"/>
- <wire from="(1300,1470)" to="(1900,1470)"/>
- <wire from="(1030,1200)" to="(1030,1410)"/>
- <wire from="(1120,810)" to="(1160,810)"/>
- <wire from="(620,550)" to="(940,550)"/>
- <wire from="(530,250)" to="(530,530)"/>
- <wire from="(1230,710)" to="(1420,710)"/>
- <wire from="(1670,450)" to="(1790,450)"/>
- <wire from="(830,1480)" to="(870,1480)"/>
- <wire from="(1530,690)" to="(1720,690)"/>
- <wire from="(940,760)" to="(1110,760)"/>
- <wire from="(720,1340)" to="(720,1490)"/>
- <wire from="(720,950)" to="(720,1290)"/>
- <wire from="(1030,310)" to="(1030,350)"/>
- <wire from="(910,360)" to="(1000,360)"/>
- <wire from="(580,1140)" to="(780,1140)"/>
- <wire from="(1370,900)" to="(1370,1130)"/>
- <wire from="(1000,280)" to="(1000,340)"/>
- <wire from="(660,900)" to="(660,960)"/>
- <wire from="(790,320)" to="(930,320)"/>
- <wire from="(1900,1370)" to="(1900,1470)"/>
- <wire from="(850,890)" to="(860,890)"/>
- <wire from="(1390,350)" to="(1390,390)"/>
- <wire from="(1320,1370)" to="(1320,1390)"/>
- <wire from="(970,380)" to="(970,390)"/>
- <wire from="(790,200)" to="(790,210)"/>
- <wire from="(1310,550)" to="(1420,550)"/>
- <wire from="(830,1520)" to="(830,1530)"/>
- <wire from="(530,530)" to="(780,530)"/>
- <wire from="(1530,390)" to="(1570,390)"/>
- <wire from="(980,640)" to="(980,860)"/>
- <wire from="(680,2170)" to="(780,2170)"/>
- <wire from="(170,1170)" to="(170,1510)"/>
- <wire from="(610,1520)" to="(780,1520)"/>
- <wire from="(1400,950)" to="(1520,950)"/>
- <wire from="(880,1040)" to="(900,1040)"/>
- <wire from="(1090,310)" to="(1420,310)"/>
- <wire from="(600,1350)" to="(600,1510)"/>
- <wire from="(1880,1220)" to="(1880,1460)"/>
- <wire from="(1300,900)" to="(1370,900)"/>
- <wire from="(130,180)" to="(130,230)"/>
- <wire from="(500,30)" to="(510,30)"/>
- <wire from="(50,90)" to="(50,460)"/>
- <wire from="(1200,540)" to="(1200,770)"/>
- <wire from="(1770,1290)" to="(1790,1290)"/>
- <wire from="(1080,600)" to="(1100,600)"/>
- <wire from="(470,70)" to="(470,190)"/>
- <wire from="(1530,650)" to="(1700,650)"/>
- <wire from="(870,1050)" to="(870,1060)"/>
- <wire from="(810,1060)" to="(870,1060)"/>
- <wire from="(1120,750)" to="(1160,750)"/>
- <wire from="(460,250)" to="(460,450)"/>
- <wire from="(300,160)" to="(300,180)"/>
- <wire from="(170,1170)" to="(1240,1170)"/>
- <wire from="(560,900)" to="(660,900)"/>
- <wire from="(520,100)" to="(810,100)"/>
- <wire from="(1600,380)" to="(1790,380)"/>
- <wire from="(680,2010)" to="(680,2090)"/>
- <wire from="(900,1910)" to="(900,1990)"/>
- <wire from="(1460,930)" to="(1460,1130)"/>
- <wire from="(1420,320)" to="(1420,330)"/>
- <wire from="(850,1340)" to="(1060,1340)"/>
- <wire from="(1300,1340)" to="(1380,1340)"/>
- <wire from="(1340,1520)" to="(1340,1580)"/>
- <wire from="(420,400)" to="(430,400)"/>
- <wire from="(1040,1390)" to="(1130,1390)"/>
- <wire from="(1390,390)" to="(1420,390)"/>
- <wire from="(680,860)" to="(680,910)"/>
- <wire from="(890,2150)" to="(900,2150)"/>
- <wire from="(1690,1140)" to="(1850,1140)"/>
- <wire from="(920,350)" to="(970,350)"/>
- <wire from="(930,790)" to="(930,860)"/>
- <wire from="(1120,560)" to="(1160,560)"/>
- <wire from="(720,2180)" to="(720,2270)"/>
- <wire from="(680,1150)" to="(780,1150)"/>
- <wire from="(160,1470)" to="(780,1470)"/>
- <wire from="(540,490)" to="(780,490)"/>
- <wire from="(1230,510)" to="(1230,710)"/>
- <wire from="(610,2070)" to="(610,2150)"/>
- <wire from="(1280,1090)" to="(1400,1090)"/>
- <wire from="(610,1460)" to="(780,1460)"/>
- <wire from="(1010,1250)" to="(1010,1460)"/>
- <wire from="(1730,510)" to="(1790,510)"/>
- <wire from="(240,2140)" to="(780,2140)"/>
- <wire from="(850,200)" to="(850,240)"/>
- <wire from="(1320,1490)" to="(1400,1490)"/>
- <wire from="(750,1160)" to="(780,1160)"/>
- <wire from="(900,1720)" to="(900,1820)"/>
- <wire from="(1530,310)" to="(1790,310)"/>
- <wire from="(1240,1170)" to="(1370,1170)"/>
- <wire from="(130,230)" to="(150,230)"/>
- <wire from="(1350,1120)" to="(1380,1120)"/>
- <wire from="(1530,350)" to="(1550,350)"/>
- <wire from="(590,250)" to="(590,620)"/>
- <wire from="(900,890)" to="(900,940)"/>
- <wire from="(1550,960)" to="(1550,1130)"/>
- <wire from="(510,50)" to="(510,170)"/>
- <wire from="(590,1240)" to="(770,1240)"/>
- <wire from="(910,530)" to="(1030,530)"/>
- <wire from="(990,610)" to="(1110,610)"/>
- <wire from="(1120,690)" to="(1160,690)"/>
- <wire from="(1370,1170)" to="(1370,1200)"/>
- <wire from="(1120,1560)" to="(1120,1590)"/>
- <wire from="(960,210)" to="(1000,210)"/>
- <wire from="(1000,1470)" to="(1300,1470)"/>
- <wire from="(610,1910)" to="(780,1910)"/>
- <wire from="(680,1500)" to="(680,1650)"/>
- <wire from="(1320,1120)" to="(1320,1130)"/>
- <wire from="(620,320)" to="(790,320)"/>
- <wire from="(900,250)" to="(900,360)"/>
- <wire from="(1660,440)" to="(1790,440)"/>
- <wire from="(900,1530)" to="(900,1630)"/>
- <wire from="(1140,1580)" to="(1340,1580)"/>
- <wire from="(350,210)" to="(350,380)"/>
- <wire from="(410,990)" to="(1060,990)"/>
- <wire from="(470,70)" to="(480,70)"/>
- <wire from="(1260,650)" to="(1420,650)"/>
- <wire from="(810,1250)" to="(1010,1250)"/>
- <wire from="(1020,1440)" to="(1240,1440)"/>
- <wire from="(810,1440)" to="(880,1440)"/>
- <wire from="(680,1440)" to="(680,1500)"/>
- <wire from="(810,2080)" to="(880,2080)"/>
- <wire from="(180,570)" to="(960,570)"/>
- <wire from="(750,870)" to="(750,920)"/>
- <wire from="(990,1550)" to="(1000,1550)"/>
- <wire from="(1260,480)" to="(1260,650)"/>
- <wire from="(830,1390)" to="(840,1390)"/>
- <wire from="(1530,610)" to="(1680,610)"/>
- <wire from="(460,450)" to="(460,580)"/>
- <wire from="(1240,1170)" to="(1240,1190)"/>
- <wire from="(680,1310)" to="(680,1440)"/>
- <wire from="(520,250)" to="(520,520)"/>
- <wire from="(470,460)" to="(470,610)"/>
- <wire from="(810,100)" to="(810,130)"/>
- <wire from="(830,2040)" to="(830,2070)"/>
- <wire from="(680,1250)" to="(680,1280)"/>
- <wire from="(770,220)" to="(870,220)"/>
- <wire from="(960,890)" to="(960,910)"/>
- <wire from="(610,1720)" to="(780,1720)"/>
- <wire from="(230,2060)" to="(780,2060)"/>
- <wire from="(370,470)" to="(370,1200)"/>
- <wire from="(1340,490)" to="(1420,490)"/>
- <wire from="(480,470)" to="(480,640)"/>
- <wire from="(520,520)" to="(780,520)"/>
- <wire from="(1850,1140)" to="(1850,1180)"/>
- <wire from="(1410,1120)" to="(1440,1120)"/>
- <wire from="(200,1810)" to="(780,1810)"/>
- <wire from="(490,480)" to="(490,670)"/>
- <wire from="(720,1290)" to="(720,1340)"/>
- <wire from="(1550,330)" to="(1550,350)"/>
- <wire from="(960,380)" to="(960,390)"/>
- <wire from="(1120,630)" to="(1160,630)"/>
- <wire from="(1560,340)" to="(1560,370)"/>
- <wire from="(940,420)" to="(940,550)"/>
- <wire from="(720,1490)" to="(780,1490)"/>
- <wire from="(350,410)" to="(350,420)"/>
- <wire from="(610,1820)" to="(610,1910)"/>
- <wire from="(1050,150)" to="(1050,180)"/>
- <wire from="(420,160)" to="(420,190)"/>
- <wire from="(1100,200)" to="(1100,210)"/>
- <wire from="(1540,320)" to="(1540,330)"/>
- <wire from="(1290,450)" to="(1290,590)"/>
- <wire from="(1380,1120)" to="(1380,1130)"/>
- <wire from="(1590,370)" to="(1790,370)"/>
- <wire from="(880,410)" to="(900,410)"/>
- <wire from="(1590,370)" to="(1590,430)"/>
- <wire from="(1090,320)" to="(1420,320)"/>
- <wire from="(1530,570)" to="(1660,570)"/>
- <wire from="(1580,360)" to="(1580,410)"/>
- <wire from="(370,1200)" to="(1030,1200)"/>
- <wire from="(250,2230)" to="(780,2230)"/>
- <wire from="(880,1490)" to="(1040,1490)"/>
- <wire from="(750,1550)" to="(780,1550)"/>
- <wire from="(1780,1310)" to="(1800,1310)"/>
- <wire from="(1760,980)" to="(1760,1270)"/>
- <wire from="(250,250)" to="(250,2230)"/>
- <wire from="(1570,350)" to="(1570,390)"/>
- <wire from="(1620,400)" to="(1620,490)"/>
- <wire from="(750,230)" to="(750,430)"/>
- <wire from="(1090,350)" to="(1390,350)"/>
- <wire from="(1610,390)" to="(1610,470)"/>
- <wire from="(1090,360)" to="(1380,360)"/>
- <wire from="(720,1940)" to="(780,1940)"/>
- <wire from="(500,190)" to="(620,190)"/>
- <wire from="(680,1060)" to="(680,1150)"/>
- <wire from="(1090,330)" to="(1410,330)"/>
- <wire from="(610,1630)" to="(610,1720)"/>
- <wire from="(220,1980)" to="(780,1980)"/>
- <wire from="(830,2070)" to="(870,2070)"/>
- <wire from="(430,170)" to="(430,250)"/>
- <wire from="(960,280)" to="(1000,280)"/>
- <wire from="(870,420)" to="(870,440)"/>
- <wire from="(1090,340)" to="(1400,340)"/>
- <wire from="(1770,1190)" to="(1770,1260)"/>
- <wire from="(1600,380)" to="(1600,450)"/>
- <wire from="(1720,500)" to="(1790,500)"/>
- <wire from="(1650,430)" to="(1650,550)"/>
- <wire from="(1090,380)" to="(1360,380)"/>
- <wire from="(790,210)" to="(790,320)"/>
- <wire from="(1250,1240)" to="(1260,1240)"/>
- <wire from="(1090,390)" to="(1350,390)"/>
- <wire from="(950,730)" to="(1110,730)"/>
- <wire from="(410,400)" to="(420,400)"/>
- <wire from="(1470,1120)" to="(1500,1120)"/>
- <wire from="(1640,420)" to="(1640,530)"/>
- <wire from="(810,1830)" to="(880,1830)"/>
- <wire from="(1090,370)" to="(1370,370)"/>
- <wire from="(680,160)" to="(680,400)"/>
- <wire from="(1320,420)" to="(1320,530)"/>
- <wire from="(850,840)" to="(860,840)"/>
- <wire from="(1210,750)" to="(1420,750)"/>
- <wire from="(1630,410)" to="(1630,510)"/>
- <comp lib="1" loc="(810,1830)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="4"/>
- </comp>
- <comp lib="0" loc="(830,1790)" name="Constant">
- <a name="width" val="24"/>
- <a name="value" val="0x80050"/>
- </comp>
- <comp lib="1" loc="(950,320)" name="Controlled Buffer"/>
- <comp lib="1" loc="(1120,750)" name="Controlled Buffer">
- <a name="width" val="4"/>
- </comp>
- <comp lib="0" loc="(1420,290)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="tristate" val="false"/>
- <a name="label" val="pc_count"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(1280,930)" name="Pin">
- <a name="width" val="8"/>
- <a name="tristate" val="false"/>
- <a name="label" val="stat"/>
- </comp>
- <comp lib="0" loc="(1370,1410)" name="Constant">
- <a name="facing" val="west"/>
- <a name="width" val="4"/>
- <a name="value" val="0xd"/>
- </comp>
- <comp lib="1" loc="(1330,1160)" name="AND Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(970,350)" name="OR Gate">
- <a name="facing" val="north"/>
- <a name="size" val="30"/>
- </comp>
- <comp lib="0" loc="(1080,780)" name="Constant">
- <a name="width" val="4"/>
- </comp>
- <comp lib="1" loc="(1540,1160)" name="AND Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(1330,1410)" name="Controlled Buffer">
- <a name="facing" val="west"/>
- <a name="width" val="4"/>
- </comp>
- <comp lib="0" loc="(1280,930)" name="Splitter">
- <a name="fanout" val="8"/>
- <a name="incoming" val="8"/>
- <a name="appear" val="center"/>
- </comp>
- <comp lib="1" loc="(1420,1160)" name="AND Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(1390,1160)" name="AND Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="0" loc="(1370,1440)" name="Constant">
- <a name="facing" val="west"/>
- <a name="width" val="4"/>
- <a name="value" val="0xc"/>
- </comp>
- <comp lib="1" loc="(1360,1160)" name="AND Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(1810,1360)" name="AND Gate">
- <a name="facing" val="west"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(500,70)" name="Controlled Buffer">
- <a name="width" val="4"/>
- </comp>
- <comp lib="1" loc="(1800,1190)" name="AND Gate">
- <a name="facing" val="west"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="6" loc="(1201,1319)" name="Text">
- <a name="text" val="if not pc count"/>
- </comp>
- <comp lib="0" loc="(1390,1560)" name="Constant">
- <a name="facing" val="west"/>
- <a name="width" val="4"/>
- <a name="value" val="0xb"/>
- </comp>
- <comp lib="1" loc="(1350,1560)" name="Controlled Buffer">
- <a name="facing" val="west"/>
- <a name="width" val="4"/>
- </comp>
- <comp lib="0" loc="(1390,1590)" name="Constant">
- <a name="facing" val="west"/>
- <a name="width" val="4"/>
- <a name="value" val="0xc"/>
- </comp>
- <comp lib="1" loc="(1310,1520)" name="AND Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(1350,1590)" name="Controlled Buffer">
- <a name="facing" val="west"/>
- <a name="width" val="4"/>
- </comp>
- <comp lib="1" loc="(1760,1270)" name="Controlled Buffer">
- <a name="facing" val="west"/>
- <a name="width" val="24"/>
- </comp>
- <comp lib="0" loc="(1800,1270)" name="Constant">
- <a name="facing" val="west"/>
- <a name="width" val="24"/>
- <a name="value" val="0x30"/>
- </comp>
- <comp lib="1" loc="(1130,1490)" name="NOT Gate">
- <a name="facing" val="north"/>
- </comp>
- <comp lib="1" loc="(1050,390)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(1010,390)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="4" loc="(930,130)" name="Register">
- <a name="width" val="16"/>
- </comp>
- <comp lib="1" loc="(970,390)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="0" loc="(1080,750)" name="Constant">
- <a name="width" val="4"/>
- <a name="value" val="0x0"/>
- </comp>
- <comp lib="1" loc="(1030,350)" name="OR Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="0" loc="(820,1570)" name="Constant">
- <a name="width" val="4"/>
- <a name="value" val="0xd"/>
- </comp>
- <comp lib="1" loc="(890,1530)" name="Controlled Buffer">
- <a name="width" val="24"/>
- </comp>
- <comp lib="0" loc="(830,1520)" name="Constant">
- <a name="width" val="24"/>
- <a name="value" val="0x4004a8"/>
- </comp>
- <comp lib="1" loc="(810,1540)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="4"/>
- </comp>
- <comp lib="1" loc="(890,1720)" name="Controlled Buffer">
- <a name="width" val="24"/>
- </comp>
- <comp lib="1" loc="(1290,1370)" name="AND Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="0" loc="(1420,530)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="tristate" val="false"/>
- <a name="label" val="pc_out"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(1420,590)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="tristate" val="false"/>
- <a name="label" val="mar_in"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(1320,1230)" name="AND Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(1470,1230)" name="AND Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(1410,1230)" name="AND Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(1380,1230)" name="AND Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(1440,1230)" name="AND Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(1530,1230)" name="AND Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(1500,1230)" name="AND Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(1350,1230)" name="AND Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="0" loc="(1420,770)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp loc="(700,160)" name="step"/>
- <comp lib="0" loc="(880,200)" name="Pin">
- <a name="facing" val="south"/>
- <a name="output" val="true"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(850,200)" name="Pin">
- <a name="facing" val="south"/>
- <a name="output" val="true"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="2" loc="(150,230)" name="Decoder">
- <a name="facing" val="south"/>
- <a name="select" val="4"/>
- </comp>
- <comp lib="1" loc="(810,860)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="3"/>
- </comp>
- <comp lib="0" loc="(380,160)" name="Splitter">
- <a name="facing" val="north"/>
- <a name="fanout" val="4"/>
- <a name="incoming" val="4"/>
- <a name="appear" val="center"/>
- </comp>
- <comp lib="0" loc="(620,170)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="width" val="4"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(810,1730)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="4"/>
- </comp>
- <comp lib="0" loc="(830,1690)" name="Constant">
- <a name="width" val="24"/>
- <a name="value" val="0x4050"/>
- </comp>
- <comp lib="1" loc="(1120,660)" name="Controlled Buffer">
- <a name="width" val="4"/>
- </comp>
- <comp lib="0" loc="(1080,660)" name="Constant">
- <a name="width" val="4"/>
- <a name="value" val="0x4"/>
- </comp>
- <comp lib="1" loc="(880,360)" name="Controlled Buffer">
- <a name="width" val="24"/>
- </comp>
- <comp lib="1" loc="(810,1480)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="4"/>
- </comp>
- <comp lib="0" loc="(870,200)" name="Pin">
- <a name="facing" val="south"/>
- <a name="output" val="true"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(860,200)" name="Pin">
- <a name="facing" val="south"/>
- <a name="output" val="true"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(1160,200)" name="Pin">
- <a name="facing" val="south"/>
- <a name="output" val="true"/>
- <a name="width" val="4"/>
- <a name="label" val="alu_op"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(340,160)" name="Splitter">
- <a name="facing" val="north"/>
- <a name="fanout" val="4"/>
- <a name="incoming" val="4"/>
- <a name="appear" val="center"/>
- </comp>
- <comp lib="2" loc="(460,230)" name="Decoder">
- <a name="facing" val="south"/>
- <a name="select" val="4"/>
- </comp>
- <comp lib="1" loc="(410,200)" name="Controlled Buffer">
- <a name="width" val="4"/>
- </comp>
- <comp lib="0" loc="(1070,430)" name="Splitter">
- <a name="fanout" val="24"/>
- <a name="incoming" val="24"/>
- <a name="appear" val="center"/>
- </comp>
- <comp lib="0" loc="(850,360)" name="Constant">
- <a name="width" val="24"/>
- <a name="value" val="0x7"/>
- </comp>
- <comp lib="0" loc="(830,1470)" name="Constant">
- <a name="width" val="24"/>
- <a name="value" val="0x400250"/>
- </comp>
- <comp lib="0" loc="(830,1600)" name="Constant">
- <a name="width" val="24"/>
- <a name="value" val="0x3050"/>
- </comp>
- <comp lib="0" loc="(360,120)" name="Splitter">
- <a name="facing" val="south"/>
- <a name="fanout" val="16"/>
- <a name="incoming" val="16"/>
- <a name="appear" val="center"/>
- </comp>
- <comp lib="1" loc="(960,890)" name="OR Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="9"/>
- </comp>
- <comp lib="1" loc="(1330,1440)" name="Controlled Buffer">
- <a name="facing" val="west"/>
- <a name="width" val="4"/>
- </comp>
- <comp lib="0" loc="(420,160)" name="Splitter">
- <a name="facing" val="north"/>
- <a name="fanout" val="4"/>
- <a name="incoming" val="4"/>
- <a name="appear" val="center"/>
- </comp>
- <comp lib="0" loc="(1480,170)" name="Pin">
- <a name="facing" val="north"/>
- <a name="output" val="true"/>
- <a name="width" val="24"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(300,160)" name="Splitter">
- <a name="facing" val="north"/>
- <a name="fanout" val="4"/>
- <a name="incoming" val="4"/>
- <a name="appear" val="center"/>
- </comp>
- <comp lib="0" loc="(620,190)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="width" val="4"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(1090,250)" name="Controlled Buffer">
- <a name="facing" val="west"/>
- <a name="width" val="24"/>
- </comp>
- <comp lib="1" loc="(880,410)" name="Controlled Buffer">
- <a name="width" val="24"/>
- </comp>
- <comp lib="0" loc="(540,120)" name="Pin">
- <a name="facing" val="west"/>
- <a name="width" val="16"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(850,410)" name="Constant">
- <a name="width" val="24"/>
- <a name="value" val="0x40000"/>
- </comp>
- <comp lib="1" loc="(890,1480)" name="Controlled Buffer">
- <a name="width" val="24"/>
- </comp>
- <comp lib="1" loc="(810,1440)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="3"/>
- </comp>
- <comp lib="0" loc="(1420,570)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="tristate" val="false"/>
- <a name="label" val="pc_addr_in"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(810,1920)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="4"/>
- </comp>
- <comp lib="1" loc="(930,390)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="0" loc="(1070,220)" name="Clock">
- <a name="facing" val="north"/>
- </comp>
- <comp lib="1" loc="(810,390)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(880,940)" name="Controlled Buffer">
- <a name="width" val="24"/>
- </comp>
- <comp lib="0" loc="(1420,750)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="label" val="sp_o"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(850,940)" name="Constant">
- <a name="width" val="24"/>
- <a name="value" val="0x20000"/>
- </comp>
- <comp lib="0" loc="(1080,810)" name="Constant">
- <a name="width" val="4"/>
- <a name="value" val="0x2"/>
- </comp>
- <comp lib="1" loc="(1120,810)" name="Controlled Buffer">
- <a name="width" val="4"/>
- </comp>
- <comp lib="1" loc="(810,1330)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="4"/>
- </comp>
- <comp lib="0" loc="(1420,310)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="tristate" val="false"/>
- <a name="label" val="rom_do"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(1420,730)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="label" val="sp_c-"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(660,130)" name="Pin">
- <a name="facing" val="south"/>
- <a name="tristate" val="false"/>
- <a name="label" val="clk"/>
- </comp>
- <comp lib="1" loc="(860,1390)" name="Controlled Buffer">
- <a name="width" val="24"/>
- </comp>
- <comp lib="0" loc="(820,1390)" name="Constant">
- <a name="width" val="24"/>
- <a name="value" val="0x30"/>
- </comp>
- <comp lib="1" loc="(810,960)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="3"/>
- </comp>
- <comp lib="1" loc="(1000,1550)" name="OR Gate">
- <a name="facing" val="west"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="0" loc="(850,890)" name="Constant">
- <a name="width" val="24"/>
- <a name="value" val="0x8350"/>
- </comp>
- <comp lib="1" loc="(500,30)" name="Controlled Buffer">
- <a name="width" val="4"/>
- </comp>
- <comp lib="1" loc="(890,1430)" name="Controlled Buffer">
- <a name="width" val="24"/>
- </comp>
- <comp lib="0" loc="(830,1880)" name="Constant">
- <a name="width" val="24"/>
- <a name="value" val="0x54"/>
- </comp>
- <comp lib="0" loc="(1080,630)" name="Constant">
- <a name="width" val="4"/>
- <a name="value" val="0x3"/>
- </comp>
- <comp lib="1" loc="(890,1910)" name="Controlled Buffer">
- <a name="width" val="24"/>
- </comp>
- <comp lib="1" loc="(1120,630)" name="Controlled Buffer">
- <a name="width" val="4"/>
- </comp>
- <comp lib="1" loc="(1120,600)" name="Controlled Buffer">
- <a name="width" val="4"/>
- </comp>
- <comp lib="0" loc="(850,840)" name="Constant">
- <a name="width" val="24"/>
- <a name="value" val="0x20020"/>
- </comp>
- <comp lib="0" loc="(1080,600)" name="Constant">
- <a name="width" val="4"/>
- <a name="value" val="0x8"/>
- </comp>
- <comp lib="1" loc="(810,1250)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="3"/>
- </comp>
- <comp lib="0" loc="(850,1040)" name="Constant">
- <a name="width" val="24"/>
- <a name="value" val="0x200000"/>
- </comp>
- <comp lib="1" loc="(810,1060)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="3"/>
- </comp>
- <comp lib="0" loc="(1420,430)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="tristate" val="false"/>
- <a name="label" val="reg_do"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(880,1130)" name="Controlled Buffer">
- <a name="width" val="24"/>
- </comp>
- <comp lib="1" loc="(400,390)" name="Controlled Buffer">
- <a name="facing" val="north"/>
- <a name="width" val="4"/>
- </comp>
- <comp lib="0" loc="(1800,1310)" name="Constant">
- <a name="facing" val="west"/>
- <a name="width" val="24"/>
- <a name="value" val="0x3050"/>
- </comp>
- <comp lib="0" loc="(850,1130)" name="Constant">
- <a name="width" val="24"/>
- <a name="value" val="0x3050"/>
- </comp>
- <comp lib="1" loc="(890,1990)" name="Controlled Buffer">
- <a name="width" val="24"/>
- </comp>
- <comp lib="1" loc="(810,910)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="3"/>
- </comp>
- <comp lib="4" loc="(1090,180)" name="Register">
- <a name="width" val="24"/>
- </comp>
- <comp lib="1" loc="(1760,1310)" name="Controlled Buffer">
- <a name="facing" val="west"/>
- <a name="width" val="24"/>
- </comp>
- <comp lib="1" loc="(880,890)" name="Controlled Buffer">
- <a name="width" val="24"/>
- </comp>
- <comp lib="0" loc="(1420,410)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="tristate" val="false"/>
- <a name="label" val="reg_w"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(880,840)" name="Controlled Buffer">
- <a name="width" val="24"/>
- </comp>
- <comp lib="1" loc="(880,1040)" name="Controlled Buffer">
- <a name="width" val="24"/>
- </comp>
- <comp lib="1" loc="(860,440)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="3"/>
- </comp>
- <comp lib="0" loc="(1100,200)" name="Pin">
- <a name="facing" val="south"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="1" loc="(1000,210)" name="NOT Gate">
- <a name="facing" val="west"/>
- </comp>
- <comp lib="0" loc="(830,2040)" name="Constant">
- <a name="width" val="24"/>
- <a name="value" val="0x200000"/>
- </comp>
- <comp lib="1" loc="(860,1310)" name="Controlled Buffer">
- <a name="width" val="24"/>
- </comp>
- <comp lib="1" loc="(810,2080)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="4"/>
- </comp>
- <comp lib="1" loc="(890,2070)" name="Controlled Buffer">
- <a name="width" val="24"/>
- </comp>
- <comp lib="0" loc="(1420,690)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="label" val="sp_w"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(810,1150)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="3"/>
- </comp>
- <comp lib="0" loc="(830,1960)" name="Constant">
- <a name="width" val="24"/>
- <a name="value" val="0x100000"/>
- </comp>
- <comp lib="1" loc="(810,490)" name="OR Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="9"/>
- </comp>
- <comp lib="0" loc="(1420,710)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="label" val="sp_c+"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(810,2000)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="4"/>
- </comp>
- <comp lib="1" loc="(1280,1220)" name="NOT Gate">
- <a name="facing" val="south"/>
- </comp>
- <comp lib="0" loc="(1080,560)" name="Constant">
- <a name="width" val="4"/>
- <a name="value" val="0x7"/>
- </comp>
- <comp lib="0" loc="(1420,350)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="tristate" val="false"/>
- <a name="label" val="ir_di"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(1250,1220)" name="OR Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="0" loc="(1010,250)" name="Pull Resistor">
- <a name="facing" val="north"/>
- </comp>
- <comp lib="1" loc="(1270,1270)" name="AND Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="0" loc="(1530,510)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1530,330)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1530,470)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1530,610)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1530,570)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1530,590)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1530,530)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1530,550)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="1" loc="(810,2160)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="4"/>
- </comp>
- <comp lib="0" loc="(1420,450)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="tristate" val="false"/>
- <a name="label" val="reg_di"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(890,2150)" name="Controlled Buffer">
- <a name="width" val="24"/>
- </comp>
- <comp lib="1" loc="(840,1280)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="3"/>
- </comp>
- <comp lib="0" loc="(1420,650)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="tristate" val="false"/>
- <a name="label" val="stat_out"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(830,2120)" name="Constant">
- <a name="width" val="24"/>
- <a name="value" val="0x400250"/>
- </comp>
- <comp lib="0" loc="(1420,630)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="tristate" val="false"/>
- <a name="label" val="mar_count"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(350,380)" name="NOT Gate">
- <a name="facing" val="north"/>
- </comp>
- <comp lib="0" loc="(1530,490)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="1" loc="(1130,1530)" name="OR Gate">
- <a name="facing" val="north"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="0" loc="(1530,770)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1530,630)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1530,710)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1530,670)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1530,690)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1530,750)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1530,370)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1530,350)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1530,410)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1810,430)" name="Splitter">
- <a name="facing" val="west"/>
- <a name="fanout" val="24"/>
- <a name="incoming" val="24"/>
- <a name="appear" val="center"/>
- </comp>
- <comp lib="0" loc="(1530,310)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1530,650)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1530,450)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1530,390)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1530,430)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1530,730)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="1" loc="(1000,250)" name="Controlled Buffer">
- <a name="width" val="24"/>
- </comp>
- <comp lib="1" loc="(890,1630)" name="Controlled Buffer">
- <a name="width" val="24"/>
- </comp>
- <comp lib="1" loc="(810,1640)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="4"/>
- </comp>
- <comp lib="1" loc="(960,1550)" name="NOT Gate">
- <a name="facing" val="west"/>
- </comp>
- <comp lib="1" loc="(1120,560)" name="Controlled Buffer">
- <a name="width" val="4"/>
- </comp>
- <comp lib="0" loc="(1080,720)" name="Constant">
- <a name="width" val="4"/>
- <a name="value" val="0x6"/>
- </comp>
- <comp lib="1" loc="(1120,720)" name="Controlled Buffer">
- <a name="width" val="4"/>
- </comp>
- <comp lib="0" loc="(830,2210)" name="Constant">
- <a name="width" val="24"/>
- <a name="value" val="0x10000"/>
- </comp>
- <comp lib="0" loc="(1420,470)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="tristate" val="false"/>
- <a name="label" val="ram_addr"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(1420,670)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="label" val="alu_op_in"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(1420,370)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="tristate" val="false"/>
- <a name="label" val="reg_e"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(1420,490)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="tristate" val="false"/>
- <a name="label" val="ram_di"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(1420,330)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="tristate" val="false"/>
- <a name="label" val="rom_addr"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(1420,510)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="tristate" val="false"/>
- <a name="label" val="ram_do"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(1420,390)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="tristate" val="false"/>
- <a name="label" val="reg_r"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(1420,610)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="tristate" val="false"/>
- <a name="label" val="mar_out"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(1450,1160)" name="AND Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(1120,780)" name="Controlled Buffer">
- <a name="width" val="4"/>
- </comp>
- <comp lib="1" loc="(1510,1160)" name="AND Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="0" loc="(1420,550)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="tristate" val="false"/>
- <a name="label" val="pc_w_addr"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(1480,1160)" name="AND Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(810,2250)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="4"/>
- </comp>
- <comp lib="1" loc="(960,280)" name="NOT Gate"/>
- <comp lib="1" loc="(890,2240)" name="Controlled Buffer">
- <a name="width" val="24"/>
- </comp>
- <comp lib="1" loc="(1120,690)" name="Controlled Buffer">
- <a name="width" val="4"/>
- </comp>
- <comp lib="0" loc="(1080,690)" name="Constant">
- <a name="width" val="4"/>
- <a name="value" val="0x5"/>
- </comp>
- <comp lib="1" loc="(890,1820)" name="Controlled Buffer">
- <a name="width" val="24"/>
- </comp>
- </circuit>
- <circuit name="multi-reg">
- <a name="circuit" val="multi-reg"/>
- <a name="clabel" val=""/>
- <a name="clabelup" val="east"/>
- <a name="clabelfont" val="SansSerif plain 12"/>
- <appear>
- <path d="M61,51 Q65,61 69,51" fill="none" stroke="#808080" stroke-width="2"/>
- <rect fill="none" height="152" stroke="#000000" stroke-width="2" width="151" x="50" y="50"/>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="185" y="64">w</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="179" y="93">addr</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="186" y="123">r</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="180" y="153">addr</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="64" y="194">clk</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="62" y="172">z</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="62" y="74">di</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="65" y="103">do</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="89" y="61">e</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="126" y="127">reg</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="190" y="182">i</text>
- <circ-port height="8" pin="1410,20" width="8" x="196" y="56"/>
- <circ-port height="8" pin="1410,40" width="8" x="196" y="86"/>
- <circ-port height="10" pin="1240,100" width="10" x="45" y="95"/>
- <circ-port height="8" pin="1580,150" width="8" x="196" y="116"/>
- <circ-port height="8" pin="1300,190" width="8" x="46" y="166"/>
- <circ-port height="8" pin="1340,210" width="8" x="46" y="186"/>
- <circ-port height="8" pin="1560,260" width="8" x="196" y="146"/>
- <circ-port height="8" pin="1210,40" width="8" x="46" y="66"/>
- <circ-port height="10" pin="390,40" width="10" x="105" y="185"/>
- <circ-port height="10" pin="530,40" width="10" x="125" y="185"/>
- <circ-port height="8" pin="610,20" width="8" x="146" y="186"/>
- <circ-port height="8" pin="1170,70" width="8" x="96" y="46"/>
- <circ-port height="8" pin="1710,680" width="8" x="186" y="186"/>
- <circ-port height="8" pin="590,150" width="8" x="86" y="186"/>
- <circ-port height="8" pin="1000,540" width="8" x="116" y="46"/>
- <circ-port height="8" pin="880,540" width="8" x="136" y="46"/>
- <circ-port height="10" pin="700,60" width="10" x="165" y="185"/>
- <circ-anchor facing="east" height="6" width="6" x="197" y="57"/>
- </appear>
- <wire from="(1260,350)" to="(1260,820)"/>
- <wire from="(170,570)" to="(220,570)"/>
- <wire from="(320,160)" to="(320,170)"/>
- <wire from="(310,630)" to="(310,640)"/>
- <wire from="(1260,150)" to="(1580,150)"/>
- <wire from="(350,190)" to="(350,220)"/>
- <wire from="(340,660)" to="(340,690)"/>
- <wire from="(990,540)" to="(990,620)"/>
- <wire from="(1100,300)" to="(1100,350)"/>
- <wire from="(1090,770)" to="(1090,820)"/>
- <wire from="(730,570)" to="(730,610)"/>
- <wire from="(670,60)" to="(670,170)"/>
- <wire from="(250,820)" to="(390,820)"/>
- <wire from="(980,930)" to="(1430,930)"/>
- <wire from="(1080,150)" to="(1080,250)"/>
- <wire from="(1070,620)" to="(1070,720)"/>
- <wire from="(1380,40)" to="(1410,40)"/>
- <wire from="(180,910)" to="(320,910)"/>
- <wire from="(650,100)" to="(790,100)"/>
- <wire from="(770,220)" to="(910,220)"/>
- <wire from="(760,210)" to="(900,210)"/>
- <wire from="(760,690)" to="(900,690)"/>
- <wire from="(750,680)" to="(890,680)"/>
- <wire from="(1180,190)" to="(1180,210)"/>
- <wire from="(1170,660)" to="(1170,680)"/>
- <wire from="(750,300)" to="(750,440)"/>
- <wire from="(740,770)" to="(740,910)"/>
- <wire from="(510,160)" to="(510,170)"/>
- <wire from="(500,630)" to="(500,640)"/>
- <wire from="(780,300)" to="(780,390)"/>
- <wire from="(770,770)" to="(770,860)"/>
- <wire from="(120,220)" to="(350,220)"/>
- <wire from="(110,210)" to="(340,210)"/>
- <wire from="(310,150)" to="(310,250)"/>
- <wire from="(300,620)" to="(300,720)"/>
- <wire from="(1200,170)" to="(1210,170)"/>
- <wire from="(1190,640)" to="(1200,640)"/>
- <wire from="(930,100)" to="(930,140)"/>
- <wire from="(920,570)" to="(920,610)"/>
- <wire from="(490,880)" to="(1610,880)"/>
- <wire from="(690,210)" to="(760,210)"/>
- <wire from="(1230,820)" to="(1260,820)"/>
- <wire from="(780,390)" to="(1550,390)"/>
- <wire from="(880,170)" to="(890,170)"/>
- <wire from="(690,140)" to="(700,140)"/>
- <wire from="(880,100)" to="(930,100)"/>
- <wire from="(1020,160)" to="(1020,170)"/>
- <wire from="(1010,630)" to="(1010,640)"/>
- <wire from="(430,300)" to="(430,500)"/>
- <wire from="(420,770)" to="(420,970)"/>
- <wire from="(1040,660)" to="(1040,690)"/>
- <wire from="(1280,260)" to="(1380,260)"/>
- <wire from="(1050,190)" to="(1050,220)"/>
- <wire from="(1150,640)" to="(1150,710)"/>
- <wire from="(790,100)" to="(880,100)"/>
- <wire from="(320,100)" to="(320,140)"/>
- <wire from="(310,570)" to="(310,610)"/>
- <wire from="(660,150)" to="(660,250)"/>
- <wire from="(650,620)" to="(650,720)"/>
- <wire from="(350,220)" to="(490,220)"/>
- <wire from="(340,210)" to="(480,210)"/>
- <wire from="(340,690)" to="(480,690)"/>
- <wire from="(330,680)" to="(470,680)"/>
- <wire from="(280,980)" to="(1380,980)"/>
- <wire from="(680,300)" to="(680,350)"/>
- <wire from="(670,770)" to="(670,820)"/>
- <wire from="(890,440)" to="(1030,440)"/>
- <wire from="(880,910)" to="(1020,910)"/>
- <wire from="(960,350)" to="(1100,350)"/>
- <wire from="(950,820)" to="(1090,820)"/>
- <wire from="(1280,260)" to="(1280,300)"/>
- <wire from="(730,150)" to="(740,150)"/>
- <wire from="(600,20)" to="(610,20)"/>
- <wire from="(1330,20)" to="(1330,170)"/>
- <wire from="(1150,710)" to="(1710,710)"/>
- <wire from="(1130,300)" to="(1130,450)"/>
- <wire from="(1120,770)" to="(1120,920)"/>
- <wire from="(390,40)" to="(390,170)"/>
- <wire from="(330,300)" to="(330,440)"/>
- <wire from="(320,770)" to="(320,910)"/>
- <wire from="(1170,440)" to="(1270,440)"/>
- <wire from="(1210,160)" to="(1210,170)"/>
- <wire from="(1200,630)" to="(1200,640)"/>
- <wire from="(570,490)" to="(1320,490)"/>
- <wire from="(760,190)" to="(760,210)"/>
- <wire from="(750,660)" to="(750,680)"/>
- <wire from="(1390,320)" to="(1390,970)"/>
- <wire from="(1310,320)" to="(1310,500)"/>
- <wire from="(1610,320)" to="(1610,880)"/>
- <wire from="(910,850)" to="(1640,850)"/>
- <wire from="(1010,150)" to="(1010,250)"/>
- <wire from="(1000,620)" to="(1000,720)"/>
- <wire from="(510,100)" to="(510,140)"/>
- <wire from="(500,570)" to="(500,610)"/>
- <wire from="(850,540)" to="(880,540)"/>
- <wire from="(1210,100)" to="(1240,100)"/>
- <wire from="(460,170)" to="(470,170)"/>
- <wire from="(450,640)" to="(460,640)"/>
- <wire from="(120,690)" to="(200,690)"/>
- <wire from="(110,680)" to="(190,680)"/>
- <wire from="(1420,320)" to="(1420,940)"/>
- <wire from="(990,540)" to="(1000,540)"/>
- <wire from="(780,170)" to="(790,170)"/>
- <wire from="(360,300)" to="(360,420)"/>
- <wire from="(770,640)" to="(780,640)"/>
- <wire from="(350,770)" to="(350,890)"/>
- <wire from="(1340,320)" to="(1340,470)"/>
- <wire from="(600,160)" to="(600,170)"/>
- <wire from="(590,630)" to="(590,640)"/>
- <wire from="(460,100)" to="(510,100)"/>
- <wire from="(450,570)" to="(500,570)"/>
- <wire from="(1640,320)" to="(1640,850)"/>
- <wire from="(1530,320)" to="(1530,410)"/>
- <wire from="(1200,360)" to="(1580,360)"/>
- <wire from="(630,190)" to="(630,220)"/>
- <wire from="(620,660)" to="(620,690)"/>
- <wire from="(370,100)" to="(460,100)"/>
- <wire from="(360,570)" to="(450,570)"/>
- <wire from="(1050,220)" to="(1190,220)"/>
- <wire from="(1040,690)" to="(1180,690)"/>
- <wire from="(1020,100)" to="(1020,140)"/>
- <wire from="(230,620)" to="(230,720)"/>
- <wire from="(1010,570)" to="(1010,610)"/>
- <wire from="(1560,320)" to="(1560,380)"/>
- <wire from="(700,950)" to="(1410,950)"/>
- <wire from="(470,440)" to="(610,440)"/>
- <wire from="(460,910)" to="(600,910)"/>
- <wire from="(620,210)" to="(690,210)"/>
- <wire from="(250,770)" to="(250,820)"/>
- <wire from="(1040,210)" to="(1180,210)"/>
- <wire from="(1030,680)" to="(1170,680)"/>
- <wire from="(540,350)" to="(680,350)"/>
- <wire from="(530,820)" to="(670,820)"/>
- <wire from="(1030,300)" to="(1030,440)"/>
- <wire from="(1020,770)" to="(1020,910)"/>
- <wire from="(790,160)" to="(790,170)"/>
- <wire from="(780,630)" to="(780,640)"/>
- <wire from="(860,710)" to="(860,720)"/>
- <wire from="(1380,40)" to="(1380,260)"/>
- <wire from="(340,190)" to="(340,210)"/>
- <wire from="(330,660)" to="(330,680)"/>
- <wire from="(1060,300)" to="(1060,370)"/>
- <wire from="(1050,770)" to="(1050,840)"/>
- <wire from="(990,460)" to="(1350,460)"/>
- <wire from="(210,900)" to="(1590,900)"/>
- <wire from="(1160,170)" to="(1170,170)"/>
- <wire from="(1150,640)" to="(1160,640)"/>
- <wire from="(370,170)" to="(390,170)"/>
- <wire from="(580,620)" to="(580,720)"/>
- <wire from="(850,640)" to="(880,640)"/>
- <wire from="(500,410)" to="(1530,410)"/>
- <wire from="(360,170)" to="(370,170)"/>
- <wire from="(350,640)" to="(360,640)"/>
- <wire from="(1210,100)" to="(1210,140)"/>
- <wire from="(1200,570)" to="(1200,610)"/>
- <wire from="(710,300)" to="(710,480)"/>
- <wire from="(700,770)" to="(700,950)"/>
- <wire from="(170,630)" to="(170,640)"/>
- <wire from="(200,660)" to="(200,690)"/>
- <wire from="(1150,570)" to="(1200,570)"/>
- <wire from="(1160,100)" to="(1210,100)"/>
- <wire from="(590,570)" to="(590,610)"/>
- <wire from="(850,540)" to="(850,640)"/>
- <wire from="(940,150)" to="(940,250)"/>
- <wire from="(930,620)" to="(930,720)"/>
- <wire from="(510,100)" to="(650,100)"/>
- <wire from="(1060,570)" to="(1150,570)"/>
- <wire from="(1070,100)" to="(1160,100)"/>
- <wire from="(1490,300)" to="(1510,300)"/>
- <wire from="(960,300)" to="(960,350)"/>
- <wire from="(950,770)" to="(950,820)"/>
- <wire from="(630,220)" to="(770,220)"/>
- <wire from="(610,680)" to="(750,680)"/>
- <wire from="(620,690)" to="(760,690)"/>
- <wire from="(610,300)" to="(610,440)"/>
- <wire from="(600,770)" to="(600,910)"/>
- <wire from="(1210,40)" to="(1210,60)"/>
- <wire from="(290,510)" to="(1300,510)"/>
- <wire from="(370,160)" to="(370,170)"/>
- <wire from="(360,630)" to="(360,640)"/>
- <wire from="(1120,920)" to="(1440,920)"/>
- <wire from="(1270,170)" to="(1330,170)"/>
- <wire from="(1040,190)" to="(1040,210)"/>
- <wire from="(1030,660)" to="(1030,680)"/>
- <wire from="(990,620)" to="(990,640)"/>
- <wire from="(790,100)" to="(790,140)"/>
- <wire from="(780,570)" to="(780,610)"/>
- <wire from="(1330,20)" to="(1410,20)"/>
- <wire from="(1060,170)" to="(1070,170)"/>
- <wire from="(160,620)" to="(160,720)"/>
- <wire from="(1050,640)" to="(1060,640)"/>
- <wire from="(630,870)" to="(1620,870)"/>
- <wire from="(640,300)" to="(640,400)"/>
- <wire from="(630,770)" to="(630,870)"/>
- <wire from="(730,640)" to="(740,640)"/>
- <wire from="(740,170)" to="(750,170)"/>
- <wire from="(1160,910)" to="(1270,910)"/>
- <wire from="(1380,320)" to="(1380,980)"/>
- <wire from="(730,570)" to="(780,570)"/>
- <wire from="(1270,440)" to="(1270,910)"/>
- <wire from="(880,160)" to="(880,170)"/>
- <wire from="(920,380)" to="(1560,380)"/>
- <wire from="(910,190)" to="(910,220)"/>
- <wire from="(900,660)" to="(900,690)"/>
- <wire from="(130,100)" to="(130,570)"/>
- <wire from="(290,300)" to="(290,510)"/>
- <wire from="(280,770)" to="(280,980)"/>
- <wire from="(1260,150)" to="(1260,350)"/>
- <wire from="(1600,320)" to="(1600,890)"/>
- <wire from="(520,150)" to="(520,250)"/>
- <wire from="(1410,320)" to="(1410,950)"/>
- <wire from="(170,570)" to="(170,610)"/>
- <wire from="(510,620)" to="(510,720)"/>
- <wire from="(640,570)" to="(730,570)"/>
- <wire from="(1300,320)" to="(1300,510)"/>
- <wire from="(420,970)" to="(1390,970)"/>
- <wire from="(1180,210)" to="(1340,210)"/>
- <wire from="(1170,70)" to="(1200,70)"/>
- <wire from="(200,690)" to="(340,690)"/>
- <wire from="(190,680)" to="(330,680)"/>
- <wire from="(820,350)" to="(960,350)"/>
- <wire from="(810,820)" to="(950,820)"/>
- <wire from="(540,300)" to="(540,350)"/>
- <wire from="(530,770)" to="(530,820)"/>
- <wire from="(750,440)" to="(890,440)"/>
- <wire from="(740,910)" to="(880,910)"/>
- <wire from="(1630,320)" to="(1630,860)"/>
- <wire from="(1440,320)" to="(1440,920)"/>
- <wire from="(180,770)" to="(180,910)"/>
- <wire from="(120,220)" to="(120,690)"/>
- <wire from="(110,210)" to="(110,680)"/>
- <wire from="(1070,160)" to="(1070,170)"/>
- <wire from="(1060,630)" to="(1060,640)"/>
- <wire from="(620,190)" to="(620,210)"/>
- <wire from="(610,660)" to="(610,680)"/>
- <wire from="(710,480)" to="(1330,480)"/>
- <wire from="(740,150)" to="(740,170)"/>
- <wire from="(650,170)" to="(670,170)"/>
- <wire from="(1660,320)" to="(1660,830)"/>
- <wire from="(870,150)" to="(870,250)"/>
- <wire from="(370,100)" to="(370,140)"/>
- <wire from="(360,570)" to="(360,610)"/>
- <wire from="(990,300)" to="(990,460)"/>
- <wire from="(980,770)" to="(980,930)"/>
- <wire from="(320,170)" to="(330,170)"/>
- <wire from="(310,640)" to="(320,640)"/>
- <wire from="(1520,320)" to="(1520,420)"/>
- <wire from="(1330,320)" to="(1330,480)"/>
- <wire from="(1050,840)" to="(1650,840)"/>
- <wire from="(1490,260)" to="(1490,300)"/>
- <wire from="(640,170)" to="(650,170)"/>
- <wire from="(630,640)" to="(640,640)"/>
- <wire from="(210,770)" to="(210,900)"/>
- <wire from="(320,100)" to="(370,100)"/>
- <wire from="(310,570)" to="(360,570)"/>
- <wire from="(460,160)" to="(460,170)"/>
- <wire from="(450,630)" to="(450,640)"/>
- <wire from="(1290,190)" to="(1290,220)"/>
- <wire from="(1550,320)" to="(1550,390)"/>
- <wire from="(1360,320)" to="(1360,450)"/>
- <wire from="(490,190)" to="(490,220)"/>
- <wire from="(480,660)" to="(480,690)"/>
- <wire from="(1240,300)" to="(1240,350)"/>
- <wire from="(1230,770)" to="(1230,820)"/>
- <wire from="(970,620)" to="(990,620)"/>
- <wire from="(990,640)" to="(1010,640)"/>
- <wire from="(880,100)" to="(880,140)"/>
- <wire from="(220,570)" to="(310,570)"/>
- <wire from="(1280,300)" to="(1290,300)"/>
- <wire from="(1490,260)" to="(1560,260)"/>
- <wire from="(1580,320)" to="(1580,360)"/>
- <wire from="(330,440)" to="(470,440)"/>
- <wire from="(320,910)" to="(460,910)"/>
- <wire from="(840,940)" to="(1420,940)"/>
- <wire from="(400,350)" to="(540,350)"/>
- <wire from="(390,820)" to="(530,820)"/>
- <wire from="(1220,150)" to="(1220,250)"/>
- <wire from="(1210,620)" to="(1210,720)"/>
- <wire from="(780,570)" to="(920,570)"/>
- <wire from="(910,220)" to="(1050,220)"/>
- <wire from="(900,210)" to="(1040,210)"/>
- <wire from="(890,680)" to="(1030,680)"/>
- <wire from="(900,690)" to="(1040,690)"/>
- <wire from="(890,300)" to="(890,440)"/>
- <wire from="(880,770)" to="(880,910)"/>
- <wire from="(650,160)" to="(650,170)"/>
- <wire from="(640,630)" to="(640,640)"/>
- <wire from="(1210,80)" to="(1210,100)"/>
- <wire from="(1130,450)" to="(1360,450)"/>
- <wire from="(1190,220)" to="(1290,220)"/>
- <wire from="(190,660)" to="(190,680)"/>
- <wire from="(350,890)" to="(1600,890)"/>
- <wire from="(920,300)" to="(920,380)"/>
- <wire from="(910,770)" to="(910,850)"/>
- <wire from="(450,150)" to="(450,250)"/>
- <wire from="(440,620)" to="(440,720)"/>
- <wire from="(210,640)" to="(220,640)"/>
- <wire from="(570,300)" to="(570,490)"/>
- <wire from="(560,770)" to="(560,960)"/>
- <wire from="(640,400)" to="(1540,400)"/>
- <wire from="(1070,100)" to="(1070,140)"/>
- <wire from="(1060,570)" to="(1060,610)"/>
- <wire from="(1020,170)" to="(1030,170)"/>
- <wire from="(1010,640)" to="(1020,640)"/>
- <wire from="(1020,100)" to="(1070,100)"/>
- <wire from="(1010,570)" to="(1060,570)"/>
- <wire from="(1190,190)" to="(1190,220)"/>
- <wire from="(1180,660)" to="(1180,690)"/>
- <wire from="(1150,630)" to="(1150,640)"/>
- <wire from="(1160,160)" to="(1160,170)"/>
- <wire from="(1100,350)" to="(1240,350)"/>
- <wire from="(1090,820)" to="(1230,820)"/>
- <wire from="(800,150)" to="(800,250)"/>
- <wire from="(930,100)" to="(1020,100)"/>
- <wire from="(790,620)" to="(790,720)"/>
- <wire from="(920,570)" to="(1010,570)"/>
- <wire from="(460,100)" to="(460,140)"/>
- <wire from="(450,570)" to="(450,610)"/>
- <wire from="(140,990)" to="(1370,990)"/>
- <wire from="(490,220)" to="(630,220)"/>
- <wire from="(480,210)" to="(620,210)"/>
- <wire from="(480,690)" to="(620,690)"/>
- <wire from="(470,680)" to="(610,680)"/>
- <wire from="(1030,440)" to="(1170,440)"/>
- <wire from="(1020,910)" to="(1160,910)"/>
- <wire from="(820,300)" to="(820,350)"/>
- <wire from="(810,770)" to="(810,820)"/>
- <wire from="(1240,350)" to="(1260,350)"/>
- <wire from="(130,100)" to="(320,100)"/>
- <wire from="(1710,680)" to="(1710,710)"/>
- <wire from="(220,630)" to="(220,640)"/>
- <wire from="(1370,320)" to="(1370,990)"/>
- <wire from="(530,40)" to="(530,170)"/>
- <wire from="(470,300)" to="(470,440)"/>
- <wire from="(460,770)" to="(460,910)"/>
- <wire from="(430,500)" to="(1310,500)"/>
- <wire from="(900,190)" to="(900,210)"/>
- <wire from="(890,660)" to="(890,680)"/>
- <wire from="(650,100)" to="(650,140)"/>
- <wire from="(640,570)" to="(640,610)"/>
- <wire from="(770,860)" to="(1630,860)"/>
- <wire from="(670,60)" to="(700,60)"/>
- <wire from="(500,300)" to="(500,410)"/>
- <wire from="(490,770)" to="(490,880)"/>
- <wire from="(1140,620)" to="(1140,720)"/>
- <wire from="(1150,150)" to="(1150,250)"/>
- <wire from="(920,170)" to="(930,170)"/>
- <wire from="(910,640)" to="(920,640)"/>
- <wire from="(600,170)" to="(610,170)"/>
- <wire from="(590,640)" to="(600,640)"/>
- <wire from="(730,630)" to="(730,640)"/>
- <wire from="(590,570)" to="(640,570)"/>
- <wire from="(690,140)" to="(690,210)"/>
- <wire from="(1060,370)" to="(1570,370)"/>
- <wire from="(770,190)" to="(770,220)"/>
- <wire from="(760,660)" to="(760,690)"/>
- <wire from="(1400,320)" to="(1400,960)"/>
- <wire from="(1590,320)" to="(1590,900)"/>
- <wire from="(1270,170)" to="(1270,440)"/>
- <wire from="(140,770)" to="(140,990)"/>
- <wire from="(380,150)" to="(380,250)"/>
- <wire from="(370,620)" to="(370,720)"/>
- <wire from="(500,570)" to="(590,570)"/>
- <wire from="(1290,190)" to="(1300,190)"/>
- <wire from="(1200,300)" to="(1200,360)"/>
- <wire from="(1190,770)" to="(1190,830)"/>
- <wire from="(560,960)" to="(1400,960)"/>
- <wire from="(400,300)" to="(400,350)"/>
- <wire from="(390,770)" to="(390,820)"/>
- <wire from="(1430,320)" to="(1430,930)"/>
- <wire from="(1150,570)" to="(1150,610)"/>
- <wire from="(1160,100)" to="(1160,140)"/>
- <wire from="(610,440)" to="(750,440)"/>
- <wire from="(600,910)" to="(740,910)"/>
- <wire from="(680,350)" to="(820,350)"/>
- <wire from="(670,820)" to="(810,820)"/>
- <wire from="(1320,320)" to="(1320,490)"/>
- <wire from="(1620,320)" to="(1620,870)"/>
- <wire from="(930,160)" to="(930,170)"/>
- <wire from="(920,630)" to="(920,640)"/>
- <wire from="(1540,320)" to="(1540,400)"/>
- <wire from="(1650,320)" to="(1650,840)"/>
- <wire from="(480,190)" to="(480,210)"/>
- <wire from="(470,660)" to="(470,680)"/>
- <wire from="(1350,320)" to="(1350,460)"/>
- <wire from="(130,570)" to="(170,570)"/>
- <wire from="(850,470)" to="(1340,470)"/>
- <wire from="(1170,300)" to="(1170,440)"/>
- <wire from="(1160,770)" to="(1160,910)"/>
- <wire from="(1570,320)" to="(1570,370)"/>
- <wire from="(850,300)" to="(850,470)"/>
- <wire from="(840,770)" to="(840,940)"/>
- <wire from="(220,570)" to="(220,610)"/>
- <wire from="(510,170)" to="(530,170)"/>
- <wire from="(720,620)" to="(720,720)"/>
- <wire from="(500,170)" to="(510,170)"/>
- <wire from="(490,640)" to="(500,640)"/>
- <wire from="(600,20)" to="(600,140)"/>
- <wire from="(170,640)" to="(180,640)"/>
- <wire from="(1190,830)" to="(1660,830)"/>
- <wire from="(360,420)" to="(1520,420)"/>
- <comp lib="0" loc="(970,620)" name="Pull Resistor">
- <a name="facing" val="north"/>
- </comp>
- <comp lib="0" loc="(590,150)" name="Pin">
- <a name="tristate" val="false"/>
- <a name="label" val="alu_op_in"/>
- </comp>
- <comp lib="0" loc="(1000,540)" name="Pin">
- <a name="facing" val="west"/>
- <a name="width" val="8"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="1" loc="(450,630)" name="Controlled Buffer">
- <a name="facing" val="south"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(170,630)" name="Controlled Buffer">
- <a name="facing" val="south"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(640,610)" name="Controlled Buffer">
- <a name="facing" val="north"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="4" loc="(350,640)" name="Register">
- <a name="trigger" val="high"/>
- </comp>
- <comp lib="1" loc="(220,610)" name="Controlled Buffer">
- <a name="facing" val="north"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(360,610)" name="Controlled Buffer">
- <a name="facing" val="north"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="0" loc="(1410,40)" name="Pin">
- <a name="facing" val="west"/>
- <a name="width" val="4"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="1" loc="(310,630)" name="Controlled Buffer">
- <a name="facing" val="south"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="2" loc="(1510,300)" name="Decoder">
- <a name="facing" val="south"/>
- <a name="select" val="4"/>
- </comp>
- <comp lib="4" loc="(210,640)" name="Register">
- <a name="trigger" val="high"/>
- </comp>
- <comp lib="1" loc="(370,720)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(300,720)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(730,250)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(720,720)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(1220,250)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(230,720)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="6" loc="(765,141)" name="Text">
- <a name="text" val="rand"/>
- </comp>
- <comp lib="1" loc="(1150,630)" name="Controlled Buffer">
- <a name="facing" val="south"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(1150,250)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(1210,720)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(1070,140)" name="Controlled Buffer">
- <a name="facing" val="north"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(1060,610)" name="Controlled Buffer">
- <a name="facing" val="north"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="6" loc="(480,135)" name="Text">
- <a name="text" val="b"/>
- </comp>
- <comp lib="4" loc="(1060,170)" name="Register">
- <a name="trigger" val="high"/>
- </comp>
- <comp lib="1" loc="(1080,250)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="0" loc="(1340,210)" name="Pin">
- <a name="facing" val="west"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="1" loc="(1020,160)" name="Controlled Buffer">
- <a name="facing" val="south"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(1140,720)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(1010,250)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(1070,720)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(1210,140)" name="Controlled Buffer">
- <a name="facing" val="north"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="4" loc="(1050,640)" name="Register">
- <a name="trigger" val="high"/>
- </comp>
- <comp lib="4" loc="(1200,170)" name="Register">
- <a name="trigger" val="high"/>
- </comp>
- <comp lib="1" loc="(1000,720)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(930,140)" name="Controlled Buffer">
- <a name="facing" val="north"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(1010,630)" name="Controlled Buffer">
- <a name="facing" val="south"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="4" loc="(920,170)" name="Register">
- <a name="trigger" val="high"/>
- </comp>
- <comp lib="4" loc="(1190,640)" name="Register">
- <a name="label" val="immediate"/>
- </comp>
- <comp lib="1" loc="(940,250)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(1200,610)" name="Controlled Buffer">
- <a name="facing" val="north"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(880,160)" name="Controlled Buffer">
- <a name="facing" val="south"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="4" loc="(910,640)" name="Register">
- <a name="trigger" val="falling"/>
- </comp>
- <comp lib="1" loc="(870,250)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(920,610)" name="Controlled Buffer">
- <a name="facing" val="north"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(790,140)" name="Controlled Buffer">
- <a name="facing" val="north"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(930,720)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="6" loc="(1622,157)" name="Text">
- <a name="text" val="read"/>
- </comp>
- <comp lib="1" loc="(780,610)" name="Controlled Buffer">
- <a name="facing" val="north"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="4" loc="(780,170)" name="Register">
- <a name="trigger" val="high"/>
- </comp>
- <comp lib="1" loc="(860,720)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(800,250)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(790,720)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(730,630)" name="Controlled Buffer">
- <a name="facing" val="south"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="4" loc="(770,640)" name="Register">
- <a name="trigger" val="high"/>
- </comp>
- <comp lib="0" loc="(1240,100)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(390,40)" name="Pin">
- <a name="facing" val="south"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(1170,70)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="2" loc="(1290,300)" name="Decoder">
- <a name="facing" val="south"/>
- <a name="select" val="4"/>
- </comp>
- <comp lib="1" loc="(1210,80)" name="Controlled Buffer">
- <a name="facing" val="south"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="0" loc="(1300,190)" name="Pin">
- <a name="facing" val="west"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1410,20)" name="Pin">
- <a name="facing" val="west"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="6" loc="(623,138)" name="Text">
- <a name="text" val="r"/>
- </comp>
- <comp lib="0" loc="(1210,40)" name="Pin">
- <a name="facing" val="south"/>
- <a name="width" val="8"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(1580,150)" name="Pin">
- <a name="facing" val="west"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="1" loc="(660,250)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="0" loc="(1560,260)" name="Pin">
- <a name="facing" val="west"/>
- <a name="width" val="4"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="1" loc="(600,160)" name="Controlled Buffer">
- <a name="facing" val="south"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(510,140)" name="Controlled Buffer">
- <a name="facing" val="north"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(590,250)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(520,250)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="4" loc="(500,170)" name="Register">
- <a name="trigger" val="high"/>
- </comp>
- <comp lib="1" loc="(450,250)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(460,160)" name="Controlled Buffer">
- <a name="facing" val="south"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="4" loc="(640,170)" name="Register">
- <a name="trigger" val="falling"/>
- </comp>
- <comp lib="1" loc="(650,140)" name="Controlled Buffer">
- <a name="facing" val="north"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="0" loc="(880,540)" name="Pin">
- <a name="facing" val="west"/>
- <a name="width" val="8"/>
- <a name="tristate" val="false"/>
- <a name="label" val="?"/>
- </comp>
- <comp lib="4" loc="(360,170)" name="Register">
- <a name="trigger" val="high"/>
- </comp>
- <comp lib="1" loc="(370,140)" name="Controlled Buffer">
- <a name="facing" val="north"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(380,250)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="0" loc="(610,20)" name="Pin">
- <a name="facing" val="west"/>
- <a name="width" val="8"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(530,40)" name="Pin">
- <a name="facing" val="south"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="4" loc="(730,150)" name="Random"/>
- <comp lib="1" loc="(320,160)" name="Controlled Buffer">
- <a name="facing" val="south"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(160,720)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(310,250)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="0" loc="(700,60)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="label" val="rrr"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(590,630)" name="Controlled Buffer">
- <a name="facing" val="south"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(650,720)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="0" loc="(1710,680)" name="Pin">
- <a name="facing" val="south"/>
- <a name="width" val="8"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="6" loc="(1462,20)" name="Text">
- <a name="text" val="write"/>
- </comp>
- <comp lib="1" loc="(500,610)" name="Controlled Buffer">
- <a name="facing" val="north"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(510,720)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(580,720)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(440,720)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="4" loc="(490,640)" name="Register">
- <a name="trigger" val="falling"/>
- </comp>
- <comp lib="4" loc="(630,640)" name="Register">
- <a name="trigger" val="high"/>
- </comp>
- <comp lib="1" loc="(1160,160)" name="Controlled Buffer">
- <a name="facing" val="south"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="6" loc="(342,138)" name="Text">
- <a name="text" val="a"/>
- </comp>
- </circuit>
- <circuit name="computer">
- <a name="circuit" val="computer"/>
- <a name="clabel" val=""/>
- <a name="clabelup" val="east"/>
- <a name="clabelfont" val="SansSerif plain 12"/>
- <appear>
- <path d="M86,51 Q90,61 94,51" fill="none" stroke="#808080" stroke-width="2"/>
- <rect fill="none" height="121" stroke="#000000" stroke-width="2" width="121" x="49" y="50"/>
- <circ-port height="8" pin="780,720" width="8" x="156" y="56"/>
- <circ-port height="10" pin="200,140" width="10" x="55" y="65"/>
- <circ-port height="10" pin="220,140" width="10" x="55" y="75"/>
- <circ-port height="10" pin="240,140" width="10" x="55" y="85"/>
- <circ-port height="10" pin="260,140" width="10" x="55" y="95"/>
- <circ-port height="8" pin="950,610" width="8" x="156" y="156"/>
- <circ-port height="8" pin="1000,740" width="8" x="156" y="146"/>
- <circ-port height="8" pin="40,70" width="8" x="56" y="56"/>
- <circ-port height="8" pin="20,150" width="8" x="66" y="56"/>
- <circ-port height="8" pin="200,80" width="8" x="76" y="56"/>
- <circ-port height="10" pin="830,790" width="10" x="155" y="75"/>
- <circ-port height="10" pin="640,870" width="10" x="105" y="155"/>
- <circ-port height="10" pin="640,890" width="10" x="115" y="155"/>
- <circ-port height="10" pin="640,910" width="10" x="125" y="155"/>
- <circ-port height="10" pin="70,230" width="10" x="55" y="155"/>
- <circ-anchor facing="east" height="6" width="6" x="157" y="57"/>
- </appear>
- <wire from="(820,560)" to="(820,700)"/>
- <wire from="(650,570)" to="(650,580)"/>
- <wire from="(240,140)" to="(240,270)"/>
- <wire from="(520,280)" to="(570,280)"/>
- <wire from="(830,350)" to="(830,360)"/>
- <wire from="(820,420)" to="(820,430)"/>
- <wire from="(900,580)" to="(900,590)"/>
- <wire from="(910,700)" to="(910,770)"/>
- <wire from="(890,640)" to="(950,640)"/>
- <wire from="(490,450)" to="(490,720)"/>
- <wire from="(910,660)" to="(970,660)"/>
- <wire from="(610,40)" to="(670,40)"/>
- <wire from="(350,410)" to="(520,410)"/>
- <wire from="(640,720)" to="(640,750)"/>
- <wire from="(820,430)" to="(860,430)"/>
- <wire from="(380,740)" to="(620,740)"/>
- <wire from="(630,550)" to="(630,580)"/>
- <wire from="(480,440)" to="(720,440)"/>
- <wire from="(690,210)" to="(690,230)"/>
- <wire from="(990,140)" to="(990,220)"/>
- <wire from="(470,110)" to="(470,390)"/>
- <wire from="(400,340)" to="(810,340)"/>
- <wire from="(520,280)" to="(520,320)"/>
- <wire from="(810,200)" to="(830,200)"/>
- <wire from="(450,250)" to="(450,540)"/>
- <wire from="(680,380)" to="(710,380)"/>
- <wire from="(760,700)" to="(790,700)"/>
- <wire from="(1050,580)" to="(1050,830)"/>
- <wire from="(920,620)" to="(950,620)"/>
- <wire from="(400,770)" to="(680,770)"/>
- <wire from="(760,790)" to="(830,790)"/>
- <wire from="(640,750)" to="(640,870)"/>
- <wire from="(140,180)" to="(150,180)"/>
- <wire from="(920,560)" to="(930,560)"/>
- <wire from="(800,200)" to="(810,200)"/>
- <wire from="(530,430)" to="(800,430)"/>
- <wire from="(530,250)" to="(540,250)"/>
- <wire from="(340,530)" to="(410,530)"/>
- <wire from="(730,620)" to="(780,620)"/>
- <wire from="(720,210)" to="(770,210)"/>
- <wire from="(1000,420)" to="(1000,620)"/>
- <wire from="(20,150)" to="(20,160)"/>
- <wire from="(320,50)" to="(370,50)"/>
- <wire from="(1010,180)" to="(1010,210)"/>
- <wire from="(410,330)" to="(710,330)"/>
- <wire from="(820,560)" to="(860,560)"/>
- <wire from="(820,320)" to="(860,320)"/>
- <wire from="(770,180)" to="(770,210)"/>
- <wire from="(410,300)" to="(410,330)"/>
- <wire from="(830,400)" to="(830,420)"/>
- <wire from="(900,630)" to="(900,650)"/>
- <wire from="(510,80)" to="(510,110)"/>
- <wire from="(940,580)" to="(1050,580)"/>
- <wire from="(350,330)" to="(390,330)"/>
- <wire from="(410,480)" to="(820,480)"/>
- <wire from="(800,440)" to="(1010,440)"/>
- <wire from="(630,280)" to="(780,280)"/>
- <wire from="(350,340)" to="(380,340)"/>
- <wire from="(430,350)" to="(430,460)"/>
- <wire from="(300,460)" to="(320,460)"/>
- <wire from="(550,700)" to="(580,700)"/>
- <wire from="(120,120)" to="(140,120)"/>
- <wire from="(580,80)" to="(670,80)"/>
- <wire from="(350,400)" to="(500,400)"/>
- <wire from="(910,600)" to="(920,600)"/>
- <wire from="(320,50)" to="(320,110)"/>
- <wire from="(590,20)" to="(670,20)"/>
- <wire from="(700,50)" to="(780,50)"/>
- <wire from="(490,450)" to="(750,450)"/>
- <wire from="(70,230)" to="(140,230)"/>
- <wire from="(530,380)" to="(540,380)"/>
- <wire from="(580,30)" to="(590,30)"/>
- <wire from="(690,230)" to="(690,240)"/>
- <wire from="(220,140)" to="(220,270)"/>
- <wire from="(850,450)" to="(850,590)"/>
- <wire from="(570,270)" to="(570,280)"/>
- <wire from="(230,440)" to="(230,510)"/>
- <wire from="(810,190)" to="(810,200)"/>
- <wire from="(860,640)" to="(860,650)"/>
- <wire from="(860,320)" to="(860,330)"/>
- <wire from="(440,260)" to="(440,530)"/>
- <wire from="(430,210)" to="(480,210)"/>
- <wire from="(360,620)" to="(410,620)"/>
- <wire from="(430,210)" to="(430,220)"/>
- <wire from="(370,70)" to="(370,80)"/>
- <wire from="(1050,260)" to="(1050,580)"/>
- <wire from="(930,560)" to="(930,780)"/>
- <wire from="(210,520)" to="(770,520)"/>
- <wire from="(730,680)" to="(770,680)"/>
- <wire from="(870,570)" to="(870,600)"/>
- <wire from="(140,160)" to="(140,180)"/>
- <wire from="(750,290)" to="(850,290)"/>
- <wire from="(750,450)" to="(850,450)"/>
- <wire from="(720,420)" to="(820,420)"/>
- <wire from="(510,130)" to="(510,160)"/>
- <wire from="(330,40)" to="(370,40)"/>
- <wire from="(650,270)" to="(650,290)"/>
- <wire from="(620,720)" to="(620,740)"/>
- <wire from="(410,40)" to="(450,40)"/>
- <wire from="(720,420)" to="(720,440)"/>
- <wire from="(810,220)" to="(830,220)"/>
- <wire from="(780,510)" to="(780,620)"/>
- <wire from="(230,750)" to="(640,750)"/>
- <wire from="(300,90)" to="(390,90)"/>
- <wire from="(410,50)" to="(440,50)"/>
- <wire from="(340,60)" to="(370,60)"/>
- <wire from="(260,440)" to="(260,480)"/>
- <wire from="(770,240)" to="(770,470)"/>
- <wire from="(850,230)" to="(850,290)"/>
- <wire from="(370,80)" to="(510,80)"/>
- <wire from="(300,40)" to="(310,40)"/>
- <wire from="(810,220)" to="(810,340)"/>
- <wire from="(750,530)" to="(750,590)"/>
- <wire from="(140,160)" to="(340,160)"/>
- <wire from="(880,620)" to="(890,620)"/>
- <wire from="(950,620)" to="(1000,620)"/>
- <wire from="(740,110)" to="(1050,110)"/>
- <wire from="(440,100)" to="(500,100)"/>
- <wire from="(590,20)" to="(590,30)"/>
- <wire from="(580,10)" to="(580,20)"/>
- <wire from="(600,30)" to="(600,40)"/>
- <wire from="(610,40)" to="(610,50)"/>
- <wire from="(920,590)" to="(920,600)"/>
- <wire from="(850,600)" to="(850,610)"/>
- <wire from="(890,640)" to="(890,650)"/>
- <wire from="(530,100)" to="(530,230)"/>
- <wire from="(220,760)" to="(660,760)"/>
- <wire from="(450,540)" to="(760,540)"/>
- <wire from="(440,530)" to="(750,530)"/>
- <wire from="(760,700)" to="(760,790)"/>
- <wire from="(880,230)" to="(880,260)"/>
- <wire from="(400,560)" to="(400,770)"/>
- <wire from="(390,90)" to="(390,170)"/>
- <wire from="(560,630)" to="(560,660)"/>
- <wire from="(900,680)" to="(900,770)"/>
- <wire from="(720,390)" to="(820,390)"/>
- <wire from="(400,310)" to="(400,340)"/>
- <wire from="(510,250)" to="(510,600)"/>
- <wire from="(950,620)" to="(950,640)"/>
- <wire from="(910,580)" to="(910,600)"/>
- <wire from="(340,440)" to="(340,530)"/>
- <wire from="(230,560)" to="(260,560)"/>
- <wire from="(510,160)" to="(730,160)"/>
- <wire from="(580,40)" to="(600,40)"/>
- <wire from="(760,540)" to="(760,650)"/>
- <wire from="(730,590)" to="(750,590)"/>
- <wire from="(510,170)" to="(720,170)"/>
- <wire from="(220,590)" to="(220,760)"/>
- <wire from="(530,60)" to="(560,60)"/>
- <wire from="(410,620)" to="(410,790)"/>
- <wire from="(790,560)" to="(820,560)"/>
- <wire from="(330,440)" to="(340,440)"/>
- <wire from="(400,140)" to="(990,140)"/>
- <wire from="(520,350)" to="(520,410)"/>
- <wire from="(350,280)" to="(430,280)"/>
- <wire from="(990,220)" to="(1000,220)"/>
- <wire from="(680,230)" to="(690,230)"/>
- <wire from="(550,660)" to="(560,660)"/>
- <wire from="(650,570)" to="(790,570)"/>
- <wire from="(350,290)" to="(420,290)"/>
- <wire from="(200,140)" to="(200,270)"/>
- <wire from="(350,300)" to="(410,300)"/>
- <wire from="(630,270)" to="(630,280)"/>
- <wire from="(940,580)" to="(940,590)"/>
- <wire from="(660,760)" to="(660,890)"/>
- <wire from="(350,310)" to="(400,310)"/>
- <wire from="(350,230)" to="(400,230)"/>
- <wire from="(920,100)" to="(920,490)"/>
- <wire from="(410,30)" to="(530,30)"/>
- <wire from="(390,170)" to="(510,170)"/>
- <wire from="(790,570)" to="(790,700)"/>
- <wire from="(640,910)" to="(700,910)"/>
- <wire from="(800,680)" to="(900,680)"/>
- <wire from="(210,440)" to="(210,520)"/>
- <wire from="(840,640)" to="(840,660)"/>
- <wire from="(1050,110)" to="(1050,260)"/>
- <wire from="(220,590)" to="(260,590)"/>
- <wire from="(880,260)" to="(1050,260)"/>
- <wire from="(450,40)" to="(450,130)"/>
- <wire from="(880,630)" to="(900,630)"/>
- <wire from="(850,600)" to="(870,600)"/>
- <wire from="(480,210)" to="(480,440)"/>
- <wire from="(20,160)" to="(50,160)"/>
- <wire from="(920,590)" to="(940,590)"/>
- <wire from="(540,610)" to="(560,610)"/>
- <wire from="(510,660)" to="(530,660)"/>
- <wire from="(560,630)" to="(580,630)"/>
- <wire from="(710,220)" to="(710,330)"/>
- <wire from="(750,290)" to="(750,450)"/>
- <wire from="(500,100)" to="(500,400)"/>
- <wire from="(390,330)" to="(390,500)"/>
- <wire from="(580,70)" to="(670,70)"/>
- <wire from="(140,180)" to="(140,230)"/>
- <wire from="(600,30)" to="(670,30)"/>
- <wire from="(700,720)" to="(700,910)"/>
- <wire from="(670,490)" to="(800,490)"/>
- <wire from="(40,120)" to="(50,120)"/>
- <wire from="(680,720)" to="(680,770)"/>
- <wire from="(820,180)" to="(830,180)"/>
- <wire from="(880,560)" to="(890,560)"/>
- <wire from="(690,210)" to="(700,210)"/>
- <wire from="(450,130)" to="(510,130)"/>
- <wire from="(490,160)" to="(490,290)"/>
- <wire from="(830,360)" to="(830,370)"/>
- <wire from="(730,160)" to="(730,300)"/>
- <wire from="(550,700)" to="(550,830)"/>
- <wire from="(720,720)" to="(780,720)"/>
- <wire from="(410,150)" to="(970,150)"/>
- <wire from="(430,280)" to="(430,310)"/>
- <wire from="(830,420)" to="(1000,420)"/>
- <wire from="(510,600)" to="(510,620)"/>
- <wire from="(410,530)" to="(410,620)"/>
- <wire from="(1010,230)" to="(1010,440)"/>
- <wire from="(900,180)" to="(1010,180)"/>
- <wire from="(530,60)" to="(530,100)"/>
- <wire from="(340,60)" to="(340,160)"/>
- <wire from="(720,170)" to="(720,210)"/>
- <wire from="(800,200)" to="(800,310)"/>
- <wire from="(690,770)" to="(900,770)"/>
- <wire from="(410,370)" to="(410,480)"/>
- <wire from="(540,650)" to="(570,650)"/>
- <wire from="(580,50)" to="(610,50)"/>
- <wire from="(770,520)" to="(770,680)"/>
- <wire from="(860,650)" to="(890,650)"/>
- <wire from="(970,150)" to="(970,660)"/>
- <wire from="(530,300)" to="(730,300)"/>
- <wire from="(530,100)" to="(920,100)"/>
- <wire from="(440,50)" to="(440,100)"/>
- <wire from="(350,220)" to="(430,220)"/>
- <wire from="(430,620)" to="(510,620)"/>
- <wire from="(790,380)" to="(790,560)"/>
- <wire from="(530,380)" to="(530,430)"/>
- <wire from="(530,300)" to="(530,350)"/>
- <wire from="(690,240)" to="(770,240)"/>
- <wire from="(310,480)" to="(310,550)"/>
- <wire from="(850,590)" to="(900,590)"/>
- <wire from="(840,660)" to="(890,660)"/>
- <wire from="(950,610)" to="(950,620)"/>
- <wire from="(550,830)" to="(1050,830)"/>
- <wire from="(260,140)" to="(260,270)"/>
- <wire from="(880,620)" to="(880,630)"/>
- <wire from="(390,500)" to="(570,500)"/>
- <wire from="(380,490)" to="(560,490)"/>
- <wire from="(260,480)" to="(310,480)"/>
- <wire from="(350,390)" to="(470,390)"/>
- <wire from="(730,380)" to="(790,380)"/>
- <wire from="(300,440)" to="(300,460)"/>
- <wire from="(1000,740)" to="(1000,770)"/>
- <wire from="(380,340)" to="(380,490)"/>
- <wire from="(520,260)" to="(520,280)"/>
- <wire from="(200,80)" to="(370,80)"/>
- <wire from="(530,30)" to="(530,60)"/>
- <wire from="(350,240)" to="(460,240)"/>
- <wire from="(230,510)" to="(780,510)"/>
- <wire from="(350,250)" to="(450,250)"/>
- <wire from="(420,320)" to="(520,320)"/>
- <wire from="(610,270)" to="(610,290)"/>
- <wire from="(830,360)" to="(850,360)"/>
- <wire from="(490,720)" to="(580,720)"/>
- <wire from="(660,720)" to="(660,760)"/>
- <wire from="(350,260)" to="(440,260)"/>
- <wire from="(510,600)" to="(530,600)"/>
- <wire from="(640,890)" to="(660,890)"/>
- <wire from="(490,290)" to="(490,450)"/>
- <wire from="(730,650)" to="(760,650)"/>
- <wire from="(140,120)" to="(140,160)"/>
- <wire from="(320,460)" to="(320,500)"/>
- <wire from="(780,50)" to="(780,280)"/>
- <wire from="(580,10)" to="(670,10)"/>
- <wire from="(580,90)" to="(670,90)"/>
- <wire from="(340,160)" to="(490,160)"/>
- <wire from="(560,490)" to="(560,610)"/>
- <wire from="(460,240)" to="(460,550)"/>
- <wire from="(350,350)" to="(430,350)"/>
- <wire from="(950,640)" to="(950,760)"/>
- <wire from="(300,40)" to="(300,90)"/>
- <wire from="(990,770)" to="(1000,770)"/>
- <wire from="(410,150)" to="(410,210)"/>
- <wire from="(530,230)" to="(540,230)"/>
- <wire from="(350,370)" to="(410,370)"/>
- <wire from="(350,210)" to="(410,210)"/>
- <wire from="(320,500)" to="(380,500)"/>
- <wire from="(430,460)" to="(810,460)"/>
- <wire from="(800,490)" to="(920,490)"/>
- <wire from="(800,430)" to="(800,440)"/>
- <wire from="(430,310)" to="(800,310)"/>
- <wire from="(910,770)" to="(970,770)"/>
- <wire from="(820,320)" to="(820,390)"/>
- <wire from="(860,360)" to="(860,430)"/>
- <wire from="(670,490)" to="(670,580)"/>
- <wire from="(180,780)" to="(930,780)"/>
- <wire from="(460,550)" to="(630,550)"/>
- <wire from="(180,440)" to="(180,780)"/>
- <wire from="(510,170)" to="(510,250)"/>
- <wire from="(420,290)" to="(420,320)"/>
- <wire from="(400,140)" to="(400,230)"/>
- <wire from="(360,560)" to="(400,560)"/>
- <wire from="(510,110)" to="(740,110)"/>
- <wire from="(570,500)" to="(570,650)"/>
- <wire from="(510,620)" to="(510,660)"/>
- <wire from="(490,290)" to="(580,290)"/>
- <wire from="(410,790)" to="(760,790)"/>
- <wire from="(770,180)" to="(800,180)"/>
- <wire from="(550,600)" to="(580,600)"/>
- <wire from="(820,700)" to="(910,700)"/>
- <wire from="(950,760)" to="(980,760)"/>
- <wire from="(650,290)" to="(740,290)"/>
- <wire from="(320,110)" to="(470,110)"/>
- <wire from="(580,60)" to="(670,60)"/>
- <wire from="(40,70)" to="(40,120)"/>
- <wire from="(800,490)" to="(800,680)"/>
- <wire from="(380,500)" to="(380,740)"/>
- <wire from="(690,720)" to="(690,770)"/>
- <wire from="(230,560)" to="(230,750)"/>
- <wire from="(520,350)" to="(530,350)"/>
- <wire from="(740,110)" to="(740,290)"/>
- <comp lib="1" loc="(890,620)" name="NOT Gate">
- <a name="facing" val="west"/>
- </comp>
- <comp lib="4" loc="(680,380)" name="ROM">
- <a name="dataWidth" val="16"/>
- <a name="contents">addr/data: 8 16
- 0 f31 0 f32 200 ffb f32 f31
- f32 2d00 e00
- </a>
- </comp>
- <comp lib="1" loc="(700,50)" name="OR Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="8"/>
- </comp>
- <comp loc="(900,180)" name="program_counter"/>
- <comp lib="1" loc="(720,210)" name="Controlled Buffer">
- <a name="width" val="8"/>
- </comp>
- <comp lib="4" loc="(680,230)" name="RAM">
- <a name="bus" val="separate"/>
- </comp>
- <comp lib="1" loc="(890,660)" name="Controlled Buffer">
- <a name="facing" val="west"/>
- </comp>
- <comp loc="(310,550)" name="8 bit alu"/>
- <comp lib="0" loc="(950,610)" name="Pin">
- <a name="facing" val="south"/>
- <a name="tristate" val="false"/>
- <a name="label" val="ptp"/>
- </comp>
- <comp loc="(350,200)" name="control"/>
- <comp lib="0" loc="(1000,740)" name="Pin">
- <a name="facing" val="south"/>
- <a name="width" val="16"/>
- <a name="tristate" val="false"/>
- <a name="label" val="program"/>
- <a name="labelloc" val="north"/>
- </comp>
- <comp lib="1" loc="(830,370)" name="NOT Gate">
- <a name="facing" val="north"/>
- </comp>
- <comp loc="(730,590)" name="multi-reg"/>
- <comp lib="0" loc="(780,720)" name="Pin">
- <a name="facing" val="west"/>
- <a name="width" val="8"/>
- <a name="tristate" val="false"/>
- <a name="label" val="i"/>
- </comp>
- <comp lib="0" loc="(20,150)" name="Pin">
- <a name="facing" val="south"/>
- <a name="tristate" val="false"/>
- <a name="label" val="t"/>
- </comp>
- <comp lib="1" loc="(530,660)" name="Controlled Buffer">
- <a name="facing" val="west"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(1010,230)" name="Controlled Buffer">
- <a name="facing" val="south"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(850,610)" name="OR Gate">
- <a name="facing" val="north"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(880,560)" name="Controlled Buffer">
- <a name="width" val="16"/>
- </comp>
- <comp lib="1" loc="(550,600)" name="Controlled Buffer">
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(970,770)" name="Controlled Buffer">
- <a name="facing" val="west"/>
- <a name="width" val="16"/>
- </comp>
- <comp lib="1" loc="(530,250)" name="Controlled Buffer">
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(330,40)" name="Controlled Buffer">
- <a name="width" val="8"/>
- </comp>
- <comp loc="(120,140)" name="clk"/>
- <comp lib="0" loc="(200,80)" name="Pin">
- <a name="tristate" val="false"/>
- <a name="label" val="z"/>
- </comp>
- <comp lib="4" loc="(920,560)" name="Register">
- <a name="width" val="16"/>
- <a name="trigger" val="high"/>
- </comp>
- <comp lib="0" loc="(200,140)" name="Pin">
- <a name="facing" val="south"/>
- <a name="output" val="true"/>
- <a name="label" val="t0"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(610,290)" name="NOT Gate"/>
- <comp lib="0" loc="(220,140)" name="Pin">
- <a name="facing" val="south"/>
- <a name="output" val="true"/>
- <a name="label" val="t2"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(260,140)" name="Pin">
- <a name="facing" val="south"/>
- <a name="output" val="true"/>
- <a name="label" val="t3"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(240,140)" name="Pin">
- <a name="facing" val="south"/>
- <a name="output" val="true"/>
- <a name="label" val="t2"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(820,180)" name="Controlled Buffer">
- <a name="width" val="8"/>
- </comp>
- <comp lib="0" loc="(560,60)" name="Splitter">
- <a name="fanout" val="8"/>
- <a name="incoming" val="8"/>
- <a name="appear" val="center"/>
- </comp>
- <comp lib="0" loc="(830,790)" name="Pin">
- <a name="facing" val="north"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="label" val="status"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(70,230)" name="Pin">
- <a name="output" val="true"/>
- <a name="label" val="mc"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(640,910)" name="Pin">
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="label" val="r"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(860,330)" name="AND Gate">
- <a name="facing" val="north"/>
- <a name="size" val="30"/>
- <a name="inputs" val="3"/>
- </comp>
- <comp lib="1" loc="(730,380)" name="Controlled Buffer">
- <a name="width" val="16"/>
- </comp>
- <comp lib="0" loc="(640,890)" name="Pin">
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="label" val="b"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp loc="(410,30)" name="sp"/>
- <comp lib="0" loc="(40,70)" name="Pin">
- <a name="facing" val="south"/>
- <a name="tristate" val="false"/>
- <a name="label" val="c"/>
- </comp>
- <comp lib="0" loc="(640,870)" name="Pin">
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="label" val="a"/>
- <a name="labelloc" val="east"/>
- </comp>
- </circuit>
- <circuit name="test">
- <a name="circuit" val="test"/>
- <a name="clabel" val=""/>
- <a name="clabelup" val="east"/>
- <a name="clabelfont" val="SansSerif plain 12"/>
- <wire from="(190,160)" to="(220,160)"/>
- <wire from="(200,110)" to="(230,110)"/>
- <wire from="(230,100)" to="(230,110)"/>
- <wire from="(200,100)" to="(220,100)"/>
- <wire from="(190,130)" to="(300,130)"/>
- <wire from="(220,80)" to="(300,80)"/>
- <wire from="(190,130)" to="(190,150)"/>
- <wire from="(220,80)" to="(220,100)"/>
- <wire from="(90,100)" to="(100,100)"/>
- <wire from="(100,100)" to="(110,100)"/>
- <wire from="(110,100)" to="(120,100)"/>
- <wire from="(120,100)" to="(130,100)"/>
- <wire from="(230,100)" to="(300,100)"/>
- <comp loc="(200,100)" name="computer"/>
- <comp lib="0" loc="(90,100)" name="Pin">
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(220,160)" name="Pin">
- <a name="facing" val="west"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(300,130)" name="Pin">
- <a name="facing" val="west"/>
- <a name="width" val="16"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(300,80)" name="Pin">
- <a name="facing" val="west"/>
- <a name="width" val="8"/>
- <a name="tristate" val="false"/>
- </comp>
- <comp lib="0" loc="(300,100)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="labelloc" val="east"/>
- </comp>
- </circuit>
- <circuit name="mar">
- <a name="circuit" val="mar"/>
- <a name="clabel" val=""/>
- <a name="clabelup" val="east"/>
- <a name="clabelfont" val="SansSerif plain 12"/>
- <appear>
- <path d="M61,56 Q65,66 69,56" fill="none" stroke="#808080" stroke-width="2"/>
- <rect fill="none" height="76" stroke="#000000" stroke-width="2" width="60" x="50" y="55"/>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="60" y="65">in</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="60" y="84">c</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="61" y="114">clk</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="59" y="124">z</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="99" y="65">o</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="60" y="93">w</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="82" y="95">mar</text>
- <circ-port height="8" pin="40,220" width="8" x="46" y="76"/>
- <circ-port height="8" pin="100,280" width="8" x="46" y="56"/>
- <circ-port height="8" pin="50,370" width="8" x="46" y="86"/>
- <circ-port height="8" pin="40,510" width="8" x="46" y="106"/>
- <circ-port height="8" pin="40,550" width="8" x="46" y="116"/>
- <circ-port height="10" pin="430,380" width="10" x="105" y="55"/>
- <circ-anchor facing="east" height="6" width="6" x="107" y="57"/>
- </appear>
- <wire from="(540,150)" to="(540,290)"/>
- <wire from="(290,150)" to="(290,280)"/>
- <wire from="(310,290)" to="(310,420)"/>
- <wire from="(80,370)" to="(80,440)"/>
- <wire from="(310,290)" to="(360,290)"/>
- <wire from="(250,120)" to="(370,120)"/>
- <wire from="(270,290)" to="(270,310)"/>
- <wire from="(370,120)" to="(370,140)"/>
- <wire from="(370,300)" to="(370,510)"/>
- <wire from="(40,220)" to="(80,220)"/>
- <wire from="(80,250)" to="(120,250)"/>
- <wire from="(200,220)" to="(200,310)"/>
- <wire from="(120,250)" to="(120,340)"/>
- <wire from="(420,280)" to="(460,280)"/>
- <wire from="(500,290)" to="(540,290)"/>
- <wire from="(80,220)" to="(80,250)"/>
- <wire from="(100,280)" to="(260,280)"/>
- <wire from="(50,370)" to="(80,370)"/>
- <wire from="(420,280)" to="(420,380)"/>
- <wire from="(120,340)" to="(150,340)"/>
- <wire from="(80,370)" to="(110,370)"/>
- <wire from="(390,280)" to="(420,280)"/>
- <wire from="(380,150)" to="(540,150)"/>
- <wire from="(280,420)" to="(310,420)"/>
- <wire from="(250,120)" to="(250,220)"/>
- <wire from="(80,440)" to="(230,440)"/>
- <wire from="(40,550)" to="(380,550)"/>
- <wire from="(200,220)" to="(220,220)"/>
- <wire from="(210,410)" to="(230,410)"/>
- <wire from="(420,380)" to="(430,380)"/>
- <wire from="(450,300)" to="(460,300)"/>
- <wire from="(120,220)" to="(200,220)"/>
- <wire from="(210,360)" to="(210,410)"/>
- <wire from="(280,280)" to="(290,280)"/>
- <wire from="(140,370)" to="(150,370)"/>
- <wire from="(200,360)" to="(210,360)"/>
- <wire from="(80,220)" to="(90,220)"/>
- <wire from="(40,510)" to="(370,510)"/>
- <wire from="(200,310)" to="(270,310)"/>
- <wire from="(290,280)" to="(360,280)"/>
- <wire from="(290,150)" to="(360,150)"/>
- <wire from="(380,300)" to="(380,550)"/>
- <comp lib="0" loc="(100,280)" name="Pin">
- <a name="width" val="8"/>
- <a name="tristate" val="false"/>
- <a name="label" val="in"/>
- </comp>
- <comp lib="0" loc="(40,220)" name="Pin">
- <a name="tristate" val="false"/>
- <a name="label" val="c"/>
- </comp>
- <comp lib="1" loc="(140,370)" name="NOT Gate"/>
- <comp lib="1" loc="(280,420)" name="OR Gate"/>
- <comp lib="3" loc="(500,290)" name="Adder"/>
- <comp lib="1" loc="(200,360)" name="AND Gate"/>
- <comp lib="1" loc="(250,220)" name="NOT Gate"/>
- <comp lib="0" loc="(40,550)" name="Pin">
- <a name="tristate" val="false"/>
- <a name="label" val="z"/>
- </comp>
- <comp lib="1" loc="(280,280)" name="Controlled Buffer">
- <a name="width" val="8"/>
- </comp>
- <comp lib="0" loc="(430,380)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="label" val="out"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(120,220)" name="NOT Gate"/>
- <comp lib="1" loc="(360,150)" name="Controlled Buffer">
- <a name="facing" val="west"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="4" loc="(390,280)" name="Register">
- <a name="trigger" val="falling"/>
- </comp>
- <comp lib="0" loc="(450,300)" name="Constant">
- <a name="width" val="8"/>
- </comp>
- <comp lib="0" loc="(40,510)" name="Pin">
- <a name="tristate" val="false"/>
- <a name="label" val="clk"/>
- </comp>
- <comp lib="0" loc="(50,370)" name="Pin">
- <a name="tristate" val="false"/>
- <a name="label" val="w"/>
- </comp>
- </circuit>
- <circuit name="sp">
- <a name="circuit" val="sp"/>
- <a name="clabel" val=""/>
- <a name="clabelup" val="east"/>
- <a name="clabelfont" val="SansSerif plain 12"/>
- <appear>
- <path d="M61,56 Q65,66 69,56" fill="none" stroke="#808080" stroke-width="2"/>
- <rect fill="none" height="52" stroke="#000000" stroke-width="2" width="41" x="50" y="55"/>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="60" y="74">in</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="61" y="85">w</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="80" y="64">o</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="63" y="95">clk</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="61" y="104">z</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="82" y="103">sp</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="81" y="83">+</text>
- <text font-family="SansSerif" font-size="12" text-anchor="middle" x="81" y="73">-</text>
- <circ-port height="8" pin="40,220" width="8" x="86" y="76"/>
- <circ-port height="8" pin="90,280" width="8" x="46" y="66"/>
- <circ-port height="8" pin="50,370" width="8" x="46" y="76"/>
- <circ-port height="8" pin="40,510" width="8" x="46" y="86"/>
- <circ-port height="8" pin="40,550" width="8" x="46" y="96"/>
- <circ-port height="10" pin="430,380" width="10" x="85" y="55"/>
- <circ-port height="8" pin="40,140" width="8" x="86" y="66"/>
- <circ-anchor facing="east" height="6" width="6" x="87" y="57"/>
- </appear>
- <wire from="(290,80)" to="(350,80)"/>
- <wire from="(290,280)" to="(350,280)"/>
- <wire from="(290,80)" to="(290,150)"/>
- <wire from="(500,210)" to="(560,210)"/>
- <wire from="(290,150)" to="(290,280)"/>
- <wire from="(310,290)" to="(310,420)"/>
- <wire from="(80,150)" to="(80,220)"/>
- <wire from="(200,280)" to="(200,290)"/>
- <wire from="(180,420)" to="(230,420)"/>
- <wire from="(240,280)" to="(290,280)"/>
- <wire from="(170,130)" to="(170,150)"/>
- <wire from="(370,300)" to="(370,510)"/>
- <wire from="(450,300)" to="(490,300)"/>
- <wire from="(340,440)" to="(560,440)"/>
- <wire from="(280,420)" to="(310,420)"/>
- <wire from="(250,120)" to="(250,220)"/>
- <wire from="(210,120)" to="(210,220)"/>
- <wire from="(380,530)" to="(400,530)"/>
- <wire from="(80,440)" to="(230,440)"/>
- <wire from="(110,140)" to="(130,140)"/>
- <wire from="(420,380)" to="(430,380)"/>
- <wire from="(180,420)" to="(180,470)"/>
- <wire from="(200,360)" to="(210,360)"/>
- <wire from="(560,440)" to="(560,490)"/>
- <wire from="(470,540)" to="(540,540)"/>
- <wire from="(530,290)" to="(540,290)"/>
- <wire from="(130,140)" to="(130,150)"/>
- <wire from="(250,120)" to="(370,120)"/>
- <wire from="(360,50)" to="(360,70)"/>
- <wire from="(540,510)" to="(540,540)"/>
- <wire from="(40,220)" to="(80,220)"/>
- <wire from="(90,50)" to="(90,140)"/>
- <wire from="(190,120)" to="(190,150)"/>
- <wire from="(420,200)" to="(460,200)"/>
- <wire from="(80,150)" to="(110,150)"/>
- <wire from="(120,220)" to="(210,220)"/>
- <wire from="(450,300)" to="(450,340)"/>
- <wire from="(400,490)" to="(400,530)"/>
- <wire from="(180,300)" to="(200,300)"/>
- <wire from="(210,410)" to="(230,410)"/>
- <wire from="(200,280)" to="(220,280)"/>
- <wire from="(450,220)" to="(460,220)"/>
- <wire from="(320,250)" to="(330,250)"/>
- <wire from="(350,280)" to="(360,280)"/>
- <wire from="(160,130)" to="(170,130)"/>
- <wire from="(140,350)" to="(150,350)"/>
- <wire from="(210,220)" to="(220,220)"/>
- <wire from="(130,290)" to="(200,290)"/>
- <wire from="(160,50)" to="(360,50)"/>
- <wire from="(90,50)" to="(160,50)"/>
- <wire from="(80,370)" to="(80,440)"/>
- <wire from="(60,420)" to="(180,420)"/>
- <wire from="(310,290)" to="(360,290)"/>
- <wire from="(560,80)" to="(560,210)"/>
- <wire from="(370,510)" to="(420,510)"/>
- <wire from="(470,530)" to="(470,540)"/>
- <wire from="(40,140)" to="(90,140)"/>
- <wire from="(180,470)" to="(290,470)"/>
- <wire from="(160,50)" to="(160,130)"/>
- <wire from="(490,510)" to="(490,530)"/>
- <wire from="(150,130)" to="(150,150)"/>
- <wire from="(230,290)" to="(230,310)"/>
- <wire from="(90,280)" to="(130,280)"/>
- <wire from="(350,250)" to="(350,280)"/>
- <wire from="(530,510)" to="(530,530)"/>
- <wire from="(100,320)" to="(200,320)"/>
- <wire from="(50,370)" to="(80,370)"/>
- <wire from="(380,150)" to="(540,150)"/>
- <wire from="(400,530)" to="(420,530)"/>
- <wire from="(180,190)" to="(180,300)"/>
- <wire from="(190,120)" to="(210,120)"/>
- <wire from="(340,260)" to="(340,440)"/>
- <wire from="(150,130)" to="(160,130)"/>
- <wire from="(40,510)" to="(370,510)"/>
- <wire from="(80,220)" to="(90,220)"/>
- <wire from="(60,320)" to="(70,320)"/>
- <wire from="(550,490)" to="(560,490)"/>
- <wire from="(540,150)" to="(540,290)"/>
- <wire from="(370,80)" to="(560,80)"/>
- <wire from="(130,280)" to="(130,290)"/>
- <wire from="(290,440)" to="(340,440)"/>
- <wire from="(110,140)" to="(110,150)"/>
- <wire from="(400,490)" to="(520,490)"/>
- <wire from="(370,120)" to="(370,140)"/>
- <wire from="(380,530)" to="(380,550)"/>
- <wire from="(420,200)" to="(420,280)"/>
- <wire from="(290,440)" to="(290,470)"/>
- <wire from="(490,530)" to="(530,530)"/>
- <wire from="(420,280)" to="(420,380)"/>
- <wire from="(140,190)" to="(140,350)"/>
- <wire from="(80,370)" to="(110,370)"/>
- <wire from="(380,300)" to="(380,530)"/>
- <wire from="(390,280)" to="(420,280)"/>
- <wire from="(460,510)" to="(490,510)"/>
- <wire from="(60,320)" to="(60,420)"/>
- <wire from="(40,550)" to="(380,550)"/>
- <wire from="(210,360)" to="(210,410)"/>
- <wire from="(460,530)" to="(470,530)"/>
- <wire from="(140,370)" to="(150,370)"/>
- <wire from="(420,280)" to="(490,280)"/>
- <wire from="(290,150)" to="(360,150)"/>
- <comp lib="0" loc="(40,140)" name="Pin">
- <a name="tristate" val="false"/>
- <a name="label" val="c-"/>
- </comp>
- <comp lib="1" loc="(140,190)" name="XOR Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="4" loc="(550,490)" name="Counter">
- <a name="width" val="1"/>
- <a name="max" val="0x1"/>
- </comp>
- <comp lib="1" loc="(350,250)" name="Controlled Buffer">
- <a name="width" val="8"/>
- </comp>
- <comp lib="3" loc="(500,210)" name="Subtractor"/>
- <comp lib="4" loc="(460,510)" name="D Flip-Flop"/>
- <comp lib="0" loc="(450,220)" name="Constant">
- <a name="width" val="8"/>
- </comp>
- <comp lib="0" loc="(320,250)" name="Constant">
- <a name="width" val="8"/>
- <a name="value" val="0xff"/>
- </comp>
- <comp lib="0" loc="(40,220)" name="Pin">
- <a name="tristate" val="false"/>
- <a name="label" val="c+"/>
- </comp>
- <comp lib="1" loc="(140,370)" name="NOT Gate"/>
- <comp lib="1" loc="(280,420)" name="OR Gate"/>
- <comp lib="1" loc="(200,360)" name="AND Gate"/>
- <comp lib="1" loc="(180,190)" name="XOR Gate">
- <a name="facing" val="south"/>
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(250,220)" name="NOT Gate"/>
- <comp lib="0" loc="(40,550)" name="Pin">
- <a name="tristate" val="false"/>
- <a name="label" val="z"/>
- </comp>
- <comp lib="1" loc="(230,310)" name="AND Gate">
- <a name="size" val="30"/>
- <a name="inputs" val="2"/>
- </comp>
- <comp lib="1" loc="(240,280)" name="Controlled Buffer">
- <a name="width" val="8"/>
- </comp>
- <comp lib="0" loc="(430,380)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="label" val="out"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="1" loc="(120,220)" name="NOT Gate"/>
- <comp lib="1" loc="(360,150)" name="Controlled Buffer">
- <a name="facing" val="west"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="4" loc="(390,280)" name="Register">
- <a name="trigger" val="falling"/>
- </comp>
- <comp lib="0" loc="(40,510)" name="Pin">
- <a name="tristate" val="false"/>
- <a name="label" val="clk"/>
- </comp>
- <comp lib="0" loc="(50,370)" name="Pin">
- <a name="tristate" val="false"/>
- <a name="label" val="w"/>
- </comp>
- <comp lib="0" loc="(450,340)" name="Constant">
- <a name="width" val="8"/>
- </comp>
- <comp lib="1" loc="(350,80)" name="Controlled Buffer">
- <a name="facing" val="west"/>
- <a name="width" val="8"/>
- </comp>
- <comp lib="3" loc="(530,290)" name="Adder"/>
- <comp lib="1" loc="(100,320)" name="NOT Gate"/>
- <comp lib="0" loc="(90,280)" name="Pin">
- <a name="width" val="8"/>
- <a name="tristate" val="false"/>
- <a name="label" val="in"/>
- </comp>
- </circuit>
- <circuit name="end">
- <a name="circuit" val="end"/>
- <a name="clabel" val=""/>
- <a name="clabelup" val="east"/>
- <a name="clabelfont" val="SansSerif plain 12"/>
- <wire from="(160,110)" to="(160,180)"/>
- <wire from="(220,370)" to="(280,370)"/>
- <wire from="(260,250)" to="(310,250)"/>
- <wire from="(230,400)" to="(280,400)"/>
- <wire from="(260,250)" to="(260,270)"/>
- <wire from="(260,280)" to="(260,300)"/>
- <wire from="(220,280)" to="(220,370)"/>
- <wire from="(140,150)" to="(180,150)"/>
- <wire from="(180,150)" to="(180,180)"/>
- <wire from="(140,130)" to="(170,130)"/>
- <wire from="(260,180)" to="(290,180)"/>
- <wire from="(260,200)" to="(290,200)"/>
- <wire from="(140,110)" to="(160,110)"/>
- <wire from="(170,130)" to="(170,180)"/>
- <wire from="(210,340)" to="(280,340)"/>
- <wire from="(230,280)" to="(230,400)"/>
- <wire from="(260,300)" to="(330,300)"/>
- <wire from="(210,280)" to="(210,340)"/>
- <comp lib="6" loc="(668,193)" name="Text">
- <a name="text" val="1101 addr"/>
- </comp>
- <comp lib="6" loc="(484,267)" name="Text">
- <a name="text" val="1100 jmp"/>
- </comp>
- <comp lib="6" loc="(481,151)" name="Text">
- <a name="text" val="0011 sub"/>
- </comp>
- <comp lib="6" loc="(470,367)" name="Text">
- <a name="text" val="read"/>
- </comp>
- <comp lib="6" loc="(560,121)" name="Text">
- <a name="text" val="0001 to ram"/>
- </comp>
- <comp lib="0" loc="(290,200)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="label" val="status"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="6" loc="(553,175)" name="Text">
- <a name="text" val="0101 sp"/>
- </comp>
- <comp lib="6" loc="(480,217)" name="Text">
- <a name="text" val="1000 xor"/>
- </comp>
- <comp lib="0" loc="(140,130)" name="Pin">
- <a name="tristate" val="false"/>
- <a name="label" val="t"/>
- </comp>
- <comp lib="6" loc="(480,280)" name="Text">
- <a name="text" val="1101 jsr"/>
- </comp>
- <comp lib="6" loc="(554,108)" name="Text">
- <a name="text" val="0000 nop"/>
- </comp>
- <comp lib="6" loc="(481,164)" name="Text">
- <a name="text" val="0100 rolc"/>
- </comp>
- <comp lib="6" loc="(550,189)" name="Text">
- <a name="text" val="0110 ir"/>
- </comp>
- <comp lib="0" loc="(330,300)" name="Pin">
- <a name="facing" val="west"/>
- <a name="tristate" val="false"/>
- <a name="label" val="ptp"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="0" loc="(290,180)" name="Pin">
- <a name="facing" val="west"/>
- <a name="width" val="8"/>
- <a name="tristate" val="false"/>
- <a name="label" val="i"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="6" loc="(484,229)" name="Text">
- <a name="text" val="1001 cmp"/>
- </comp>
- <comp lib="6" loc="(550,95)" name="Text">
- <a name="text" val="w/ mov"/>
- </comp>
- <comp lib="6" loc="(478,112)" name="Text">
- <a name="text" val="0000 inc"/>
- </comp>
- <comp lib="6" loc="(489,350)" name="Text">
- <a name="text" val="sub op code"/>
- </comp>
- <comp lib="0" loc="(140,110)" name="Pin">
- <a name="tristate" val="false"/>
- <a name="label" val="c"/>
- </comp>
- <comp lib="0" loc="(280,400)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="label" val="r"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="6" loc="(564,229)" name="Text">
- <a name="text" val="1001 sp out"/>
- </comp>
- <comp lib="6" loc="(484,292)" name="Text">
- <a name="text" val="1110 nop"/>
- </comp>
- <comp lib="6" loc="(567,133)" name="Text">
- <a name="text" val="0010 from ram"/>
- </comp>
- <comp lib="6" loc="(664,122)" name="Text">
- <a name="text" val="0010 alub"/>
- </comp>
- <comp lib="6" loc="(481,178)" name="Text">
- <a name="text" val="0101 rorc"/>
- </comp>
- <comp lib="6" loc="(558,202)" name="Text">
- <a name="text" val="0111 sp+"/>
- </comp>
- <comp lib="6" loc="(668,165)" name="Text">
- <a name="text" val="0100 rand"/>
- </comp>
- <comp loc="(260,180)" name="computer"/>
- <comp lib="6" loc="(482,242)" name="Text">
- <a name="text" val="1010 psh"/>
- </comp>
- <comp lib="6" loc="(480,126)" name="Text">
- <a name="text" val="0001 dec"/>
- </comp>
- <comp lib="6" loc="(560,368)" name="Text">
- <a name="text" val="write"/>
- </comp>
- <comp lib="6" loc="(564,243)" name="Text">
- <a name="text" val="1010 mar +"/>
- </comp>
- <comp lib="6" loc="(565,147)" name="Text">
- <a name="text" val="0011 pc addr"/>
- </comp>
- <comp lib="6" loc="(484,303)" name="Text">
- <a name="text" val="1111 mov"/>
- </comp>
- <comp lib="0" loc="(280,370)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="label" val="b"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="6" loc="(665,136)" name="Text">
- <a name="text" val="0011 alu r"/>
- </comp>
- <comp lib="6" loc="(481,191)" name="Text">
- <a name="text" val="0110 and"/>
- </comp>
- <comp lib="6" loc="(555,216)" name="Text">
- <a name="text" val="1000 sp-"/>
- </comp>
- <comp lib="6" loc="(664,179)" name="Text">
- <a name="text" val="1110 stat"/>
- </comp>
- <comp lib="6" loc="(483,255)" name="Text">
- <a name="text" val="1011 pop"/>
- </comp>
- <comp lib="0" loc="(140,150)" name="Pin">
- <a name="tristate" val="false"/>
- <a name="label" val="z"/>
- </comp>
- <comp lib="6" loc="(572,349)" name="Text">
- <a name="text" val="instruction"/>
- </comp>
- <comp lib="6" loc="(481,139)" name="Text">
- <a name="text" val="0010 add"/>
- </comp>
- <comp lib="0" loc="(280,340)" name="Pin">
- <a name="facing" val="west"/>
- <a name="output" val="true"/>
- <a name="width" val="8"/>
- <a name="label" val="a"/>
- <a name="labelloc" val="east"/>
- </comp>
- <comp lib="6" loc="(555,161)" name="Text">
- <a name="text" val="0100 mar"/>
- </comp>
- <comp lib="6" loc="(656,150)" name="Text">
- <a name="text" val="1111 i"/>
- </comp>
- <comp lib="6" loc="(666,108)" name="Text">
- <a name="text" val="0001 alu a"/>
- </comp>
- <comp lib="6" loc="(477,204)" name="Text">
- <a name="text" val="0111 or"/>
- </comp>
- <comp lib="0" loc="(310,250)" name="Pin">
- <a name="facing" val="west"/>
- <a name="width" val="16"/>
- <a name="tristate" val="false"/>
- <a name="label" val="program"/>
- <a name="labelloc" val="east"/>
- </comp>
- </circuit>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment