aboutsummaryrefslogtreecommitdiffstats
path: root/digital/atk16_alu_fo.dig
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2023-04-09 18:26:25 +0300
committerJan Tuomi <jans.tuomi@gmail.com>2023-04-09 18:28:28 +0300
commit5b6637fb92c54b8f367ec8751f53f6f238d8dbed (patch)
tree11f1e11690504606db9879b7d282f5955f1ea225 /digital/atk16_alu_fo.dig
parent5ab9865fa6ed343ae0cffefb81b20af2e533e36f (diff)
Remake ALU
Diffstat (limited to 'digital/atk16_alu_fo.dig')
-rw-r--r--digital/atk16_alu_fo.dig494
1 files changed, 494 insertions, 0 deletions
diff --git a/digital/atk16_alu_fo.dig b/digital/atk16_alu_fo.dig
new file mode 100644
index 0000000..ecf0021
--- /dev/null
+++ b/digital/atk16_alu_fo.dig
@@ -0,0 +1,494 @@
+<?xml version="1.0" encoding="utf-8"?>
+<circuit>
+ <version>2</version>
+ <attributes>
+ <entry>
+ <string>Label</string>
+ <string>alu_fo</string>
+ </entry>
+ <entry>
+ <string>romContent</string>
+ <romList>
+ <roms/>
+ </romList>
+ </entry>
+ <entry>
+ <string>Width</string>
+ <int>4</int>
+ </entry>
+ </attributes>
+ <visualElements>
+ <visualElement>
+ <elementName>Testcase</elementName>
+ <elementAttributes>
+ <entry>
+ <string>Testdata</string>
+ <testData>
+ <dataString>A15 B15 Y15 ~A/S FO
+0 0 0 0 0
+0 0 1 0 1
+0 1 0 0 0
+0 1 1 0 0
+1 0 0 0 0
+1 0 1 0 0
+1 1 0 0 1
+1 1 1 0 0
+0 0 0 1 0
+0 0 1 1 0
+0 1 0 1 0
+0 1 1 1 1
+1 0 0 1 1
+1 0 1 1 0
+1 1 0 1 0
+1 1 1 1 0
+</dataString>
+ </testData>
+ </entry>
+ </elementAttributes>
+ <pos x="400" y="740"/>
+ </visualElement>
+ <visualElement>
+ <elementName>Out</elementName>
+ <elementAttributes>
+ <entry>
+ <string>Label</string>
+ <string>FO</string>
+ </entry>
+ <entry>
+ <string>Inputs</string>
+ <int>1</int>
+ </entry>
+ </elementAttributes>
+ <pos x="900" y="440"/>
+ </visualElement>
+ <visualElement>
+ <elementName>Or</elementName>
+ <elementAttributes>
+ <entry>
+ <string>wideShape</string>
+ <boolean>true</boolean>
+ </entry>
+ <entry>
+ <string>Inputs</string>
+ <int>4</int>
+ </entry>
+ </elementAttributes>
+ <pos x="800" y="400"/>
+ </visualElement>
+ <visualElement>
+ <elementName>And</elementName>
+ <elementAttributes>
+ <entry>
+ <string>wideShape</string>
+ <boolean>true</boolean>
+ </entry>
+ <entry>
+ <string>Inputs</string>
+ <int>4</int>
+ </entry>
+ </elementAttributes>
+ <pos x="660" y="220"/>
+ </visualElement>
+ <visualElement>
+ <elementName>And</elementName>
+ <elementAttributes>
+ <entry>
+ <string>wideShape</string>
+ <boolean>true</boolean>
+ </entry>
+ <entry>
+ <string>Inputs</string>
+ <int>4</int>
+ </entry>
+ </elementAttributes>
+ <pos x="660" y="340"/>
+ </visualElement>
+ <visualElement>
+ <elementName>And</elementName>
+ <elementAttributes>
+ <entry>
+ <string>wideShape</string>
+ <boolean>true</boolean>
+ </entry>
+ <entry>
+ <string>Inputs</string>
+ <int>4</int>
+ </entry>
+ </elementAttributes>
+ <pos x="660" y="460"/>
+ </visualElement>
+ <visualElement>
+ <elementName>And</elementName>
+ <elementAttributes>
+ <entry>
+ <string>wideShape</string>
+ <boolean>true</boolean>
+ </entry>
+ <entry>
+ <string>Inputs</string>
+ <int>4</int>
+ </entry>
+ </elementAttributes>
+ <pos x="660" y="580"/>
+ </visualElement>
+ <visualElement>
+ <elementName>In</elementName>
+ <elementAttributes>
+ <entry>
+ <string>rotation</string>
+ <rotation rotation="3"/>
+ </entry>
+ <entry>
+ <string>Label</string>
+ <string>~A/S</string>
+ </entry>
+ </elementAttributes>
+ <pos x="420" y="120"/>
+ </visualElement>
+ <visualElement>
+ <elementName>Not</elementName>
+ <elementAttributes>
+ <entry>
+ <string>rotation</string>
+ <rotation rotation="3"/>
+ </entry>
+ </elementAttributes>
+ <pos x="440" y="160"/>
+ </visualElement>
+ <visualElement>
+ <elementName>In</elementName>
+ <elementAttributes>
+ <entry>
+ <string>rotation</string>
+ <rotation rotation="3"/>
+ </entry>
+ <entry>
+ <string>Label</string>
+ <string>A15</string>
+ </entry>
+ </elementAttributes>
+ <pos x="480" y="120"/>
+ </visualElement>
+ <visualElement>
+ <elementName>Not</elementName>
+ <elementAttributes>
+ <entry>
+ <string>rotation</string>
+ <rotation rotation="3"/>
+ </entry>
+ </elementAttributes>
+ <pos x="500" y="160"/>
+ </visualElement>
+ <visualElement>
+ <elementName>In</elementName>
+ <elementAttributes>
+ <entry>
+ <string>rotation</string>
+ <rotation rotation="3"/>
+ </entry>
+ <entry>
+ <string>Label</string>
+ <string>B15</string>
+ </entry>
+ </elementAttributes>
+ <pos x="540" y="120"/>
+ </visualElement>
+ <visualElement>
+ <elementName>Not</elementName>
+ <elementAttributes>
+ <entry>
+ <string>rotation</string>
+ <rotation rotation="3"/>
+ </entry>
+ </elementAttributes>
+ <pos x="560" y="160"/>
+ </visualElement>
+ <visualElement>
+ <elementName>In</elementName>
+ <elementAttributes>
+ <entry>
+ <string>rotation</string>
+ <rotation rotation="3"/>
+ </entry>
+ <entry>
+ <string>Label</string>
+ <string>Y15</string>
+ </entry>
+ </elementAttributes>
+ <pos x="600" y="120"/>
+ </visualElement>
+ <visualElement>
+ <elementName>Not</elementName>
+ <elementAttributes>
+ <entry>
+ <string>rotation</string>
+ <rotation rotation="3"/>
+ </entry>
+ </elementAttributes>
+ <pos x="620" y="160"/>
+ </visualElement>
+ </visualElements>
+ <wires>
+ <wire>
+ <p1 x="540" y="480"/>
+ <p2 x="660" y="480"/>
+ </wire>
+ <wire>
+ <p1 x="780" y="480"/>
+ <p2 x="800" y="480"/>
+ </wire>
+ <wire>
+ <p1 x="620" y="640"/>
+ <p2 x="660" y="640"/>
+ </wire>
+ <wire>
+ <p1 x="740" y="260"/>
+ <p2 x="780" y="260"/>
+ </wire>
+ <wire>
+ <p1 x="440" y="420"/>
+ <p2 x="660" y="420"/>
+ </wire>
+ <wire>
+ <p1 x="760" y="420"/>
+ <p2 x="800" y="420"/>
+ </wire>
+ <wire>
+ <p1 x="480" y="580"/>
+ <p2 x="660" y="580"/>
+ </wire>
+ <wire>
+ <p1 x="540" y="360"/>
+ <p2 x="660" y="360"/>
+ </wire>
+ <wire>
+ <p1 x="600" y="520"/>
+ <p2 x="660" y="520"/>
+ </wire>
+ <wire>
+ <p1 x="420" y="140"/>
+ <p2 x="440" y="140"/>
+ </wire>
+ <wire>
+ <p1 x="480" y="140"/>
+ <p2 x="500" y="140"/>
+ </wire>
+ <wire>
+ <p1 x="540" y="140"/>
+ <p2 x="560" y="140"/>
+ </wire>
+ <wire>
+ <p1 x="600" y="140"/>
+ <p2 x="620" y="140"/>
+ </wire>
+ <wire>
+ <p1 x="440" y="300"/>
+ <p2 x="660" y="300"/>
+ </wire>
+ <wire>
+ <p1 x="500" y="460"/>
+ <p2 x="660" y="460"/>
+ </wire>
+ <wire>
+ <p1 x="760" y="460"/>
+ <p2 x="800" y="460"/>
+ </wire>
+ <wire>
+ <p1 x="740" y="620"/>
+ <p2 x="780" y="620"/>
+ </wire>
+ <wire>
+ <p1 x="560" y="240"/>
+ <p2 x="660" y="240"/>
+ </wire>
+ <wire>
+ <p1 x="780" y="400"/>
+ <p2 x="800" y="400"/>
+ </wire>
+ <wire>
+ <p1 x="620" y="400"/>
+ <p2 x="660" y="400"/>
+ </wire>
+ <wire>
+ <p1 x="480" y="340"/>
+ <p2 x="660" y="340"/>
+ </wire>
+ <wire>
+ <p1 x="740" y="500"/>
+ <p2 x="760" y="500"/>
+ </wire>
+ <wire>
+ <p1 x="420" y="660"/>
+ <p2 x="660" y="660"/>
+ </wire>
+ <wire>
+ <p1 x="600" y="280"/>
+ <p2 x="660" y="280"/>
+ </wire>
+ <wire>
+ <p1 x="560" y="600"/>
+ <p2 x="660" y="600"/>
+ </wire>
+ <wire>
+ <p1 x="880" y="440"/>
+ <p2 x="900" y="440"/>
+ </wire>
+ <wire>
+ <p1 x="500" y="220"/>
+ <p2 x="660" y="220"/>
+ </wire>
+ <wire>
+ <p1 x="740" y="380"/>
+ <p2 x="760" y="380"/>
+ </wire>
+ <wire>
+ <p1 x="420" y="540"/>
+ <p2 x="660" y="540"/>
+ </wire>
+ <wire>
+ <p1 x="480" y="120"/>
+ <p2 x="480" y="140"/>
+ </wire>
+ <wire>
+ <p1 x="480" y="140"/>
+ <p2 x="480" y="340"/>
+ </wire>
+ <wire>
+ <p1 x="480" y="580"/>
+ <p2 x="480" y="680"/>
+ </wire>
+ <wire>
+ <p1 x="480" y="340"/>
+ <p2 x="480" y="580"/>
+ </wire>
+ <wire>
+ <p1 x="560" y="140"/>
+ <p2 x="560" y="160"/>
+ </wire>
+ <wire>
+ <p1 x="560" y="200"/>
+ <p2 x="560" y="240"/>
+ </wire>
+ <wire>
+ <p1 x="560" y="600"/>
+ <p2 x="560" y="680"/>
+ </wire>
+ <wire>
+ <p1 x="560" y="240"/>
+ <p2 x="560" y="600"/>
+ </wire>
+ <wire>
+ <p1 x="420" y="120"/>
+ <p2 x="420" y="140"/>
+ </wire>
+ <wire>
+ <p1 x="420" y="140"/>
+ <p2 x="420" y="540"/>
+ </wire>
+ <wire>
+ <p1 x="420" y="660"/>
+ <p2 x="420" y="680"/>
+ </wire>
+ <wire>
+ <p1 x="420" y="540"/>
+ <p2 x="420" y="660"/>
+ </wire>
+ <wire>
+ <p1 x="500" y="140"/>
+ <p2 x="500" y="160"/>
+ </wire>
+ <wire>
+ <p1 x="500" y="200"/>
+ <p2 x="500" y="220"/>
+ </wire>
+ <wire>
+ <p1 x="500" y="460"/>
+ <p2 x="500" y="680"/>
+ </wire>
+ <wire>
+ <p1 x="500" y="220"/>
+ <p2 x="500" y="460"/>
+ </wire>
+ <wire>
+ <p1 x="440" y="140"/>
+ <p2 x="440" y="160"/>
+ </wire>
+ <wire>
+ <p1 x="440" y="200"/>
+ <p2 x="440" y="300"/>
+ </wire>
+ <wire>
+ <p1 x="440" y="420"/>
+ <p2 x="440" y="680"/>
+ </wire>
+ <wire>
+ <p1 x="440" y="300"/>
+ <p2 x="440" y="420"/>
+ </wire>
+ <wire>
+ <p1 x="600" y="120"/>
+ <p2 x="600" y="140"/>
+ </wire>
+ <wire>
+ <p1 x="600" y="520"/>
+ <p2 x="600" y="680"/>
+ </wire>
+ <wire>
+ <p1 x="600" y="140"/>
+ <p2 x="600" y="280"/>
+ </wire>
+ <wire>
+ <p1 x="600" y="280"/>
+ <p2 x="600" y="520"/>
+ </wire>
+ <wire>
+ <p1 x="760" y="380"/>
+ <p2 x="760" y="420"/>
+ </wire>
+ <wire>
+ <p1 x="760" y="460"/>
+ <p2 x="760" y="500"/>
+ </wire>
+ <wire>
+ <p1 x="540" y="120"/>
+ <p2 x="540" y="140"/>
+ </wire>
+ <wire>
+ <p1 x="540" y="480"/>
+ <p2 x="540" y="680"/>
+ </wire>
+ <wire>
+ <p1 x="540" y="360"/>
+ <p2 x="540" y="480"/>
+ </wire>
+ <wire>
+ <p1 x="540" y="140"/>
+ <p2 x="540" y="360"/>
+ </wire>
+ <wire>
+ <p1 x="620" y="140"/>
+ <p2 x="620" y="160"/>
+ </wire>
+ <wire>
+ <p1 x="620" y="200"/>
+ <p2 x="620" y="400"/>
+ </wire>
+ <wire>
+ <p1 x="620" y="640"/>
+ <p2 x="620" y="680"/>
+ </wire>
+ <wire>
+ <p1 x="620" y="400"/>
+ <p2 x="620" y="640"/>
+ </wire>
+ <wire>
+ <p1 x="780" y="260"/>
+ <p2 x="780" y="400"/>
+ </wire>
+ <wire>
+ <p1 x="780" y="480"/>
+ <p2 x="780" y="620"/>
+ </wire>
+ </wires>
+ <measurementOrdering/>
+</circuit> \ No newline at end of file