Implemented set/getHighLevelState for most components
[Mograsim.git] / net.mograsim.logic.ui / src / net / mograsim / logic / ui / model / wires / GUIWire.java
index db6d440..99adc4c 100644 (file)
@@ -327,6 +327,15 @@ public class GUIWire
                end.getWire().forceValues(values);
        }
 
+       /**
+        * If this {@link GUIWire} has a logic model binding, delegates to {@link ReadEnd#getValues()} for the {@link ReadEnd} corresponding to
+        * this {@link GUIWire}.
+        */
+       public BitVector getWireValues()
+       {
+               return end.getValues();
+       }
+
        // listeners
 
        // @formatter:off