fixed the ALU shape

This commit is contained in:
hneemann 2018-12-03 10:54:27 +01:00
parent 641dca22da
commit 0c36b048a7
3 changed files with 38 additions and 39 deletions

View File

@ -29,63 +29,63 @@ bei der Speicheradressierung verwendet.}}</string>
<entry>
<string>A</string>
<pin>
<pos x="0" y="-20"/>
<pos x="0" y="0"/>
<showLabel>false</showLabel>
</pin>
</entry>
<entry>
<string>Op</string>
<pin>
<pos x="60" y="80"/>
<pos x="60" y="100"/>
<showLabel>false</showLabel>
</pin>
</entry>
<entry>
<string>Neg</string>
<pin>
<pos x="80" y="40"/>
<pos x="80" y="60"/>
<showLabel>false</showLabel>
</pin>
</entry>
<entry>
<string>B</string>
<pin>
<pos x="0" y="80"/>
<pos x="0" y="100"/>
<showLabel>false</showLabel>
</pin>
</entry>
<entry>
<string>Zero</string>
<pin>
<pos x="80" y="20"/>
<pos x="80" y="40"/>
<showLabel>false</showLabel>
</pin>
</entry>
<entry>
<string>Ci</string>
<pin>
<pos x="0" y="100"/>
<pos x="0" y="120"/>
<showLabel>false</showLabel>
</pin>
</entry>
<entry>
<string>Carry</string>
<pin>
<pos x="80" y="60"/>
<pos x="80" y="80"/>
<showLabel>false</showLabel>
</pin>
</entry>
<entry>
<string>Y</string>
<pin>
<pos x="80" y="0"/>
<pos x="80" y="20"/>
<showLabel>false</showLabel>
</pin>
</entry>
</pins>
<drawables>
<poly>
<poly path="M 0,-50 L 80,-10 L 80,70 L 0,110 L 0,40 L 30,30 L 0,20 Z" evenOdd="false"/>
<poly path="M 0,-30 L 80,10 L 80,90 L 0,130 L 0,60 L 30,50 L 0,40 Z" evenOdd="false"/>
<thickness>4</thickness>
<filled>true</filled>
<color>
@ -107,8 +107,8 @@ bei der Speicheradressierung verwendet.}}</string>
</color>
</poly>
<text>
<p1 x="4" y="-15"/>
<p2 x="5" y="-15"/>
<p1 x="4" y="6"/>
<p2 x="5" y="6"/>
<text>A</text>
<orientation>LEFTBOTTOM</orientation>
<size>18</size>
@ -120,8 +120,8 @@ bei der Speicheradressierung verwendet.}}</string>
</color>
</text>
<text>
<p1 x="4" y="86"/>
<p2 x="5" y="86"/>
<p1 x="4" y="106"/>
<p2 x="5" y="106"/>
<text>B</text>
<orientation>LEFTBOTTOM</orientation>
<size>18</size>
@ -133,8 +133,8 @@ bei der Speicheradressierung verwendet.}}</string>
</color>
</text>
<text>
<p1 x="23" y="82"/>
<p2 x="24" y="82"/>
<p1 x="23" y="102"/>
<p2 x="24" y="102"/>
<text>Op</text>
<orientation>LEFTBOTTOM</orientation>
<size>18</size>
@ -146,8 +146,8 @@ bei der Speicheradressierung verwendet.}}</string>
</color>
</text>
<text>
<p1 x="4" y="105"/>
<p2 x="5" y="105"/>
<p1 x="4" y="126"/>
<p2 x="5" y="126"/>
<text>Ci</text>
<orientation>LEFTBOTTOM</orientation>
<size>18</size>
@ -159,8 +159,8 @@ bei der Speicheradressierung verwendet.}}</string>
</color>
</text>
<text>
<p1 x="76" y="6"/>
<p2 x="77" y="6"/>
<p1 x="76" y="27"/>
<p2 x="77" y="27"/>
<text>Y</text>
<orientation>RIGHTBOTTOM</orientation>
<size>18</size>
@ -172,8 +172,8 @@ bei der Speicheradressierung verwendet.}}</string>
</color>
</text>
<text>
<p1 x="76" y="26"/>
<p2 x="77" y="26"/>
<p1 x="76" y="47"/>
<p2 x="77" y="47"/>
<text>Zero</text>
<orientation>RIGHTBOTTOM</orientation>
<size>18</size>
@ -185,8 +185,8 @@ bei der Speicheradressierung verwendet.}}</string>
</color>
</text>
<text>
<p1 x="76" y="46"/>
<p2 x="77" y="46"/>
<p1 x="76" y="67"/>
<p2 x="77" y="67"/>
<text>Neg</text>
<orientation>RIGHTBOTTOM</orientation>
<size>18</size>
@ -198,8 +198,8 @@ bei der Speicheradressierung verwendet.}}</string>
</color>
</text>
<text>
<p1 x="76" y="66"/>
<p2 x="77" y="66"/>
<p1 x="76" y="87"/>
<p2 x="77" y="87"/>
<text>Carry</text>
<orientation>RIGHTBOTTOM</orientation>
<size>18</size>

