Logisim/Adder.circ

270 lines
10 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"/>
<a name="font" val="SansSerif plain 12"/>
<a name="halign" val="center"/>
<a name="valign" val="base"/>
</tool>
<tool name="Text">
<a name="text" val="a"/>
</tool>
</lib>
<main name="main"/>
<options>
<a name="gateUndefined" val="ignore"/>
<a name="simlimit" val="1000"/>
<a name="simrand" val="0"/>
</options>
<mappings>
<tool lib="6" map="Button2" name="Menu Tool"/>
<tool lib="6" map="Button3" name="Menu Tool"/>
<tool lib="6" map="Ctrl Button1" name="Menu Tool"/>
</mappings>
<toolbar>
<tool lib="6" name="Poke Tool"/>
<tool lib="6" name="Edit Tool"/>
<tool lib="6" name="Text Tool">
<a name="text" val="a"/>
<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>
<text font-family="SansSerif" font-size="12" text-anchor="middle" x="59" y="33">a</text>
<text font-family="SansSerif" font-size="12" text-anchor="middle" x="59" y="54">b</text>
<text font-family="SansSerif" font-size="12" text-anchor="middle" x="69" y="33">c</text>
<text font-family="SansSerif" font-size="12" text-anchor="middle" x="70" y="43">x</text>
<text font-family="SansSerif" font-size="12" text-anchor="middle" x="70" y="52">y</text>
<polyline fill="none" points="50,20 50,58" stroke="#000000" stroke-width="2"/>
<polyline fill="none" points="50,60 79,60" stroke="#000000" stroke-width="2"/>
<polyline fill="none" points="80,60 80,20" stroke="#000000" stroke-width="2"/>
<polyline fill="none" points="50,20 80,20" stroke="#000000" stroke-width="2"/>
<circ-port height="8" pin="50,60" width="8" x="46" y="26"/>
<circ-port height="8" pin="80,60" width="8" x="46" y="46"/>
<circ-port height="8" pin="110,60" width="8" x="66" y="16"/>
<circ-port height="10" pin="580,180" width="10" x="75" y="35"/>
<circ-port height="10" pin="580,210" width="10" x="65" y="55"/>
<circ-anchor facing="east" height="6" width="6" x="57" y="37"/>
</appear>
<wire from="(390,400)" to="(450,400)"/>
<wire from="(390,380)" to="(450,380)"/>
<wire from="(80,110)" to="(140,110)"/>
<wire from="(80,250)" to="(330,250)"/>
<wire from="(80,410)" to="(330,410)"/>
<wire from="(80,310)" to="(330,310)"/>
<wire from="(400,160)" to="(450,160)"/>
<wire from="(390,190)" to="(390,200)"/>
<wire from="(390,150)" to="(390,170)"/>
<wire from="(80,160)" to="(320,160)"/>
<wire from="(80,460)" to="(80,480)"/>
<wire from="(180,140)" to="(180,170)"/>
<wire from="(410,200)" to="(450,200)"/>
<wire from="(50,80)" to="(50,180)"/>
<wire from="(240,130)" to="(330,130)"/>
<wire from="(110,270)" to="(330,270)"/>
<wire from="(110,330)" to="(330,330)"/>
<wire from="(80,310)" to="(80,410)"/>
<wire from="(110,380)" to="(110,480)"/>
<wire from="(240,290)" to="(330,290)"/>
<wire from="(50,80)" to="(140,80)"/>
<wire from="(380,460)" to="(410,460)"/>
<wire from="(50,180)" to="(330,180)"/>
<wire from="(180,220)" to="(330,220)"/>
<wire from="(380,310)" to="(400,310)"/>
<wire from="(50,440)" to="(330,440)"/>
<wire from="(50,340)" to="(330,340)"/>
<wire from="(210,360)" to="(210,470)"/>
<wire from="(240,80)" to="(240,130)"/>
<wire from="(50,390)" to="(50,440)"/>
<wire from="(80,60)" to="(80,110)"/>
<wire from="(380,200)" to="(390,200)"/>
<wire from="(380,360)" to="(390,360)"/>
<wire from="(110,330)" to="(110,380)"/>
<wire from="(410,410)" to="(410,460)"/>
<wire from="(500,180)" to="(580,180)"/>
<wire from="(170,80)" to="(240,80)"/>
<wire from="(400,100)" to="(400,160)"/>
<wire from="(570,210)" to="(570,390)"/>
<wire from="(110,270)" to="(110,330)"/>
<wire from="(500,390)" to="(570,390)"/>
<wire from="(570,210)" to="(580,210)"/>
<wire from="(390,190)" to="(450,190)"/>
<wire from="(390,170)" to="(450,170)"/>
<wire from="(110,140)" to="(110,270)"/>
<wire from="(80,460)" to="(330,460)"/>
<wire from="(400,370)" to="(450,370)"/>
<wire from="(210,100)" to="(210,110)"/>
<wire from="(210,100)" to="(330,100)"/>
<wire from="(210,200)" to="(330,200)"/>
<wire from="(210,360)" to="(330,360)"/>
<wire from="(390,400)" to="(390,410)"/>
<wire from="(320,150)" to="(320,160)"/>
<wire from="(180,220)" to="(180,430)"/>
<wire from="(390,360)" to="(390,380)"/>
<wire from="(50,60)" to="(50,80)"/>
<wire from="(110,120)" to="(110,140)"/>
<wire from="(210,110)" to="(210,200)"/>
<wire from="(170,110)" to="(210,110)"/>
<wire from="(80,160)" to="(80,250)"/>
<wire from="(410,410)" to="(450,410)"/>
<wire from="(110,140)" to="(140,140)"/>
<wire from="(210,200)" to="(210,360)"/>
<wire from="(240,130)" to="(240,290)"/>
<wire from="(240,80)" to="(330,80)"/>
<wire from="(110,120)" to="(330,120)"/>
<wire from="(110,380)" to="(330,380)"/>
<wire from="(110,480)" to="(330,480)"/>
<wire from="(380,250)" to="(410,250)"/>
<wire from="(180,170)" to="(330,170)"/>
<wire from="(50,440)" to="(50,480)"/>
<wire from="(380,100)" to="(400,100)"/>
<wire from="(50,230)" to="(330,230)"/>
<wire from="(50,390)" to="(330,390)"/>
<wire from="(180,430)" to="(330,430)"/>
<wire from="(180,430)" to="(180,470)"/>
<wire from="(50,230)" to="(50,340)"/>
<wire from="(180,170)" to="(180,220)"/>
<wire from="(320,150)" to="(330,150)"/>
<wire from="(50,180)" to="(50,230)"/>
<wire from="(50,340)" to="(50,390)"/>
<wire from="(380,150)" to="(390,150)"/>
<wire from="(80,110)" to="(80,160)"/>
<wire from="(380,410)" to="(390,410)"/>
<wire from="(80,410)" to="(80,460)"/>
<wire from="(170,140)" to="(180,140)"/>
<wire from="(410,200)" to="(410,250)"/>
<wire from="(240,290)" to="(240,470)"/>
<wire from="(400,310)" to="(400,370)"/>
<wire from="(110,60)" to="(110,120)"/>
<wire from="(80,250)" to="(80,310)"/>
<comp lib="1" loc="(500,180)" name="OR Gate">
<a name="inputs" val="4"/>
</comp>
<comp lib="1" loc="(380,360)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="xYz"/>
</comp>
<comp lib="6" loc="(264,56)" name="Text"/>
<comp lib="1" loc="(380,460)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="xyz"/>
</comp>
<comp lib="0" loc="(50,60)" name="Pin">
<a name="facing" val="south"/>
<a name="tristate" val="false"/>
<a name="label" val="x"/>
<a name="labelloc" val="north"/>
</comp>
<comp lib="0" loc="(80,60)" name="Pin">
<a name="facing" val="south"/>
<a name="tristate" val="false"/>
<a name="label" val="y"/>
<a name="labelloc" val="north"/>
</comp>
<comp lib="1" loc="(170,140)" name="NOT Gate">
<a name="label" val="Not Z"/>
</comp>
<comp lib="1" loc="(380,100)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="XYz"/>
</comp>
<comp lib="1" loc="(500,390)" name="OR Gate">
<a name="inputs" val="4"/>
</comp>
<comp lib="6" loc="(394,19)" name="Text">
<a name="text" val="Caleb Fontenot, Lab full adder"/>
</comp>
<comp lib="6" loc="(124,18)" name="Text"/>
<comp lib="1" loc="(380,310)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="Xyz"/>
</comp>
<comp lib="1" loc="(380,200)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="xYZ"/>
</comp>
<comp lib="6" loc="(104,71)" name="Text"/>
<comp lib="1" loc="(380,410)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="xyZ"/>
</comp>
<comp lib="6" loc="(153,45)" name="Text"/>
<comp lib="0" loc="(580,180)" name="Pin">
<a name="facing" val="west"/>
<a name="output" val="true"/>
<a name="label" val="F1"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="1" loc="(170,110)" name="NOT Gate">
<a name="label" val="Not Y"/>
</comp>
<comp lib="0" loc="(110,60)" name="Pin">
<a name="facing" val="south"/>
<a name="tristate" val="false"/>
<a name="label" val="z"/>
<a name="labelloc" val="north"/>
</comp>
<comp lib="0" loc="(580,210)" name="Pin">
<a name="facing" val="west"/>
<a name="output" val="true"/>
<a name="label" val="F2"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="1" loc="(380,150)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="xYz"/>
</comp>
<comp lib="1" loc="(380,250)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="xyz"/>
</comp>
<comp lib="1" loc="(170,80)" name="NOT Gate">
<a name="label" val="Not X"/>
</comp>
</circuit>
</project>