mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-23 12:21:05 -04:00
added fixpoint format to mandelbrot calculator
This commit is contained in:
parent
a8a67ba1cf
commit
e79c97bb63
@ -24,9 +24,21 @@
|
||||
<string>Bits</string>
|
||||
<int>20</int>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>fixedPoint</string>
|
||||
<int>14</int>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>intFormat</string>
|
||||
<intFormat>decSigned</intFormat>
|
||||
<de.neemann.digital.core.IntFormatFixedPoint>
|
||||
<name>fixedSigned</name>
|
||||
<signed>true</signed>
|
||||
<fixedPoint>0</fixedPoint>
|
||||
</de.neemann.digital.core.IntFormatFixedPoint>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>InDefault</string>
|
||||
<value v="32768" z="false"/>
|
||||
</entry>
|
||||
</elementAttributes>
|
||||
<pos x="260" y="180"/>
|
||||
@ -42,9 +54,17 @@
|
||||
<string>Bits</string>
|
||||
<int>20</int>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>fixedPoint</string>
|
||||
<int>14</int>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>intFormat</string>
|
||||
<intFormat>decSigned</intFormat>
|
||||
<de.neemann.digital.core.IntFormatFixedPoint reference="../../../../visualElement/elementAttributes/entry[4]/de.neemann.digital.core.IntFormatFixedPoint"/>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>InDefault</string>
|
||||
<value v="57344" z="false"/>
|
||||
</entry>
|
||||
</elementAttributes>
|
||||
<pos x="260" y="420"/>
|
||||
@ -85,6 +105,14 @@
|
||||
<string>Bits</string>
|
||||
<int>20</int>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>fixedPoint</string>
|
||||
<int>14</int>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>intFormat</string>
|
||||
<de.neemann.digital.core.IntFormatFixedPoint reference="../../../../visualElement/elementAttributes/entry[4]/de.neemann.digital.core.IntFormatFixedPoint"/>
|
||||
</entry>
|
||||
</elementAttributes>
|
||||
<pos x="600" y="200"/>
|
||||
</visualElement>
|
||||
@ -114,6 +142,14 @@
|
||||
<string>Bits</string>
|
||||
<int>20</int>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>fixedPoint</string>
|
||||
<int>14</int>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>intFormat</string>
|
||||
<de.neemann.digital.core.IntFormatFixedPoint reference="../../../../visualElement/elementAttributes/entry[4]/de.neemann.digital.core.IntFormatFixedPoint"/>
|
||||
</entry>
|
||||
</elementAttributes>
|
||||
<pos x="600" y="380"/>
|
||||
</visualElement>
|
||||
@ -171,6 +207,14 @@
|
||||
<string>Bits</string>
|
||||
<int>20</int>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>fixedPoint</string>
|
||||
<int>14</int>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>intFormat</string>
|
||||
<de.neemann.digital.core.IntFormatFixedPoint reference="../../../../visualElement/elementAttributes/entry[4]/de.neemann.digital.core.IntFormatFixedPoint"/>
|
||||
</entry>
|
||||
</elementAttributes>
|
||||
<pos x="600" y="280"/>
|
||||
</visualElement>
|
||||
|
@ -70,6 +70,18 @@
|
||||
<string>Bits</string>
|
||||
<int>20</int>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>fixedPoint</string>
|
||||
<int>14</int>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>intFormat</string>
|
||||
<de.neemann.digital.core.IntFormatFixedPoint>
|
||||
<name>fixedSigned</name>
|
||||
<signed>true</signed>
|
||||
<fixedPoint>0</fixedPoint>
|
||||
</de.neemann.digital.core.IntFormatFixedPoint>
|
||||
</entry>
|
||||
</elementAttributes>
|
||||
<pos x="520" y="220"/>
|
||||
</visualElement>
|
||||
@ -89,6 +101,14 @@
|
||||
<string>Bits</string>
|
||||
<int>20</int>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>fixedPoint</string>
|
||||
<int>14</int>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>intFormat</string>
|
||||
<de.neemann.digital.core.IntFormatFixedPoint reference="../../../../visualElement[6]/elementAttributes/entry[5]/de.neemann.digital.core.IntFormatFixedPoint"/>
|
||||
</entry>
|
||||
</elementAttributes>
|
||||
<pos x="520" y="340"/>
|
||||
</visualElement>
|
||||
|
@ -30,9 +30,21 @@
|
||||
<string>Bits</string>
|
||||
<int>20</int>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>fixedPoint</string>
|
||||
<int>14</int>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>intFormat</string>
|
||||
<intFormat>decSigned</intFormat>
|
||||
<de.neemann.digital.core.IntFormatFixedPoint>
|
||||
<name>fixedSigned</name>
|
||||
<signed>true</signed>
|
||||
<fixedPoint>0</fixedPoint>
|
||||
</de.neemann.digital.core.IntFormatFixedPoint>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>InDefault</string>
|
||||
<value v="6144" z="false"/>
|
||||
</entry>
|
||||
</elementAttributes>
|
||||
<pos x="500" y="200"/>
|
||||
@ -53,9 +65,17 @@
|
||||
<string>Bits</string>
|
||||
<int>20</int>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>fixedPoint</string>
|
||||
<int>14</int>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>intFormat</string>
|
||||
<intFormat>decSigned</intFormat>
|
||||
<de.neemann.digital.core.IntFormatFixedPoint>
|
||||
<name>fixedSigned</name>
|
||||
<signed>true</signed>
|
||||
<fixedPoint>0</fixedPoint>
|
||||
</de.neemann.digital.core.IntFormatFixedPoint>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>InDefault</string>
|
||||
@ -143,6 +163,14 @@
|
||||
<string>Bits</string>
|
||||
<int>20</int>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>fixedPoint</string>
|
||||
<int>14</int>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>intFormat</string>
|
||||
<de.neemann.digital.core.IntFormatFixedPoint reference="../../../../visualElement[3]/elementAttributes/entry[5]/de.neemann.digital.core.IntFormatFixedPoint"/>
|
||||
</entry>
|
||||
</elementAttributes>
|
||||
<pos x="720" y="460"/>
|
||||
</visualElement>
|
||||
@ -230,6 +258,42 @@
|
||||
</elementAttributes>
|
||||
<pos x="840" y="260"/>
|
||||
</visualElement>
|
||||
<visualElement>
|
||||
<elementName>Probe</elementName>
|
||||
<elementAttributes>
|
||||
<entry>
|
||||
<string>Label</string>
|
||||
<string>a</string>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>fixedPoint</string>
|
||||
<int>14</int>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>intFormat</string>
|
||||
<de.neemann.digital.core.IntFormatFixedPoint reference="../../../../visualElement[3]/elementAttributes/entry[5]/de.neemann.digital.core.IntFormatFixedPoint"/>
|
||||
</entry>
|
||||
</elementAttributes>
|
||||
<pos x="1060" y="220"/>
|
||||
</visualElement>
|
||||
<visualElement>
|
||||
<elementName>Probe</elementName>
|
||||
<elementAttributes>
|
||||
<entry>
|
||||
<string>Label</string>
|
||||
<string>b</string>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>fixedPoint</string>
|
||||
<int>14</int>
|
||||
</entry>
|
||||
<entry>
|
||||
<string>intFormat</string>
|
||||
<de.neemann.digital.core.IntFormatFixedPoint reference="../../../../visualElement[3]/elementAttributes/entry[5]/de.neemann.digital.core.IntFormatFixedPoint"/>
|
||||
</entry>
|
||||
</elementAttributes>
|
||||
<pos x="1060" y="340"/>
|
||||
</visualElement>
|
||||
</visualElements>
|
||||
<wires>
|
||||
<wire>
|
||||
@ -316,6 +380,10 @@
|
||||
<p1 x="1000" y="340"/>
|
||||
<p2 x="1040" y="340"/>
|
||||
</wire>
|
||||
<wire>
|
||||
<p1 x="1040" y="340"/>
|
||||
<p2 x="1060" y="340"/>
|
||||
</wire>
|
||||
<wire>
|
||||
<p1 x="800" y="440"/>
|
||||
<p2 x="960" y="440"/>
|
||||
@ -348,6 +416,10 @@
|
||||
<p1 x="1000" y="220"/>
|
||||
<p2 x="1020" y="220"/>
|
||||
</wire>
|
||||
<wire>
|
||||
<p1 x="1020" y="220"/>
|
||||
<p2 x="1060" y="220"/>
|
||||
</wire>
|
||||
<wire>
|
||||
<p1 x="1040" y="140"/>
|
||||
<p2 x="1040" y="340"/>
|
||||
|
@ -509,6 +509,7 @@ public final class Keys {
|
||||
.setMin(1)
|
||||
.setMax(64)
|
||||
.setDependsOn(INT_FORMAT, intFormat -> intFormat instanceof IntFormatFixedPoint)
|
||||
.allowGroupEdit()
|
||||
.setSecondary();
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user