View File

@ -29,8 +29,8 @@
showgrid="true"
id="namedview4"
inkscape:zoom="3.5454545"
inkscape:cx="121.41026"
inkscape:cy="110"
inkscape:cx="120"
inkscape:cy="87.435899"
inkscape:window-width="1680"
inkscape:window-height="1002"
inkscape:window-x="0"
@ -46,13 +46,12 @@
</sodipodi:namedview>
<path
style="fill:#ffffb4;fill-opacity:0.78431373;stroke:#000000;stroke-width:3"
d="m 0,-50 80,40 V 70 L 0,110 V 40 L 30,30 0,20 Z"
d="M 0,-30 80,10 V 90 L 0,130 V 60 L 30,50 0,40 Z"
id="rect6"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccc" />
<g
id="g11"
transform="translate(0,-20.589744)">
id="g11">
<circle
id="pin:A"
cx="0"
@ -68,7 +67,7 @@
</g>
<g
id="g16"
transform="translate(0.28205128,59.512821)">
transform="translate(0.28205128,80.102565)">
<circle
id="pin:B"
cx="0"
@ -85,18 +84,18 @@
<circle
style="fill:#0000b2"
r="3"
cy="79.886063"
cy="100.47581"
cx="59.743538"
id="pin:Op" />
<text
style="font-size:17px;fill:#808080"
id="text19"
y="81.598099"
y="102.18784"
x="22.559103"
font-size="17">Op</text>
<g
id="g26"
transform="translate(-0.28205129,39.48718)">
transform="translate(-0.28205129,60.076924)">
<circle
id="pin:Ci"
cx="0"
@ -112,7 +111,7 @@
</g>
<g
id="g31"
transform="translate(-2.5641015e-8,0.28205128)">
transform="translate(-2.5641015e-8,20.871795)">
<circle
id="pin:Y"
cx="80"
@ -128,7 +127,7 @@
</g>
<g
id="g36"
transform="translate(-2.5641015e-8,0.28205128)">
transform="translate(-2.5641015e-8,20.871795)">
<circle
id="pin:Zero"
cx="80"
@ -144,7 +143,7 @@
</g>
<g
id="g41"
transform="translate(-2.5641015e-8,0.28205128)">
transform="translate(-2.5641015e-8,20.871795)">
<circle
id="pin:Neg"
cx="80"
@ -160,7 +159,7 @@
</g>
<g
id="g46"
transform="translate(-2.5641015e-8,0.28205128)">
transform="translate(-2.5641015e-8,20.871795)">
<circle
id="pin:Carry"
cx="80"

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@ -107,7 +107,7 @@ Single-Cycle CPU.}}</string>
<visualElement>
<elementName>ALU.dig</elementName>
<elementAttributes/>
<pos x="1080" y="100"/>
<pos x="1080" y="80"/>
</visualElement>
<visualElement>
<elementName>Driver</elementName>