Mograsim.git
5 years agoFixed a bug causing removed pins to still be listed in getInputPins()
Daniel Kirschten [Wed, 5 Jun 2019 13:10:41 +0000 (15:10 +0200)]
Fixed a bug causing removed pins to still be listed in getInputPins()

5 years agoRenamed drawComponent to renderComponent
Daniel Kirschten [Wed, 5 Jun 2019 12:33:16 +0000 (14:33 +0200)]
Renamed drawComponent to renderComponent

5 years agoImplemented GUIhalfadder
Daniel Kirschten [Wed, 5 Jun 2019 12:22:16 +0000 (14:22 +0200)]
Implemented GUIhalfadder

5 years agoSubmodelComponent now reports rounded coordinates, too
Daniel Kirschten [Wed, 5 Jun 2019 12:22:05 +0000 (14:22 +0200)]
SubmodelComponent now reports rounded coordinates, too

5 years agoAdded convenience constructors in GUIWire
Daniel Kirschten [Wed, 5 Jun 2019 11:41:04 +0000 (13:41 +0200)]
Added convenience constructors in GUIWire

These take a WireCrossPoint instead of a Pin as pin1/pin2.

5 years agoImplemented GUIdlatch4
Daniel Kirschten [Wed, 5 Jun 2019 11:32:16 +0000 (13:32 +0200)]
Implemented GUIdlatch4

5 years agoImplemented GUIdlatch
Daniel Kirschten [Wed, 5 Jun 2019 11:15:14 +0000 (13:15 +0200)]
Implemented GUIdlatch

5 years agoSubmodelComponent now prints click coordinates
Daniel Kirschten [Wed, 5 Jun 2019 11:14:53 +0000 (13:14 +0200)]
SubmodelComponent now prints click coordinates

5 years agoViewLogicModelAdapter now uses NandGate for GUINandGate
Daniel Kirschten [Wed, 5 Jun 2019 10:47:13 +0000 (12:47 +0200)]
ViewLogicModelAdapter now uses NandGate for GUINandGate

5 years agoMade submodel rendering faster
Daniel Kirschten [Wed, 5 Jun 2019 10:46:31 +0000 (12:46 +0200)]
Made submodel rendering faster

5 years agoImplemented GUIdff
Daniel Kirschten [Wed, 5 Jun 2019 10:26:53 +0000 (12:26 +0200)]
Implemented GUIdff

5 years agoUpdated to new SWTHelper version
Daniel Kirschten [Wed, 5 Jun 2019 10:26:33 +0000 (12:26 +0200)]
Updated to new SWTHelper version

5 years agoFixed nand and nor gate to work with more than two inputs
Fabian Stemmler [Wed, 5 Jun 2019 05:26:31 +0000 (07:26 +0200)]
Fixed nand and nor gate to work with more than two inputs

5 years agoAdded nand and nor gate due to popular demand
Fabian Stemmler [Tue, 4 Jun 2019 20:21:01 +0000 (22:21 +0200)]
Added nand and nor gate due to popular demand

5 years agoUpdated to new SWTHelper version
Daniel Kirschten [Tue, 4 Jun 2019 16:06:34 +0000 (18:06 +0200)]
Updated to new SWTHelper version

5 years agoAdded gate/wire delay in SubmodelComponentTestbench
Daniel Kirschten [Tue, 4 Jun 2019 13:32:13 +0000 (15:32 +0200)]
Added gate/wire delay in SubmodelComponentTestbench

5 years agoImplemented GUInand3
Daniel Kirschten [Tue, 4 Jun 2019 13:31:35 +0000 (15:31 +0200)]
Implemented GUInand3

5 years agoImplemented GUIdemux2
Daniel Kirschten [Tue, 4 Jun 2019 13:09:19 +0000 (15:09 +0200)]
Implemented GUIdemux2

5 years agoMade GUIand41 prettier
Daniel Kirschten [Tue, 4 Jun 2019 09:51:59 +0000 (11:51 +0200)]
Made GUIand41 prettier

5 years agoImplemented GUIandor414
Daniel Kirschten [Tue, 4 Jun 2019 09:42:07 +0000 (11:42 +0200)]
Implemented GUIandor414

5 years agoImplemented GUIor_4
Daniel Kirschten [Tue, 4 Jun 2019 09:16:39 +0000 (11:16 +0200)]
Implemented GUIor_4

5 years agoMade submodel alpha transition shorter
Daniel Kirschten [Tue, 4 Jun 2019 09:08:34 +0000 (11:08 +0200)]
Made submodel alpha transition shorter

