mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-30 00:18:37 -04:00
In debug mode also measurement values are shown
This commit is contained in:
parent
c53c522a71
commit
a3fc6845d4
@ -16,7 +16,7 @@
|
|||||||
<string>Zi</string>
|
<string>Zi</string>
|
||||||
</entry>
|
</entry>
|
||||||
</elementAttributes>
|
</elementAttributes>
|
||||||
<pos x="240" y="220"/>
|
<pos x="240" y="200"/>
|
||||||
</visualElement>
|
</visualElement>
|
||||||
<visualElement>
|
<visualElement>
|
||||||
<elementName>Out</elementName>
|
<elementName>Out</elementName>
|
||||||
@ -26,12 +26,21 @@
|
|||||||
<string>Zo</string>
|
<string>Zo</string>
|
||||||
</entry>
|
</entry>
|
||||||
</elementAttributes>
|
</elementAttributes>
|
||||||
<pos x="460" y="220"/>
|
<pos x="460" y="200"/>
|
||||||
</visualElement>
|
</visualElement>
|
||||||
<visualElement>
|
<visualElement>
|
||||||
<elementName>D_FF</elementName>
|
<elementName>D_FF</elementName>
|
||||||
<elementAttributes/>
|
<elementAttributes>
|
||||||
<pos x="360" y="140"/>
|
<entry>
|
||||||
|
<string>valueIsProbe</string>
|
||||||
|
<boolean>true</boolean>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<string>Label</string>
|
||||||
|
<string>C</string>
|
||||||
|
</entry>
|
||||||
|
</elementAttributes>
|
||||||
|
<pos x="360" y="100"/>
|
||||||
</visualElement>
|
</visualElement>
|
||||||
<visualElement>
|
<visualElement>
|
||||||
<elementName>In</elementName>
|
<elementName>In</elementName>
|
||||||
@ -55,8 +64,17 @@
|
|||||||
</visualElement>
|
</visualElement>
|
||||||
<visualElement>
|
<visualElement>
|
||||||
<elementName>D_FF</elementName>
|
<elementName>D_FF</elementName>
|
||||||
<elementAttributes/>
|
<elementAttributes>
|
||||||
<pos x="360" y="220"/>
|
<entry>
|
||||||
|
<string>valueIsProbe</string>
|
||||||
|
<boolean>true</boolean>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<string>Label</string>
|
||||||
|
<string>Z</string>
|
||||||
|
</entry>
|
||||||
|
</elementAttributes>
|
||||||
|
<pos x="360" y="200"/>
|
||||||
</visualElement>
|
</visualElement>
|
||||||
<visualElement>
|
<visualElement>
|
||||||
<elementName>In</elementName>
|
<elementName>In</elementName>
|
||||||
@ -66,7 +84,7 @@
|
|||||||
<string>Ci</string>
|
<string>Ci</string>
|
||||||
</entry>
|
</entry>
|
||||||
</elementAttributes>
|
</elementAttributes>
|
||||||
<pos x="240" y="140"/>
|
<pos x="240" y="100"/>
|
||||||
</visualElement>
|
</visualElement>
|
||||||
<visualElement>
|
<visualElement>
|
||||||
<elementName>Out</elementName>
|
<elementName>Out</elementName>
|
||||||
@ -76,11 +94,20 @@
|
|||||||
<string>Co</string>
|
<string>Co</string>
|
||||||
</entry>
|
</entry>
|
||||||
</elementAttributes>
|
</elementAttributes>
|
||||||
<pos x="460" y="140"/>
|
<pos x="460" y="100"/>
|
||||||
</visualElement>
|
</visualElement>
|
||||||
<visualElement>
|
<visualElement>
|
||||||
<elementName>D_FF</elementName>
|
<elementName>D_FF</elementName>
|
||||||
<elementAttributes/>
|
<elementAttributes>
|
||||||
|
<entry>
|
||||||
|
<string>valueIsProbe</string>
|
||||||
|
<boolean>true</boolean>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<string>Label</string>
|
||||||
|
<string>N</string>
|
||||||
|
</entry>
|
||||||
|
</elementAttributes>
|
||||||
<pos x="360" y="300"/>
|
<pos x="360" y="300"/>
|
||||||
</visualElement>
|
</visualElement>
|
||||||
<visualElement>
|
<visualElement>
|
||||||
@ -114,42 +141,42 @@
|
|||||||
<p1 x="340" y="320"/>
|
<p1 x="340" y="320"/>
|
||||||
<p2 x="360" y="320"/>
|
<p2 x="360" y="320"/>
|
||||||
</wire>
|
</wire>
|
||||||
<wire>
|
|
||||||
<p1 x="340" y="240"/>
|
|
||||||
<p2 x="360" y="240"/>
|
|
||||||
</wire>
|
|
||||||
<wire>
|
|
||||||
<p1 x="340" y="160"/>
|
|
||||||
<p2 x="360" y="160"/>
|
|
||||||
</wire>
|
|
||||||
<wire>
|
<wire>
|
||||||
<p1 x="240" y="400"/>
|
<p1 x="240" y="400"/>
|
||||||
<p2 x="260" y="400"/>
|
<p2 x="260" y="400"/>
|
||||||
</wire>
|
</wire>
|
||||||
|
<wire>
|
||||||
|
<p1 x="420" y="100"/>
|
||||||
|
<p2 x="460" y="100"/>
|
||||||
|
</wire>
|
||||||
|
<wire>
|
||||||
|
<p1 x="240" y="100"/>
|
||||||
|
<p2 x="360" y="100"/>
|
||||||
|
</wire>
|
||||||
<wire>
|
<wire>
|
||||||
<p1 x="240" y="360"/>
|
<p1 x="240" y="360"/>
|
||||||
<p2 x="260" y="360"/>
|
<p2 x="260" y="360"/>
|
||||||
</wire>
|
</wire>
|
||||||
|
<wire>
|
||||||
|
<p1 x="340" y="120"/>
|
||||||
|
<p2 x="360" y="120"/>
|
||||||
|
</wire>
|
||||||
|
<wire>
|
||||||
|
<p1 x="420" y="200"/>
|
||||||
|
<p2 x="460" y="200"/>
|
||||||
|
</wire>
|
||||||
|
<wire>
|
||||||
|
<p1 x="240" y="200"/>
|
||||||
|
<p2 x="360" y="200"/>
|
||||||
|
</wire>
|
||||||
|
<wire>
|
||||||
|
<p1 x="340" y="220"/>
|
||||||
|
<p2 x="360" y="220"/>
|
||||||
|
</wire>
|
||||||
<wire>
|
<wire>
|
||||||
<p1 x="320" y="380"/>
|
<p1 x="320" y="380"/>
|
||||||
<p2 x="340" y="380"/>
|
<p2 x="340" y="380"/>
|
||||||
</wire>
|
</wire>
|
||||||
<wire>
|
|
||||||
<p1 x="420" y="140"/>
|
|
||||||
<p2 x="460" y="140"/>
|
|
||||||
</wire>
|
|
||||||
<wire>
|
|
||||||
<p1 x="240" y="140"/>
|
|
||||||
<p2 x="360" y="140"/>
|
|
||||||
</wire>
|
|
||||||
<wire>
|
|
||||||
<p1 x="420" y="220"/>
|
|
||||||
<p2 x="460" y="220"/>
|
|
||||||
</wire>
|
|
||||||
<wire>
|
|
||||||
<p1 x="240" y="220"/>
|
|
||||||
<p2 x="360" y="220"/>
|
|
||||||
</wire>
|
|
||||||
<wire>
|
<wire>
|
||||||
<p1 x="420" y="300"/>
|
<p1 x="420" y="300"/>
|
||||||
<p2 x="460" y="300"/>
|
<p2 x="460" y="300"/>
|
||||||
@ -159,16 +186,16 @@
|
|||||||
<p2 x="360" y="300"/>
|
<p2 x="360" y="300"/>
|
||||||
</wire>
|
</wire>
|
||||||
<wire>
|
<wire>
|
||||||
<p1 x="340" y="160"/>
|
<p1 x="340" y="120"/>
|
||||||
<p2 x="340" y="240"/>
|
<p2 x="340" y="220"/>
|
||||||
|
</wire>
|
||||||
|
<wire>
|
||||||
|
<p1 x="340" y="220"/>
|
||||||
|
<p2 x="340" y="320"/>
|
||||||
</wire>
|
</wire>
|
||||||
<wire>
|
<wire>
|
||||||
<p1 x="340" y="320"/>
|
<p1 x="340" y="320"/>
|
||||||
<p2 x="340" y="380"/>
|
<p2 x="340" y="380"/>
|
||||||
</wire>
|
</wire>
|
||||||
<wire>
|
|
||||||
<p1 x="340" y="240"/>
|
|
||||||
<p2 x="340" y="320"/>
|
|
||||||
</wire>
|
|
||||||
</wires>
|
</wires>
|
||||||
</circuit>
|
</circuit>
|
@ -1008,6 +1008,7 @@ public class Main extends JFrame implements ClosingWindowListener.ConfirmSave, E
|
|||||||
private void setDebug(boolean debug) throws RemoteException {
|
private void setDebug(boolean debug) throws RemoteException {
|
||||||
VisualElement rom = getProgramRomFromCircuit();
|
VisualElement rom = getProgramRomFromCircuit();
|
||||||
rom.getElementAttributes().set(Keys.SHOW_LISTING, debug);
|
rom.getElementAttributes().set(Keys.SHOW_LISTING, debug);
|
||||||
|
settings.set(Keys.SHOW_DATA_TABLE, debug);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user