TI5/ALU.dig

411 lines
No EOL
8.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<circuit>
<version>2</version>
<attributes/>
<visualElements>
<visualElement>
<elementName>In</elementName>
<elementAttributes>
<entry>
<string>Label</string>
<string>I_A</string>
</entry>
<entry>
<string>Bits</string>
<int>32</int>
</entry>
</elementAttributes>
<pos x="-240" y="100"/>
</visualElement>
<visualElement>
<elementName>In</elementName>
<elementAttributes>
<entry>
<string>Label</string>
<string>I_B</string>
</entry>
<entry>
<string>Bits</string>
<int>32</int>
</entry>
</elementAttributes>
<pos x="-240" y="480"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>Label</string>
<string>O</string>
</entry>
<entry>
<string>Bits</string>
<int>32</int>
</entry>
</elementAttributes>
<pos x="240" y="420"/>
</visualElement>
<visualElement>
<elementName>Multiplexer</elementName>
<elementAttributes>
<entry>
<string>Selector Bits</string>
<int>4</int>
</entry>
<entry>
<string>Bits</string>
<int>32</int>
</entry>
</elementAttributes>
<pos x="180" y="260"/>
</visualElement>
<visualElement>
<elementName>Sub</elementName>
<elementAttributes>
<entry>
<string>Bits</string>
<int>32</int>
</entry>
</elementAttributes>
<pos x="-40" y="400"/>
</visualElement>
<visualElement>
<elementName>32_bit_adder.dig</elementName>
<elementAttributes/>
<pos x="-40" y="320"/>
</visualElement>
<visualElement>
<elementName>In</elementName>
<elementAttributes>
<entry>
<string>Label</string>
<string>I_SEL</string>
</entry>
<entry>
<string>Bits</string>
<int>4</int>
</entry>
</elementAttributes>
<pos x="-240" y="600"/>
</visualElement>
<visualElement>
<elementName>Or</elementName>
<elementAttributes>
<entry>
<string>Bits</string>
<int>32</int>
</entry>
</elementAttributes>
<pos x="-40" y="240"/>
</visualElement>
<visualElement>
<elementName>And</elementName>
<elementAttributes>
<entry>
<string>Bits</string>
<int>32</int>
</entry>
</elementAttributes>
<pos x="-40" y="160"/>
</visualElement>
<visualElement>
<elementName>Const</elementName>
<elementAttributes>
<entry>
<string>Value</string>
<long>0</long>
</entry>
<entry>
<string>Bits</string>
<int>32</int>
</entry>
</elementAttributes>
<pos x="60" y="440"/>
</visualElement>
<visualElement>
<elementName>Ground</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
</elementAttributes>
<pos x="40" y="340"/>
</visualElement>
<visualElement>
<elementName>Ground</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation reference="../../../../visualElement[11]/elementAttributes/entry/rotation"/>
</entry>
</elementAttributes>
<pos x="40" y="420"/>
</visualElement>
<visualElement>
<elementName>Ground</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
</elementAttributes>
<pos x="-80" y="440"/>
</visualElement>
</visualElements>
<wires>
<wire>
<p1 x="-240" y="480"/>
<p2 x="-220" y="480"/>
</wire>
<wire>
<p1 x="140" y="480"/>
<p2 x="180" y="480"/>
</wire>
<wire>
<p1 x="-220" y="320"/>
<p2 x="-60" y="320"/>
</wire>
<wire>
<p1 x="80" y="320"/>
<p2 x="180" y="320"/>
</wire>
<wire>
<p1 x="20" y="320"/>
<p2 x="40" y="320"/>
</wire>
<wire>
<p1 x="-60" y="320"/>
<p2 x="-40" y="320"/>
</wire>
<wire>
<p1 x="-220" y="160"/>
<p2 x="-40" y="160"/>
</wire>
<wire>
<p1 x="-240" y="100"/>
<p2 x="-220" y="100"/>
</wire>
<wire>
<p1 x="20" y="260"/>
<p2 x="140" y="260"/>
</wire>
<wire>
<p1 x="160" y="260"/>
<p2 x="180" y="260"/>
</wire>
<wire>
<p1 x="-220" y="420"/>
<p2 x="-40" y="420"/>
</wire>
<wire>
<p1 x="140" y="420"/>
<p2 x="180" y="420"/>
</wire>
<wire>
<p1 x="220" y="420"/>
<p2 x="240" y="420"/>
</wire>
<wire>
<p1 x="20" y="420"/>
<p2 x="40" y="420"/>
</wire>
<wire>
<p1 x="-220" y="360"/>
<p2 x="-200" y="360"/>
</wire>
<wire>
<p1 x="140" y="360"/>
<p2 x="180" y="360"/>
</wire>
<wire>
<p1 x="-200" y="200"/>
<p2 x="-40" y="200"/>
</wire>
<wire>
<p1 x="140" y="520"/>
<p2 x="180" y="520"/>
</wire>
<wire>
<p1 x="140" y="460"/>
<p2 x="180" y="460"/>
</wire>
<wire>
<p1 x="40" y="300"/>
<p2 x="180" y="300"/>
</wire>
<wire>
<p1 x="20" y="400"/>
<p2 x="80" y="400"/>
</wire>
<wire>
<p1 x="-60" y="400"/>
<p2 x="-40" y="400"/>
</wire>
<wire>
<p1 x="140" y="400"/>
<p2 x="180" y="400"/>
</wire>
<wire>
<p1 x="-220" y="240"/>
<p2 x="-40" y="240"/>
</wire>
<wire>
<p1 x="140" y="560"/>
<p2 x="180" y="560"/>
</wire>
<wire>
<p1 x="-220" y="340"/>
<p2 x="-40" y="340"/>
</wire>
<wire>
<p1 x="140" y="340"/>
<p2 x="180" y="340"/>
</wire>
<wire>
<p1 x="20" y="340"/>
<p2 x="40" y="340"/>
</wire>
<wire>
<p1 x="20" y="180"/>
<p2 x="160" y="180"/>
</wire>
<wire>
<p1 x="140" y="500"/>
<p2 x="180" y="500"/>
</wire>
<wire>
<p1 x="140" y="280"/>
<p2 x="180" y="280"/>
</wire>
<wire>
<p1 x="-200" y="280"/>
<p2 x="-40" y="280"/>
</wire>
<wire>
<p1 x="-240" y="600"/>
<p2 x="200" y="600"/>
</wire>
<wire>
<p1 x="60" y="440"/>
<p2 x="140" y="440"/>
</wire>
<wire>
<p1 x="-80" y="440"/>
<p2 x="-40" y="440"/>
</wire>
<wire>
<p1 x="140" y="440"/>
<p2 x="180" y="440"/>
</wire>
<wire>
<p1 x="140" y="380"/>
<p2 x="180" y="380"/>
</wire>
<wire>
<p1 x="140" y="540"/>
<p2 x="180" y="540"/>
</wire>
<wire>
<p1 x="80" y="320"/>
<p2 x="80" y="400"/>
</wire>
<wire>
<p1 x="160" y="180"/>
<p2 x="160" y="260"/>
</wire>
<wire>
<p1 x="-200" y="200"/>
<p2 x="-200" y="280"/>
</wire>
<wire>
<p1 x="-200" y="280"/>
<p2 x="-200" y="360"/>
</wire>
<wire>
<p1 x="200" y="580"/>
<p2 x="200" y="600"/>
</wire>
<wire>
<p1 x="40" y="300"/>
<p2 x="40" y="320"/>
</wire>
<wire>
<p1 x="-220" y="340"/>
<p2 x="-220" y="360"/>
</wire>
<wire>
<p1 x="-220" y="100"/>
<p2 x="-220" y="160"/>
</wire>
<wire>
<p1 x="-220" y="160"/>
<p2 x="-220" y="240"/>
</wire>
<wire>
<p1 x="-220" y="240"/>
<p2 x="-220" y="320"/>
</wire>
<wire>
<p1 x="-220" y="360"/>
<p2 x="-220" y="420"/>
</wire>
<wire>
<p1 x="-220" y="420"/>
<p2 x="-220" y="480"/>
</wire>
<wire>
<p1 x="-60" y="320"/>
<p2 x="-60" y="400"/>
</wire>
<wire>
<p1 x="140" y="260"/>
<p2 x="140" y="280"/>
</wire>
<wire>
<p1 x="140" y="340"/>
<p2 x="140" y="360"/>
</wire>
<wire>
<p1 x="140" y="400"/>
<p2 x="140" y="420"/>
</wire>
<wire>
<p1 x="140" y="540"/>
<p2 x="140" y="560"/>
</wire>
<wire>
<p1 x="140" y="420"/>
<p2 x="140" y="440"/>
</wire>
<wire>
<p1 x="140" y="440"/>
<p2 x="140" y="460"/>
</wire>
<wire>
<p1 x="140" y="460"/>
<p2 x="140" y="480"/>
</wire>
<wire>
<p1 x="140" y="480"/>
<p2 x="140" y="500"/>
</wire>
<wire>
<p1 x="140" y="360"/>
<p2 x="140" y="380"/>
</wire>
<wire>
<p1 x="140" y="500"/>
<p2 x="140" y="520"/>
</wire>
<wire>
<p1 x="140" y="380"/>
<p2 x="140" y="400"/>
</wire>
<wire>
<p1 x="140" y="520"/>
<p2 x="140" y="540"/>
</wire>
</wires>
<measurementOrdering/>
</circuit>