projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Timeline updated (executeUntil, setTimeFunction)
[Mograsim.git]
/
LogicUI
/
src
/
era
/
mi
/
gui
/
examples
/
RSLatchGUIExample.java
diff --git
a/LogicUI/src/era/mi/gui/examples/RSLatchGUIExample.java
b/LogicUI/src/era/mi/gui/examples/RSLatchGUIExample.java
index
dc6091f
..
76a10f8
100644
(file)
--- a/
LogicUI/src/era/mi/gui/examples/RSLatchGUIExample.java
+++ b/
LogicUI/src/era/mi/gui/examples/RSLatchGUIExample.java
@@
-19,6
+19,7
@@
public class RSLatchGUIExample
public static void main(String[] args)
{
Timeline t = new Timeline(11);
public static void main(String[] args)
{
Timeline t = new Timeline(11);
+ t.setTimeFunction(() -> System.currentTimeMillis()); // real time simulation
LogicUIStandalone ui = new LogicUIStandalone(t);
addComponentsAndWires(ui.getLogicUICanvas(), t);
ui.run();
LogicUIStandalone ui = new LogicUIStandalone(t);
addComponentsAndWires(ui.getLogicUICanvas(), t);
ui.run();