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

4 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

4 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

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

4 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

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

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

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

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

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

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

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

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

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

4 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

4 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

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

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

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

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

4 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

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

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

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

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

4 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

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

4 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

4 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

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

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

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

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

4 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

4 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

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

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

4 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

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

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

4 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.

4 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

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

4 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

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

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

4 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

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

4 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

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

4 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

4 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

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

4 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

4 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

4 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

4 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

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

4 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

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

4 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

4 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

4 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

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

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

4 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

4 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...

4 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

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

4 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

4 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

4 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

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

4 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

4 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.

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

4 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

4 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)

4 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

4 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

4 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

4 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

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

4 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

4 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()

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

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

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

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

4 years agoTimeline now passed via constructor
Fabian Stemmler [Mon, 27 May 2019 18:06:29 +0000 (20:06 +0200)]
Timeline now passed via constructor

The Timeline is now passed into each Component and Wire via the
constructor. It is no longer statically accessed through the Simulation
class. Made SampleERCP and LogicUI compatible with this change.

4 years agoMade LogicUI compatible with ReadEnd and ReadWriteEnd
Fabian Stemmler [Sat, 25 May 2019 18:04:31 +0000 (20:04 +0200)]
Made LogicUI compatible with ReadEnd and ReadWriteEnd

4 years agoCompletion of ReadEnd and ReadWriteEnd addition
Fabian Stemmler [Fri, 24 May 2019 22:19:35 +0000 (00:19 +0200)]
Completion of ReadEnd and ReadWriteEnd addition

4 years agoWireEnd functionality split into ReadEnd and ReadWriteEnd
Fabian Stemmler [Fri, 24 May 2019 22:12:15 +0000 (00:12 +0200)]
WireEnd functionality split into ReadEnd and ReadWriteEnd

4 years agoNew Timeline events notify the simulation thread now
Daniel Kirschten [Thu, 23 May 2019 11:47:19 +0000 (13:47 +0200)]
New Timeline events notify the simulation thread now

4 years agoLogicUI now works as a ERCP part!
Daniel Kirschten [Thu, 23 May 2019 11:39:29 +0000 (13:39 +0200)]
LogicUI now works as a ERCP part!

4 years agoDowngraded LogicUI to Java 8; converted era.mi and LogicUI to plugins
Daniel Kirschten [Thu, 23 May 2019 11:38:01 +0000 (13:38 +0200)]
Downgraded LogicUI to Java 8; converted era.mi and LogicUI to plugins

4 years agoMade addComponentsAndwires public
Daniel Kirschten [Thu, 23 May 2019 10:57:41 +0000 (12:57 +0200)]
Made addComponentsAndwires public

4 years agoSplitted LogicUI into LogicUICanvas and LogicUIStandalone
Daniel Kirschten [Thu, 23 May 2019 10:48:54 +0000 (12:48 +0200)]
Splitted LogicUI into LogicUICanvas and LogicUIStandalone

4 years agoConfigured Java editor save actions: Format code, don't organize imports
Daniel Kirschten [Thu, 23 May 2019 10:41:47 +0000 (12:41 +0200)]
Configured Java editor save actions: Format code, don't organize imports

4 years agoSome minor style and declaration improvements
Christian Femers [Wed, 22 May 2019 17:29:58 +0000 (19:29 +0200)]
Some minor style and declaration improvements