5 years agoChanged formatting of initSubmodelComponents
Daniel Kirschten [Tue, 4 Jun 2019 08:27:54 +0000 (10:27 +0200)]
Changed formatting of initSubmodelComponents

5 years agoImplemented GUIand41
Daniel Kirschten [Tue, 4 Jun 2019 06:15:00 +0000 (08:15 +0200)]
Implemented GUIand41

5 years agoRenamed ModularAm2901Example to SubmodelComponentTestbench
Daniel Kirschten [Tue, 4 Jun 2019 06:11:22 +0000 (08:11 +0200)]
Renamed ModularAm2901Example to SubmodelComponentTestbench

5 years agoAdded getter for submodel interface pins in GUIand and GUI_rsLatch
Daniel Kirschten [Tue, 4 Jun 2019 06:00:50 +0000 (08:00 +0200)]
Added getter for submodel interface pins in GUIand and GUI_rsLatch

5 years agoUpdated to newer SWTHelper version fixing a problem in GCConfig
Daniel Kirschten [Tue, 4 Jun 2019 05:53:35 +0000 (07:53 +0200)]
Updated to newer SWTHelper version fixing a problem in GCConfig

5 years agoImplemented GUIand
Daniel Kirschten [Tue, 4 Jun 2019 05:20:49 +0000 (07:20 +0200)]
Implemented GUIand

5 years agoMade comments about @SuppressWarnings uniform
Daniel Kirschten [Tue, 4 Jun 2019 05:05:40 +0000 (07:05 +0200)]
Made comments about @SuppressWarnings uniform

5 years agoEclipse e4 and translation experiments
Christian Femers [Tue, 4 Jun 2019 01:52:04 +0000 (03:52 +0200)]
Eclipse e4 and translation experiments

5 years agoImplemented GUI_rsLatch
Daniel Kirschten [Mon, 3 Jun 2019 21:52:51 +0000 (23:52 +0200)]
Implemented GUI_rsLatch

5 years agoImproved SubmodelComponent rendering: Font for labels is now fixed
Daniel Kirschten [Mon, 3 Jun 2019 21:35:49 +0000 (23:35 +0200)]
Improved SubmodelComponent rendering: Font for labels is now fixed

5 years agoCreated GUINandGate
Daniel Kirschten [Mon, 3 Jun 2019 21:28:02 +0000 (23:28 +0200)]
Created GUINandGate

5 years agoCleaned up ComponentAdapter interface
Daniel Kirschten [Mon, 3 Jun 2019 21:23:32 +0000 (23:23 +0200)]
Cleaned up ComponentAdapter interface

5 years agoRenamed Am2901NANDBased to AtomicAm2901NANDBased
Daniel Kirschten [Mon, 3 Jun 2019 21:14:36 +0000 (23:14 +0200)]
Renamed Am2901NANDBased to AtomicAm2901NANDBased

5 years agoRemoved old code
Daniel Kirschten [Mon, 3 Jun 2019 21:03:19 +0000 (23:03 +0200)]
Removed old code

5 years agoSubmodelComponents now have a label shown when zoomed out
Daniel Kirschten [Mon, 3 Jun 2019 20:41:38 +0000 (22:41 +0200)]
SubmodelComponents now have a label shown when zoomed out

5 years agoImproved submodule rendering
Daniel Kirschten [Mon, 3 Jun 2019 20:35:53 +0000 (22:35 +0200)]
Improved submodule rendering

5 years agoFixed stupid bug causing submodules not to work
Daniel Kirschten [Mon, 3 Jun 2019 20:14:55 +0000 (22:14 +0200)]
Fixed stupid bug causing submodules not to work

5 years agoOrganized imports in all three projects
Daniel Kirschten [Mon, 3 Jun 2019 20:12:44 +0000 (22:12 +0200)]
Organized imports in all three projects

5 years agoUpdated LogicUIPart to ViewModelModifiable change
Daniel Kirschten [Mon, 3 Jun 2019 20:11:58 +0000 (22:11 +0200)]
Updated LogicUIPart to ViewModelModifiable change

5 years agoAdded SubmodelComponent
Daniel Kirschten [Mon, 3 Jun 2019 20:11:22 +0000 (22:11 +0200)]
Added SubmodelComponent

5 years agoCleanups in bounding box rendering
Daniel Kirschten [Mon, 3 Jun 2019 20:11:12 +0000 (22:11 +0200)]
Cleanups in bounding box rendering

