You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cpu32/signed_mul.dig

457 lines
10 KiB

<?xml version="1.0" encoding="utf-8"?>
<circuit>
<version>1</version>
<attributes/>
<visualElements>
<visualElement>
<elementName>Mul</elementName>
<elementAttributes>
<entry>
<string>Bits</string>
<int>16</int>
</entry>
</elementAttributes>
<pos x="1040" y="300"/>
</visualElement>
<visualElement>
<elementName>In</elementName>
<elementAttributes>
<entry>
<string>Label</string>
<string>S</string>
</entry>
</elementAttributes>
<pos x="600" y="560"/>
</visualElement>
<visualElement>
<elementName>In</elementName>
<elementAttributes>
<entry>
<string>Label</string>
<string>a</string>
</entry>
<entry>
<string>Bits</string>
<int>16</int>
</entry>
</elementAttributes>
<pos x="600" y="280"/>
</visualElement>
<visualElement>
<elementName>In</elementName>
<elementAttributes>
<entry>
<string>Label</string>
<string>b</string>
</entry>
<entry>
<string>Bits</string>
<int>16</int>
</entry>
</elementAttributes>
<pos x="600" y="500"/>
</visualElement>
<visualElement>
<elementName>Splitter</elementName>
<elementAttributes>
<entry>
<string>Input Splitting</string>
<string>16</string>
</entry>
<entry>
<string>Output Splitting</string>
<string>15,1</string>
</entry>
</elementAttributes>
<pos x="680" y="280"/>
</visualElement>
<visualElement>
<elementName>And</elementName>
<elementAttributes>
<entry>
<string>wideShape</string>
<boolean>true</boolean>
</entry>
</elementAttributes>
<pos x="800" y="300"/>
</visualElement>
<visualElement>
<elementName>Neg</elementName>
<elementAttributes>
<entry>
<string>Bits</string>
<int>16</int>
</entry>
</elementAttributes>
<pos x="780" y="240"/>
</visualElement>
<visualElement>
<elementName>Multiplexer</elementName>
<elementAttributes>
<entry>
<string>Bits</string>
<int>16</int>
</entry>
</elementAttributes>
<pos x="880" y="200"/>
</visualElement>
<visualElement>
<elementName>Splitter</elementName>
<elementAttributes>
<entry>
<string>Input Splitting</string>
<string>16</string>
</entry>
<entry>
<string>Output Splitting</string>
<string>15,1</string>
</entry>
</elementAttributes>
<pos x="680" y="500"/>
</visualElement>
<visualElement>
<elementName>And</elementName>
<elementAttributes>
<entry>
<string>wideShape</string>
<boolean>true</boolean>
</entry>
</elementAttributes>
<pos x="800" y="520"/>
</visualElement>
<visualElement>
<elementName>Neg</elementName>
<elementAttributes>
<entry>
<string>Bits</string>
<int>16</int>
</entry>
</elementAttributes>
<pos x="780" y="460"/>
</visualElement>
<visualElement>
<elementName>Multiplexer</elementName>
<elementAttributes>
<entry>
<string>Bits</string>
<int>16</int>
</entry>
</elementAttributes>
<pos x="880" y="420"/>
</visualElement>
<visualElement>
<elementName>XOr</elementName>
<elementAttributes>
<entry>
<string>wideShape</string>
<boolean>true</boolean>
</entry>
</elementAttributes>
<pos x="780" y="640"/>
</visualElement>
<visualElement>
<elementName>And</elementName>
<elementAttributes>
<entry>
<string>wideShape</string>
<boolean>true</boolean>
</entry>
</elementAttributes>
<pos x="900" y="660"/>
</visualElement>
<visualElement>
<elementName>Neg</elementName>
<elementAttributes>
<entry>
<string>Bits</string>
<int>32</int>
</entry>
</elementAttributes>
<pos x="1160" y="320"/>
</visualElement>
<visualElement>
<elementName>Multiplexer</elementName>
<elementAttributes>
<entry>
<string>Bits</string>
<int>32</int>
</entry>
</elementAttributes>
<pos x="1280" y="280"/>
</visualElement>
<visualElement>
<elementName>Probe</elementName>
<elementAttributes/>
<pos x="880" y="260"/>
</visualElement>
<visualElement>
<elementName>Probe</elementName>
<elementAttributes>
<entry>
<string>intFormat</string>
<intFormat>decSigned</intFormat>
</entry>
</elementAttributes>
<pos x="1260" y="240"/>
</visualElement>
<visualElement>
<elementName>Probe</elementName>
<elementAttributes>
<entry>
<string>intFormat</string>
<intFormat>decSigned</intFormat>
</entry>
</elementAttributes>
<pos x="1260" y="360"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>Label</string>
<string>m</string>
</entry>
<entry>
<string>Bits</string>
<int>32</int>
</entry>
</elementAttributes>
<pos x="1380" y="300"/>
</visualElement>
</visualElements>
<wires>
<wire>
<p1 x="880" y="320"/>
<p2 x="900" y="320"/>
</wire>
<wire>
<p1 x="1100" y="320"/>
<p2 x="1140" y="320"/>
</wire>
<wire>
<p1 x="1220" y="320"/>
<p2 x="1240" y="320"/>
</wire>
<wire>
<p1 x="1140" y="320"/>
<p2 x="1160" y="320"/>
</wire>
<wire>
<p1 x="1240" y="320"/>
<p2 x="1280" y="320"/>
</wire>
<wire>
<p1 x="760" y="640"/>
<p2 x="780" y="640"/>
</wire>
<wire>
<p1 x="640" y="420"/>
<p2 x="880" y="420"/>
</wire>
<wire>
<p1 x="860" y="260"/>
<p2 x="880" y="260"/>
</wire>
<wire>
<p1 x="640" y="200"/>
<p2 x="880" y="200"/>
</wire>
<wire>
<p1 x="700" y="520"/>
<p2 x="760" y="520"/>
</wire>
<wire>
<p1 x="760" y="520"/>
<p2 x="800" y="520"/>
</wire>
<wire>
<p1 x="740" y="680"/>
<p2 x="780" y="680"/>
</wire>
<wire>
<p1 x="980" y="680"/>
<p2 x="1300" y="680"/>
</wire>
<wire>
<p1 x="1240" y="360"/>
<p2 x="1260" y="360"/>
</wire>
<wire>
<p1 x="980" y="300"/>
<p2 x="1040" y="300"/>
</wire>
<wire>
<p1 x="700" y="300"/>
<p2 x="740" y="300"/>
</wire>
<wire>
<p1 x="1320" y="300"/>
<p2 x="1380" y="300"/>
</wire>
<wire>
<p1 x="740" y="300"/>
<p2 x="800" y="300"/>
</wire>
<wire>
<p1 x="640" y="460"/>
<p2 x="780" y="460"/>
</wire>
<wire>
<p1 x="840" y="460"/>
<p2 x="880" y="460"/>
</wire>
<wire>
<p1 x="600" y="560"/>
<p2 x="620" y="560"/>
</wire>
<wire>
<p1 x="620" y="560"/>
<p2 x="800" y="560"/>
</wire>
<wire>
<p1 x="640" y="240"/>
<p2 x="780" y="240"/>
</wire>
<wire>
<p1 x="840" y="240"/>
<p2 x="860" y="240"/>
</wire>
<wire>
<p1 x="1240" y="240"/>
<p2 x="1260" y="240"/>
</wire>
<wire>
<p1 x="860" y="240"/>
<p2 x="880" y="240"/>
</wire>
<wire>
<p1 x="620" y="720"/>
<p2 x="860" y="720"/>
</wire>
<wire>
<p1 x="980" y="340"/>
<p2 x="1040" y="340"/>
</wire>
<wire>
<p1 x="620" y="340"/>
<p2 x="800" y="340"/>
</wire>
<wire>
<p1 x="600" y="500"/>
<p2 x="640" y="500"/>
</wire>
<wire>
<p1 x="640" y="500"/>
<p2 x="680" y="500"/>
</wire>
<wire>
<p1 x="860" y="660"/>
<p2 x="900" y="660"/>
</wire>
<wire>
<p1 x="600" y="280"/>
<p2 x="640" y="280"/>
</wire>
<wire>
<p1 x="1140" y="280"/>
<p2 x="1240" y="280"/>
</wire>
<wire>
<p1 x="1240" y="280"/>
<p2 x="1280" y="280"/>
</wire>
<wire>
<p1 x="640" y="280"/>
<p2 x="680" y="280"/>
</wire>
<wire>
<p1 x="920" y="440"/>
<p2 x="980" y="440"/>
</wire>
<wire>
<p1 x="880" y="540"/>
<p2 x="900" y="540"/>
</wire>
<wire>
<p1 x="920" y="220"/>
<p2 x="980" y="220"/>
</wire>
<wire>
<p1 x="860" y="700"/>
<p2 x="900" y="700"/>
</wire>
<wire>
<p1 x="640" y="200"/>
<p2 x="640" y="240"/>
</wire>
<wire>
<p1 x="640" y="420"/>
<p2 x="640" y="460"/>
</wire>
<wire>
<p1 x="640" y="460"/>
<p2 x="640" y="500"/>
</wire>
<wire>
<p1 x="640" y="240"/>
<p2 x="640" y="280"/>
</wire>
<wire>
<p1 x="900" y="460"/>
<p2 x="900" y="540"/>
</wire>
<wire>
<p1 x="900" y="240"/>
<p2 x="900" y="320"/>
</wire>
<wire>
<p1 x="980" y="340"/>
<p2 x="980" y="440"/>
</wire>
<wire>
<p1 x="980" y="220"/>
<p2 x="980" y="300"/>
</wire>
<wire>
<p1 x="740" y="300"/>
<p2 x="740" y="680"/>
</wire>
<wire>
<p1 x="1140" y="280"/>
<p2 x="1140" y="320"/>
</wire>
<wire>
<p1 x="1300" y="320"/>
<p2 x="1300" y="680"/>
</wire>
<wire>
<p1 x="1240" y="240"/>
<p2 x="1240" y="280"/>
</wire>
<wire>
<p1 x="1240" y="320"/>
<p2 x="1240" y="360"/>
</wire>
<wire>
<p1 x="760" y="520"/>
<p2 x="760" y="640"/>
</wire>
<wire>
<p1 x="620" y="340"/>
<p2 x="620" y="560"/>
</wire>
<wire>
<p1 x="620" y="560"/>
<p2 x="620" y="720"/>
</wire>
<wire>
<p1 x="860" y="700"/>
<p2 x="860" y="720"/>
</wire>
<wire>
<p1 x="860" y="240"/>
<p2 x="860" y="260"/>
</wire>
</wires>
<measurementOrdering/>
</circuit>