ModelComponentTestbench works again
[Mograsim.git] / plugins / net.mograsim.logic.model / src / net / mograsim / logic / model / SimpleLogicUIStandalone.java
index 03d0335..b84877e 100644 (file)
@@ -18,6 +18,7 @@ public class SimpleLogicUIStandalone
        {
                CoreModelParameters params = new CoreModelParameters();
                params.gateProcessTime = 50;
+               params.hardcodedComponentProcessTime = params.gateProcessTime * 5;
                params.wireTravelTime = 10;
                executeVisualisation(setupLogicModel, params, beforeRun);
        }
@@ -45,6 +46,7 @@ public class SimpleLogicUIStandalone
                        beforeRun.accept(new VisualisationObjects(logicModel, timeline, ui, exec));
 
                // run it
+               exec.setSpeedFactor(1);
                exec.startLiveExecution();
                ui.run();
                exec.stopLiveExecution();