5 years agoSplitted ViewModel and ViewModelModifiable
Daniel Kirschten [Mon, 3 Jun 2019 20:10:37 +0000 (22:10 +0200)]
Splitted ViewModel and ViewModelModifiable

5 years agoImproved rendering:
Daniel Kirschten [Mon, 3 Jun 2019 13:28:27 +0000 (15:28 +0200)]
Improved rendering:

-Splitted LogicUICanvas and LogicUIRenderer
-The ViewModel hierarchy supports redraw listeners

5 years agoImplemented hardcoded functional NAND-based Am2901
Daniel Kirschten [Mon, 3 Jun 2019 12:15:36 +0000 (14:15 +0200)]
Implemented hardcoded functional NAND-based Am2901

5 years agoImplemented GUIBitDisplay
Daniel Kirschten [Mon, 3 Jun 2019 12:15:15 +0000 (14:15 +0200)]
Implemented GUIBitDisplay

5 years agoSimpleLogicUIStandalone now supports custom LogicModelParameters
Daniel Kirschten [Mon, 3 Jun 2019 12:13:25 +0000 (14:13 +0200)]
SimpleLogicUIStandalone now supports custom LogicModelParameters

5 years agoWires now can have a name
Daniel Kirschten [Mon, 3 Jun 2019 12:12:35 +0000 (14:12 +0200)]
Wires now can have a name

5 years agoImproved GUIManualSwitch
Daniel Kirschten [Sun, 2 Jun 2019 20:01:40 +0000 (22:01 +0200)]
Improved GUIManualSwitch

5 years agoMade Timeline.timeCmp public again
Daniel Kirschten [Sun, 2 Jun 2019 19:53:12 +0000 (21:53 +0200)]
Made Timeline.timeCmp public again

5 years agoBitDisplay, ManualSwitch now Observable. More Docs added in Timeline.
Fabian Stemmler [Sun, 2 Jun 2019 13:44:42 +0000 (15:44 +0200)]
BitDisplay, ManualSwitch now Observable. More Docs added in Timeline.

5 years agoCleanup; Cleared warnings in the logic core
Fabian Stemmler [Sun, 2 Jun 2019 10:01:56 +0000 (12:01 +0200)]
Cleanup; Cleared warnings in the logic core

5 years agoGeneralized WireObserver to LogicObserver
Fabian Stemmler [Sun, 2 Jun 2019 09:33:57 +0000 (11:33 +0200)]
Generalized WireObserver to LogicObserver

5 years agoRenamed project folders to match the respective project name
Daniel Kirschten [Thu, 30 May 2019 04:34:12 +0000 (06:34 +0200)]
Renamed project folders to match the respective project name

5 years agoRenamed mograsim to net.mograsim
Daniel Kirschten [Thu, 30 May 2019 04:24:38 +0000 (06:24 +0200)]
Renamed mograsim to net.mograsim

5 years agoRenamed project to MoGraSim
Daniel Kirschten [Wed, 29 May 2019 20:59:35 +0000 (22:59 +0200)]
Renamed project to MoGraSim

5 years agoSuppressed warnings where the thing warned about is intentional
Daniel Kirschten [Wed, 29 May 2019 20:40:39 +0000 (22:40 +0200)]
Suppressed warnings where the thing warned about is intentional

5 years agoImproved waiting for isRunning state
Daniel Kirschten [Wed, 29 May 2019 20:38:37 +0000 (22:38 +0200)]
Improved waiting for isRunning state

5 years agoRemoved old classes RSLatchExample and GUIManualSwitch
Daniel Kirschten [Wed, 29 May 2019 20:32:23 +0000 (22:32 +0200)]
Removed old classes RSLatchExample and GUIManualSwitch

5 years agoProject specific error/warning settings
Christian Femers [Wed, 29 May 2019 20:24:30 +0000 (22:24 +0200)]
Project specific error/warning settings

5 years agoLogicUI works embedded in SampleERCP again
Daniel Kirschten [Wed, 29 May 2019 19:57:35 +0000 (21:57 +0200)]
LogicUI works embedded in SampleERCP again

5 years agoClass hierarchy cleanup:
Daniel Kirschten [Wed, 29 May 2019 19:49:54 +0000 (21:49 +0200)]
Class hierarchy cleanup:

-Splitted LogicUIStandalone into LogicUIStandaloneGUI and LogicExecuter
-Created SimpleLogicUIStandalone
-Renamed Playground to RSLatchExample
-Removed old example

