projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented set/getHighLevelState for most components
[Mograsim.git]
/
net.mograsim.logic.ui
/
src
/
net
/
mograsim
/
logic
/
ui
/
model
/
wires
/
GUIWire.java
diff --git
a/net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/wires/GUIWire.java
b/net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/wires/GUIWire.java
index
db6d440
..
99adc4c
100644
(file)
--- a/
net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/wires/GUIWire.java
+++ b/
net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/wires/GUIWire.java
@@
-327,6
+327,15
@@
public class GUIWire
end.getWire().forceValues(values);
}
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
// listeners
// @formatter:off