Logisim/OneBitAdder_Markou.circ

242 lines
8.7 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="Constant">
<a name="value" val="0x0"/>
</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>
<main name="fullAdder"/>
<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="fullAdder">
<a name="circuit" val="fullAdder"/>
<a name="clabel" val=""/>
<a name="clabelup" val="east"/>
<a name="clabelfont" val="SansSerif plain 12"/>
<appear>
<rect fill="none" height="40" stroke="#000000" stroke-width="2" width="30" x="40" y="40"/>
<text font-family="SansSerif" font-size="12" text-anchor="middle" x="47" y="54">a</text>
<text font-family="SansSerif" font-size="12" text-anchor="middle" x="60" y="74">y</text>
<text font-family="SansSerif" font-size="12" text-anchor="middle" x="48" y="74">b</text>
<text font-family="SansSerif" font-size="12" text-anchor="middle" x="60" y="52">c</text>
<text font-family="SansSerif" font-size="12" text-anchor="middle" x="60" y="63">x</text>
<circ-port height="10" pin="270,190" width="10" x="65" y="55"/>
<circ-port height="10" pin="270,350" width="10" x="55" y="75"/>
<circ-port height="8" pin="10,40" width="8" x="36" y="46"/>
<circ-port height="8" pin="40,40" width="8" x="36" y="66"/>
<circ-port height="8" pin="70,40" width="8" x="56" y="36"/>
<circ-anchor facing="east" height="6" width="6" x="47" y="57"/>
</appear>
<wire from="(10,250)" to="(10,360)"/>
<wire from="(200,170)" to="(200,180)"/>
<wire from="(80,400)" to="(80,470)"/>
<wire from="(50,220)" to="(110,220)"/>
<wire from="(10,50)" to="(20,50)"/>
<wire from="(200,360)" to="(200,380)"/>
<wire from="(70,450)" to="(110,450)"/>
<wire from="(70,140)" to="(70,290)"/>
<wire from="(50,50)" to="(50,60)"/>
<wire from="(10,50)" to="(10,200)"/>
<wire from="(210,210)" to="(210,270)"/>
<wire from="(50,120)" to="(50,220)"/>
<wire from="(70,140)" to="(110,140)"/>
<wire from="(10,360)" to="(110,360)"/>
<wire from="(10,250)" to="(110,250)"/>
<wire from="(200,330)" to="(200,340)"/>
<wire from="(40,50)" to="(50,50)"/>
<wire from="(20,100)" to="(20,150)"/>
<wire from="(80,190)" to="(80,240)"/>
<wire from="(10,40)" to="(10,50)"/>
<wire from="(260,190)" to="(270,190)"/>
<wire from="(160,330)" to="(200,330)"/>
<wire from="(80,90)" to="(80,190)"/>
<wire from="(20,150)" to="(20,310)"/>
<wire from="(20,310)" to="(110,310)"/>
<wire from="(10,410)" to="(10,470)"/>
<wire from="(160,220)" to="(200,220)"/>
<wire from="(40,330)" to="(40,380)"/>
<wire from="(50,430)" to="(50,470)"/>
<wire from="(160,380)" to="(200,380)"/>
<wire from="(70,350)" to="(70,450)"/>
<wire from="(70,40)" to="(70,50)"/>
<wire from="(160,120)" to="(210,120)"/>
<wire from="(10,410)" to="(110,410)"/>
<wire from="(50,120)" to="(110,120)"/>
<wire from="(70,50)" to="(70,140)"/>
<wire from="(200,360)" to="(210,360)"/>
<wire from="(70,290)" to="(110,290)"/>
<wire from="(20,310)" to="(20,470)"/>
<wire from="(40,40)" to="(40,50)"/>
<wire from="(40,270)" to="(40,330)"/>
<wire from="(50,220)" to="(50,430)"/>
<wire from="(80,190)" to="(110,190)"/>
<wire from="(40,170)" to="(40,270)"/>
<wire from="(20,150)" to="(110,150)"/>
<wire from="(200,340)" to="(210,340)"/>
<wire from="(70,350)" to="(110,350)"/>
<wire from="(40,170)" to="(110,170)"/>
<wire from="(260,350)" to="(270,350)"/>
<wire from="(200,180)" to="(210,180)"/>
<wire from="(20,50)" to="(20,60)"/>
<wire from="(160,430)" to="(210,430)"/>
<wire from="(200,200)" to="(210,200)"/>
<wire from="(80,240)" to="(80,400)"/>
<wire from="(80,400)" to="(110,400)"/>
<wire from="(50,90)" to="(50,120)"/>
<wire from="(50,430)" to="(110,430)"/>
<wire from="(160,170)" to="(200,170)"/>
<wire from="(70,50)" to="(80,50)"/>
<wire from="(80,240)" to="(110,240)"/>
<wire from="(200,200)" to="(200,220)"/>
<wire from="(80,50)" to="(80,60)"/>
<wire from="(40,330)" to="(110,330)"/>
<wire from="(20,100)" to="(110,100)"/>
<wire from="(40,50)" to="(40,170)"/>
<wire from="(40,380)" to="(40,470)"/>
<wire from="(40,270)" to="(110,270)"/>
<wire from="(10,360)" to="(10,410)"/>
<wire from="(210,270)" to="(210,330)"/>
<wire from="(10,200)" to="(10,250)"/>
<wire from="(210,370)" to="(210,430)"/>
<wire from="(10,200)" to="(110,200)"/>
<wire from="(20,90)" to="(20,100)"/>
<wire from="(70,290)" to="(70,350)"/>
<wire from="(210,120)" to="(210,170)"/>
<wire from="(70,450)" to="(70,470)"/>
<wire from="(40,380)" to="(110,380)"/>
<wire from="(160,270)" to="(210,270)"/>
<comp lib="0" loc="(270,350)" name="Pin">
<a name="facing" val="west"/>
<a name="output" val="true"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="1" loc="(160,120)" name="AND Gate">
<a name="inputs" val="3"/>
</comp>
<comp lib="6" loc="(85,49)" name="Text">
<a name="text" val="~c"/>
</comp>
<comp lib="1" loc="(160,380)" name="AND Gate">
<a name="inputs" val="3"/>
</comp>
<comp lib="6" loc="(8,16)" name="Text">
<a name="text" val="a"/>
</comp>
<comp lib="6" loc="(38,16)" name="Text">
<a name="text" val="b"/>
</comp>
<comp lib="1" loc="(80,90)" name="NOT Gate">
<a name="facing" val="south"/>
</comp>
<comp lib="6" loc="(55,49)" name="Text">
<a name="text" val="~b"/>
</comp>
<comp lib="6" loc="(68,16)" name="Text">
<a name="text" val="c"/>
</comp>
<comp lib="1" loc="(260,190)" name="OR Gate">
<a name="inputs" val="4"/>
</comp>
<comp lib="1" loc="(160,270)" name="AND Gate">
<a name="inputs" val="3"/>
</comp>
<comp lib="0" loc="(40,40)" name="Pin">
<a name="facing" val="south"/>
<a name="tristate" val="false"/>
</comp>
<comp lib="6" loc="(296,353)" name="Text">
<a name="text" val="y"/>
</comp>
<comp lib="1" loc="(260,350)" name="OR Gate">
<a name="inputs" val="4"/>
</comp>
<comp lib="1" loc="(20,90)" name="NOT Gate">
<a name="facing" val="south"/>
</comp>
<comp lib="6" loc="(297,194)" name="Text">
<a name="text" val="x"/>
</comp>
<comp lib="0" loc="(10,40)" name="Pin">
<a name="facing" val="south"/>
<a name="tristate" val="false"/>
</comp>
<comp lib="6" loc="(25,49)" name="Text">
<a name="text" val="~a"/>
</comp>
<comp lib="1" loc="(160,430)" name="AND Gate">
<a name="inputs" val="3"/>
</comp>
<comp lib="1" loc="(160,330)" name="AND Gate">
<a name="inputs" val="3"/>
</comp>
<comp lib="1" loc="(50,90)" name="NOT Gate">
<a name="facing" val="south"/>
</comp>
<comp lib="1" loc="(160,220)" name="AND Gate">
<a name="inputs" val="3"/>
</comp>
<comp lib="0" loc="(270,190)" name="Pin">
<a name="facing" val="west"/>
<a name="output" val="true"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="0" loc="(70,40)" name="Pin">
<a name="facing" val="south"/>
<a name="tristate" val="false"/>
</comp>
<comp lib="1" loc="(160,170)" name="AND Gate">
<a name="inputs" val="3"/>
</comp>
</circuit>
</project>