5 years agoMade timeCmp public
Daniel Kirschten [Wed, 29 May 2019 19:47:49 +0000 (21:47 +0200)]
Made timeCmp public

5 years agoMerge remote-tracking branch 'origin/development' into development
Daniel Kirschten [Wed, 29 May 2019 19:14:08 +0000 (21:14 +0200)]
Merge remote-tracking branch 'origin/development' into development

5 years agoImprovements in rendering:
Daniel Kirschten [Wed, 29 May 2019 19:09:45 +0000 (21:09 +0200)]
Improvements in rendering:

-Line width now is scaled
-Wires are rendered first to make pins look better

5 years agoMerge branch 'development' of
Fabian Stemmler [Wed, 29 May 2019 16:12:22 +0000 (18:12 +0200)]
Merge branch 'development' of
https://gitlab.lrz.de/lrr-tum/students/eragp-misim-2019 into development

# Conflicts:
# LogicUI/oldsrc/RSLatchGUIExample.java

5 years agoMerge branch 'development' of
Fabian Stemmler [Wed, 29 May 2019 16:07:52 +0000 (18:07 +0200)]
Merge branch 'development' of
https://gitlab.lrz.de/lrr-tum/students/eragp-misim-2019 into development

# Conflicts:
# LogicUI/src/era/mi/gui/LogicUIStandalone.java

5 years agoRecreated RSLatchExample in Playground
Daniel Kirschten [Wed, 29 May 2019 15:56:29 +0000 (17:56 +0200)]
Recreated RSLatchExample in Playground

5 years agoCreated a working, usable example in Playground
Daniel Kirschten [Wed, 29 May 2019 15:45:28 +0000 (17:45 +0200)]
Created a working, usable example in Playground

5 years agoMade pin drawing optional
Daniel Kirschten [Wed, 29 May 2019 15:44:54 +0000 (17:44 +0200)]
Made pin drawing optional

5 years agoGUIManualSwitch now renders at the correct location
Daniel Kirschten [Wed, 29 May 2019 15:42:50 +0000 (17:42 +0200)]
GUIManualSwitch now renders at the correct location

5 years agoWireCrossPoint now renders at the correct location
Daniel Kirschten [Wed, 29 May 2019 15:40:05 +0000 (17:40 +0200)]
WireCrossPoint now renders at the correct location

5 years agoLogic model binding of WireCrossPoints is now being set
Daniel Kirschten [Wed, 29 May 2019 15:36:37 +0000 (17:36 +0200)]
Logic model binding of WireCrossPoints is now being set

5 years agoRestructured ComponentAdapter; added ManualSwitchAdapter
Daniel Kirschten [Wed, 29 May 2019 15:31:22 +0000 (17:31 +0200)]
Restructured ComponentAdapter; added ManualSwitchAdapter

5 years agoFixed redrawing bug
Daniel Kirschten [Wed, 29 May 2019 15:13:46 +0000 (17:13 +0200)]
Fixed redrawing bug

5 years agoFound the redrawing bug mentioned in the last commit
Daniel Kirschten [Wed, 29 May 2019 15:00:25 +0000 (17:00 +0200)]
Found the redrawing bug mentioned in the last commit

5 years agoActually use adapter. Somehow this introduced a rendering bug...
Daniel Kirschten [Wed, 29 May 2019 14:57:34 +0000 (16:57 +0200)]
Actually use adapter. Somehow this introduced a rendering bug...

5 years agoAdded adapters for OrGate and NotGate
Daniel Kirschten [Wed, 29 May 2019 14:57:19 +0000 (16:57 +0200)]
Added adapters for OrGate and NotGate

5 years agoCreated first version of ViewLogicModelAdapter
Daniel Kirschten [Wed, 29 May 2019 14:40:21 +0000 (16:40 +0200)]
Created first version of ViewLogicModelAdapter

5 years agoAdded getter for logicWidth in WireCrossPoint
Daniel Kirschten [Wed, 29 May 2019 14:24:27 +0000 (16:24 +0200)]
Added getter for logicWidth in WireCrossPoint

5 years agoAdded getters for pin1 and pin2 in GUIWire
Daniel Kirschten [Wed, 29 May 2019 14:24:10 +0000 (16:24 +0200)]
Added getters for pin1 and pin2 in GUIWire

5 years agoAdded concept of wire width to GUIComponents and GUIWires
Daniel Kirschten [Wed, 29 May 2019 13:24:49 +0000 (15:24 +0200)]
Added concept of wire width to GUIComponents and GUIWires

