Logisim/8-bit adder.circ

220 lines
8.0 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project source="2.7.1" version="1.0">
This file is intended to be loaded by Logisim (http://www.cburch.com/logisim/).
<lib desc="#Wiring" name="0">
<tool name="Splitter">
<a name="facing" val="north"/>
<a name="fanout" val="8"/>
<a name="incoming" val="8"/>
<a name="appear" val="legacy"/>
</tool>
<tool name="Pin">
<a name="facing" val="south"/>
</tool>
</lib>
<lib desc="#Gates" name="1"/>
<lib desc="#Plexers" name="2"/>
<lib desc="#Arithmetic" name="3"/>
<lib desc="#Memory" name="4">
<tool name="ROM">
<a name="contents">addr/data: 8 8
0
</a>
</tool>
</lib>
<lib desc="#I/O" name="5"/>
<lib desc="#Base" name="6">
<tool name="Text Tool">
<a name="text" val=""/>
<a name="font" val="SansSerif plain 12"/>
<a name="halign" val="center"/>
<a name="valign" val="base"/>
</tool>
</lib>
<lib desc="file#Adder.circ" name="7"/>
<main name="main"/>
<options>
<a name="gateUndefined" val="ignore"/>
<a name="simlimit" val="1000"/>
<a name="simrand" val="0"/>
</options>
<mappings>
<tool lib="6" map="Button2" name="Menu Tool"/>
<tool lib="6" map="Button3" name="Menu Tool"/>
<tool lib="6" map="Ctrl Button1" name="Menu Tool"/>
</mappings>
<toolbar>
<tool lib="6" name="Poke Tool"/>
<tool lib="6" name="Edit Tool"/>
<tool lib="6" name="Text Tool">
<a name="text" val=""/>
<a name="font" val="SansSerif plain 12"/>
<a name="halign" val="center"/>
<a name="valign" val="base"/>
</tool>
<sep/>
<tool lib="0" name="Pin">
<a name="tristate" val="false"/>
</tool>
<tool lib="0" name="Pin">
<a name="facing" val="west"/>
<a name="output" val="true"/>
<a name="labelloc" val="east"/>
</tool>
<tool lib="1" name="NOT Gate"/>
<tool lib="1" name="AND Gate"/>
<tool lib="1" name="OR Gate"/>
</toolbar>
<circuit name="main">
<a name="circuit" val="main"/>
<a name="clabel" val=""/>
<a name="clabelup" val="east"/>
<a name="clabelfont" val="SansSerif plain 12"/>
<appear>
<path d="M56,51 Q60,61 64,51" fill="none" stroke="#808080" stroke-width="2"/>
<rect fill="none" height="30" stroke="#000000" stroke-width="2" width="30" x="50" y="50"/>
<circ-port height="8" pin="590,130" width="8" x="76" y="56"/>
<circ-port height="10" pin="290,40" width="10" x="55" y="45"/>
<circ-port height="8" pin="90,390" width="8" x="56" y="76"/>
<circ-port height="8" pin="180,390" width="8" x="66" y="76"/>
<circ-port height="10" pin="50,130" width="10" x="45" y="55"/>
<circ-anchor facing="west" height="6" width="6" x="47" y="57"/>
</appear>
<wire from="(420,150)" to="(420,220)"/>
<wire from="(290,100)" to="(350,100)"/>
<wire from="(120,240)" to="(120,370)"/>
<wire from="(60,180)" to="(180,180)"/>
<wire from="(210,310)" to="(520,310)"/>
<wire from="(260,60)" to="(260,70)"/>
<wire from="(110,230)" to="(110,370)"/>
<wire from="(290,110)" to="(290,120)"/>
<wire from="(320,60)" to="(320,70)"/>
<wire from="(540,150)" to="(540,240)"/>
<wire from="(300,90)" to="(410,90)"/>
<wire from="(70,190)" to="(240,190)"/>
<wire from="(480,150)" to="(480,230)"/>
<wire from="(100,220)" to="(100,370)"/>
<wire from="(410,90)" to="(410,120)"/>
<wire from="(300,60)" to="(300,90)"/>
<wire from="(230,80)" to="(270,80)"/>
<wire from="(90,210)" to="(90,370)"/>
<wire from="(310,80)" to="(470,80)"/>
<wire from="(80,200)" to="(300,200)"/>
<wire from="(160,150)" to="(160,250)"/>
<wire from="(320,70)" to="(530,70)"/>
<wire from="(80,200)" to="(80,370)"/>
<wire from="(220,150)" to="(220,260)"/>
<wire from="(170,70)" to="(170,120)"/>
<wire from="(90,210)" to="(360,210)"/>
<wire from="(150,250)" to="(160,250)"/>
<wire from="(70,190)" to="(70,370)"/>
<wire from="(110,60)" to="(250,60)"/>
<wire from="(280,60)" to="(280,110)"/>
<wire from="(530,70)" to="(530,120)"/>
<wire from="(280,150)" to="(280,270)"/>
<wire from="(60,180)" to="(60,370)"/>
<wire from="(210,310)" to="(210,370)"/>
<wire from="(100,220)" to="(420,220)"/>
<wire from="(200,300)" to="(200,370)"/>
<wire from="(160,260)" to="(220,260)"/>
<wire from="(340,150)" to="(340,280)"/>
<wire from="(50,170)" to="(50,370)"/>
<wire from="(400,150)" to="(400,290)"/>
<wire from="(100,150)" to="(100,160)"/>
<wire from="(110,230)" to="(480,230)"/>
<wire from="(140,160)" to="(140,370)"/>
<wire from="(170,270)" to="(280,270)"/>
<wire from="(270,60)" to="(270,80)"/>
<wire from="(310,60)" to="(310,80)"/>
<wire from="(550,130)" to="(590,130)"/>
<wire from="(460,150)" to="(460,300)"/>
<wire from="(350,100)" to="(350,120)"/>
<wire from="(190,290)" to="(190,370)"/>
<wire from="(120,150)" to="(120,170)"/>
<wire from="(180,280)" to="(180,370)"/>
<wire from="(50,130)" to="(90,130)"/>
<wire from="(100,160)" to="(140,160)"/>
<wire from="(180,150)" to="(180,180)"/>
<wire from="(120,240)" to="(540,240)"/>
<wire from="(180,280)" to="(340,280)"/>
<wire from="(170,70)" to="(260,70)"/>
<wire from="(170,270)" to="(170,370)"/>
<wire from="(520,150)" to="(520,310)"/>
<wire from="(310,130)" to="(330,130)"/>
<wire from="(370,130)" to="(390,130)"/>
<wire from="(430,130)" to="(450,130)"/>
<wire from="(240,150)" to="(240,190)"/>
<wire from="(490,130)" to="(510,130)"/>
<wire from="(230,80)" to="(230,120)"/>
<wire from="(160,260)" to="(160,370)"/>
<wire from="(290,60)" to="(290,100)"/>
<wire from="(190,290)" to="(400,290)"/>
<wire from="(130,130)" to="(150,130)"/>
<wire from="(190,130)" to="(210,130)"/>
<wire from="(250,130)" to="(270,130)"/>
<wire from="(470,80)" to="(470,120)"/>
<wire from="(280,110)" to="(290,110)"/>
<wire from="(300,150)" to="(300,200)"/>
<wire from="(360,150)" to="(360,210)"/>
<wire from="(50,170)" to="(120,170)"/>
<wire from="(150,250)" to="(150,370)"/>
<wire from="(110,60)" to="(110,120)"/>
<wire from="(200,300)" to="(460,300)"/>
<comp lib="0" loc="(290,40)" name="Splitter">
<a name="facing" val="south"/>
<a name="fanout" val="8"/>
<a name="incoming" val="8"/>
<a name="appear" val="legacy"/>
</comp>
<comp lib="7" loc="(170,120)" name="main"/>
<comp lib="0" loc="(50,130)" name="Pin">
<a name="output" val="true"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="7" loc="(410,120)" name="main"/>
<comp lib="7" loc="(350,120)" name="main"/>
<comp lib="0" loc="(180,390)" name="Splitter">
<a name="facing" val="north"/>
<a name="fanout" val="8"/>
<a name="incoming" val="8"/>
<a name="appear" val="legacy"/>
</comp>
<comp lib="7" loc="(230,120)" name="main"/>
<comp lib="0" loc="(290,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="(590,130)" name="Pin">
<a name="facing" val="west"/>
<a name="tristate" val="false"/>
</comp>
<comp lib="7" loc="(530,120)" name="main"/>
<comp lib="7" loc="(470,120)" name="main"/>
<comp lib="0" loc="(90,390)" name="Splitter">
<a name="facing" val="north"/>
<a name="fanout" val="8"/>
<a name="incoming" val="8"/>
<a name="appear" val="legacy"/>
</comp>
<comp lib="0" loc="(90,390)" name="Pin">
<a name="facing" val="north"/>
<a name="width" val="8"/>
<a name="tristate" val="false"/>
<a name="label" val="y"/>
<a name="labelloc" val="south"/>
</comp>
<comp lib="0" loc="(180,390)" name="Pin">
<a name="facing" val="north"/>
<a name="width" val="8"/>
<a name="tristate" val="false"/>
<a name="label" val="x"/>
<a name="labelloc" val="south"/>
</comp>
<comp lib="7" loc="(110,120)" name="main"/>
<comp lib="7" loc="(290,120)" name="main"/>
</circuit>
</project>