5 years agoRenamed ChangedListeners to LookChangedListeners
Daniel Kirschten [Wed, 29 May 2019 10:47:19 +0000 (12:47 +0200)]
Renamed ChangedListeners to LookChangedListeners

5 years agoMerge branch 'development' of
Fabian Stemmler [Wed, 29 May 2019 10:42:50 +0000 (12:42 +0200)]
Merge branch 'development' of
https://gitlab.lrz.de/lrr-tum/students/eragp-misim-2019 into development

# Conflicts:
# LogicUI/oldsrc/RSLatchGUIExample.java
# LogicUI/src/era/mi/gui/LogicUIStandalone.java
# LogicUI/src/era/mi/gui/components/GUIManualSwitch.java
# SampleERCP/src/sampleercp/parts/LogicUIPart.java

5 years agoTimeline updated (executeUntil, setTimeFunction)
Fabian Stemmler [Wed, 29 May 2019 06:22:04 +0000 (08:22 +0200)]
Timeline updated (executeUntil, setTimeFunction)

The timeline method executeUpto(timestamp, timeout), has been changed to
executeUntil(condition, timeout). The timeline method setTimeFunction
was added (e.g. to allow for real-time simulation). The timeFunction is
called whenever the timeline needs to find out the current simulation
time.

5 years agoImplemented GUIManualSwitch
Daniel Kirschten [Tue, 28 May 2019 21:40:31 +0000 (23:40 +0200)]
Implemented GUIManualSwitch

5 years agoImprovements in GUIWire and WireCrossPoint redrawing:
Daniel Kirschten [Tue, 28 May 2019 21:39:07 +0000 (23:39 +0200)]
Improvements in GUIWire and WireCrossPoint redrawing:

-GUIWire now supports ChangedListeners
-GUIWire and WireCrossPoint now call their ChangedListeners to request
redraws
-GUIWire and WireCrossPoint now use ColorHelper

5 years agoAdded BitVectorFormatter (as well as ColorDefinition)
Daniel Kirschten [Tue, 28 May 2019 21:29:28 +0000 (23:29 +0200)]
Added BitVectorFormatter (as well as ColorDefinition)

5 years agoAdded code for testing automatic redraws for model changes
Daniel Kirschten [Tue, 28 May 2019 12:56:25 +0000 (14:56 +0200)]
Added code for testing automatic redraws for model changes

5 years agoSmall changes; mainly in the listener system:
Daniel Kirschten [Tue, 28 May 2019 12:51:19 +0000 (14:51 +0200)]
Small changes; mainly in the listener system:

-Listeners now are Consumer<? super X> instead of Consumer<X>
-LogicUICanvas adds/removes listeners to not miss changes in the model
-Updated to new SWTHelper version

5 years agoFixed stupid bug causing NullPointerExceptions in GUIWire
Daniel Kirschten [Tue, 28 May 2019 09:58:57 +0000 (11:58 +0200)]
Fixed stupid bug causing NullPointerExceptions in GUIWire

5 years agoLogicUIPart: Removed old code now incompatible with LogicUI
Daniel Kirschten [Tue, 28 May 2019 09:52:33 +0000 (11:52 +0200)]
LogicUIPart: Removed old code now incompatible with LogicUI

5 years agoGUIWire now supports moving pins
Daniel Kirschten [Tue, 28 May 2019 09:51:33 +0000 (11:51 +0200)]
GUIWire now supports moving pins

5 years agoAdded destroy for GUIComponent and GUIWire
Daniel Kirschten [Tue, 28 May 2019 09:49:25 +0000 (11:49 +0200)]
Added destroy for GUIComponent and GUIWire

5 years agoLogicUICanvas now uses the new listener system; changes in clicked()
Daniel Kirschten [Tue, 28 May 2019 09:44:30 +0000 (11:44 +0200)]
LogicUICanvas now uses the new listener system; changes in clicked()

5 years agoImproved listener system
Daniel Kirschten [Tue, 28 May 2019 09:36:26 +0000 (11:36 +0200)]
Improved listener system

5 years agoStarted restructuring LogicUI
Daniel Kirschten [Tue, 28 May 2019 09:22:37 +0000 (11:22 +0200)]
Started restructuring LogicUI

5 years agoUpdated LogicUI to Java 10
Daniel Kirschten [Tue, 28 May 2019 09:22:09 +0000 (11:22 +0200)]
Updated LogicUI to Java 10

5 years agoMade LogicUIPart work again
Daniel Kirschten [Mon, 27 May 2019 21:27:57 +0000 (23:27 +0200)]
Made LogicUIPart work again