Mograsim.git
4 years agoUpdate LICENSE to EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
Christian Femers [Sun, 23 Jun 2019 17:35:27 +0000 (19:35 +0200)]
Update LICENSE to EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

4 years agoCompletely changed the structure and switched to Eclipse Plugin.
Christian Femers [Sun, 23 Jun 2019 17:29:10 +0000 (19:29 +0200)]
Completely changed the structure and switched to Eclipse Plugin.

4 years agoCommented GUIWire
Daniel Kirschten [Sat, 22 Jun 2019 13:16:04 +0000 (15:16 +0200)]
Commented GUIWire

4 years agoCorrected documentation of wireCreated() and wireDestroyed()
Daniel Kirschten [Sat, 22 Jun 2019 13:07:57 +0000 (15:07 +0200)]
Corrected documentation of wireCreated() and wireDestroyed()

4 years agoViewLogicModelAdapter no longer forces all GUIComponents to be loaded
Daniel Kirschten [Sat, 22 Jun 2019 12:40:25 +0000 (14:40 +0200)]
ViewLogicModelAdapter no longer forces all GUIComponents to be loaded

4 years agoCommented SubmodelComponent
Daniel Kirschten [Sat, 22 Jun 2019 08:58:33 +0000 (10:58 +0200)]
Commented SubmodelComponent

4 years agoChanged SubmodelComponent.addSubmodelInterface() interface
Daniel Kirschten [Sat, 22 Jun 2019 08:56:46 +0000 (10:56 +0200)]
Changed SubmodelComponent.addSubmodelInterface() interface

4 years agoChanged interface of GUIComponent.getPins()
Daniel Kirschten [Sat, 22 Jun 2019 08:43:15 +0000 (10:43 +0200)]
Changed interface of GUIComponent.getPins()

4 years agoImproved comments of GUIComponent
Daniel Kirschten [Sat, 22 Jun 2019 08:34:04 +0000 (10:34 +0200)]
Improved comments of GUIComponent

4 years agoAdded a check in addPin()
Daniel Kirschten [Sat, 22 Jun 2019 08:31:11 +0000 (10:31 +0200)]
Added a check in addPin()

4 years agoCommented GUIComponent
Daniel Kirschten [Sat, 22 Jun 2019 08:15:05 +0000 (10:15 +0200)]
Commented GUIComponent

4 years agoStopped creation of unneccessary Rectangle instances
Daniel Kirschten [Sat, 22 Jun 2019 07:48:03 +0000 (09:48 +0200)]
Stopped creation of unneccessary Rectangle instances

4 years agoImplemented SubmodelComponent.clicked(); removed obsolete TODOs
Daniel Kirschten [Sat, 22 Jun 2019 07:33:50 +0000 (09:33 +0200)]
Implemented SubmodelComponent.clicked(); removed obsolete TODOs

4 years agoRemoved obsolete AtomicAm2901NANDBased
Daniel Kirschten [Fri, 21 Jun 2019 22:15:17 +0000 (00:15 +0200)]
Removed obsolete AtomicAm2901NANDBased

4 years agoFinished GUIAm2901
Daniel Kirschten [Fri, 21 Jun 2019 21:55:07 +0000 (23:55 +0200)]
Finished GUIAm2901

4 years agoMade Wire.fuse(Wire, Wire, int, int int) public
Daniel Kirschten [Fri, 21 Jun 2019 21:33:37 +0000 (23:33 +0200)]
Made  Wire.fuse(Wire, Wire, int, int int) public

4 years agoFusing Wires will no longer initialize Wires with value U
Fabian Stemmler [Fri, 21 Jun 2019 17:27:50 +0000 (19:27 +0200)]
Fusing Wires will no longer initialize Wires with value U

4 years agoFixed a bug in GUIAm2901
Daniel Kirschten [Fri, 21 Jun 2019 14:42:22 +0000 (16:42 +0200)]
Fixed a bug in GUIAm2901

4 years agoImplemented functional GUIAm2901 without layout
Daniel Kirschten [Fri, 21 Jun 2019 14:01:11 +0000 (16:01 +0200)]
Implemented functional GUIAm2901 without layout

4 years agoMade GUIComponent.getPin(String) fail-fast
Daniel Kirschten [Fri, 21 Jun 2019 14:00:48 +0000 (16:00 +0200)]
Made GUIComponent.getPin(String) fail-fast

4 years agoQuickfix for Wire.fuse(...)
Fabian Stemmler [Fri, 21 Jun 2019 13:02:41 +0000 (15:02 +0200)]
Quickfix for Wire.fuse(...)

The fusion of Wires caused an exception upon updating Wire values, if
one of the fused Wires had no inputs, other than the Wire it was fused
with.

The Connector Component still has this issue.

4 years agoUpdated GUIAm2901ALUInclDecode
Daniel Kirschten [Fri, 21 Jun 2019 12:42:04 +0000 (14:42 +0200)]
Updated GUIAm2901ALUInclDecode

4 years agoUpdated GUIAm2901ALUFuncDecode
Daniel Kirschten [Fri, 21 Jun 2019 12:24:17 +0000 (14:24 +0200)]
Updated GUIAm2901ALUFuncDecode

4 years agoViewLogicModelAdapter now supports directly connected interface pins
Daniel Kirschten [Fri, 21 Jun 2019 12:14:50 +0000 (14:14 +0200)]
ViewLogicModelAdapter now supports directly connected interface pins

4 years agoMade LogicExecuter robust against crashes in Timeline.executeUntil
Daniel Kirschten [Fri, 21 Jun 2019 12:13:57 +0000 (14:13 +0200)]
Made LogicExecuter robust against crashes in Timeline.executeUntil

4 years agoImplemented GUIAm2901ALUInclSourceDecodeInclFunctionDecode
Daniel Kirschten [Fri, 21 Jun 2019 10:56:25 +0000 (12:56 +0200)]
Implemented GUIAm2901ALUInclSourceDecodeInclFunctionDecode

4 years agoUpdated SubmodelComponentParams json format
Fabian Stemmler [Fri, 21 Jun 2019 10:22:25 +0000 (12:22 +0200)]
Updated SubmodelComponentParams json format

Instead of saving an inner GUIComponents logicWidth, a Map<String,
Object> containing all relevant information for instantiation is saved.
Insured that FileWriter/Readers are closed in JsonHandler.

4 years agoPins are now accessed via name, not index
Daniel Kirschten [Fri, 21 Jun 2019 09:18:43 +0000 (11:18 +0200)]
Pins are now accessed via name, not index

4 years agoAdded call checks for subclass methods:
Daniel Kirschten [Wed, 19 Jun 2019 11:13:49 +0000 (13:13 +0200)]
Added call checks for subclass methods:

SubmodelComponents don't allow add / removePin,
SimpleRectangularSubmodelComponents don't allow add /
removeSubmodelInterface and setSize

4 years agoMerge commit '28314e7a9a3c3ebfcc4db8e9f1875507063ae6e6' into development
Daniel Kirschten [Wed, 19 Jun 2019 11:04:01 +0000 (13:04 +0200)]
Merge commit '28314e7a9a3c3ebfcc4db8e9f1875507063ae6e6' into development

4 years agoSimpleRectangularSubmodelComponent now supports pin names
Daniel Kirschten [Wed, 19 Jun 2019 10:56:26 +0000 (12:56 +0200)]
SimpleRectangularSubmodelComponent now supports pin names

4 years agoMerge branch 'development' of https://gitlab.lrz.de/lrr-tum/students/eragp-misim...
Fabian Stemmler [Tue, 18 Jun 2019 19:40:59 +0000 (21:40 +0200)]
Merge branch 'development' of https://gitlab.lrz.de/lrr-tum/students/eragp-misim-2019.git into development

4 years agoLogic Wire bits can now be fused together (Wire.fuse(...))
Fabian Stemmler [Tue, 18 Jun 2019 19:38:22 +0000 (21:38 +0200)]
Logic Wire bits can now be fused together (Wire.fuse(...))

4 years agoPins now have names
Daniel Kirschten [Tue, 18 Jun 2019 16:01:32 +0000 (18:01 +0200)]
Pins now have names

4 years agoImplemented GUIAm2901ALUInclDecode
Daniel Kirschten [Tue, 18 Jun 2019 15:48:30 +0000 (17:48 +0200)]
Implemented GUIAm2901ALUInclDecode

4 years agoImplemented GUIAm2901ALUFuncDecode
Daniel Kirschten [Tue, 18 Jun 2019 14:26:14 +0000 (16:26 +0200)]
Implemented GUIAm2901ALUFuncDecode

4 years agoExported all packages
Daniel Kirschten [Tue, 18 Jun 2019 11:00:21 +0000 (13:00 +0200)]
Exported all packages

4 years agoImproved rendering quality for speedup
Daniel Kirschten [Tue, 18 Jun 2019 10:43:31 +0000 (12:43 +0200)]
Improved rendering quality for speedup

4 years agoFixed GUIram4
Daniel Kirschten [Tue, 18 Jun 2019 08:28:01 +0000 (10:28 +0200)]
Fixed GUIram4

4 years agoAdded file version and closed resource leak
Fabian Stemmler [Tue, 18 Jun 2019 08:17:48 +0000 (10:17 +0200)]
Added file version and closed resource leak

Component json files are now created with the version in the first line.
Removed a superfluous FileWriter in JsonHandler.

4 years agoMerge remote-tracking branch 'origin/development' into development
Daniel Kirschten [Tue, 18 Jun 2019 07:17:57 +0000 (09:17 +0200)]
Merge remote-tracking branch 'origin/development' into development

4 years agoProviding json examples
Fabian Stemmler [Mon, 17 Jun 2019 15:52:22 +0000 (17:52 +0200)]
Providing json examples

The format is basically finished, only the InnerComponentParams might
still changed.

4 years agoImplemented GUIAm2901ALUOneBit
Daniel Kirschten [Mon, 17 Jun 2019 14:24:15 +0000 (16:24 +0200)]
Implemented GUIAm2901ALUOneBit

4 years agoImplemented GUIAm2901SourceDecode
Daniel Kirschten [Mon, 17 Jun 2019 13:47:06 +0000 (15:47 +0200)]
Implemented GUIAm2901SourceDecode

4 years agoCleaned up GUICustomComponentCreator and wrote documentation.
Fabian Stemmler [Mon, 17 Jun 2019 13:26:07 +0000 (15:26 +0200)]
Cleaned up GUICustomComponentCreator and wrote documentation.

4 years agoSimplified file representation of SubmodelComponents
Fabian Stemmler [Sun, 16 Jun 2019 21:21:12 +0000 (23:21 +0200)]
Simplified file representation of SubmodelComponents

Merged SubmodelComponentParams and the SimpleRectangularComponentParams
into one, by adding a map of specialized parameters to
SubmodelComponentParams. There is only one file type now, so the
distinction via file extension is no longer required. This new system
still requires some clean up, but should be extensible when new
subclasses of SubmodelComponent are created.

4 years agoGeneral SubmodelComponents can now be saved to a json format
Fabian Stemmler [Fri, 14 Jun 2019 13:40:57 +0000 (15:40 +0200)]
General SubmodelComponents can now be saved to a json format

Format for SimpleRectangularSubmodelComponents has changed.
Format for SubmodelComponents holds information on Pin positions.
Both SubmodelComponents and SimpleRect... can be created through the
GUICustomComponentCreator (SubmodelComponents are created as
SimpleRect..., as SubmodelComponent is abstract). This can be expanded
upon for the addition of more subclasses to SubmodelComponent. Included
a class JsonExample for testing a few standard cases.

4 years agoImplemented GUIAm2901DestDecode
Daniel Kirschten [Wed, 12 Jun 2019 09:35:43 +0000 (11:35 +0200)]
Implemented GUIAm2901DestDecode

4 years agoImplemented GUIAm2901QReg
Daniel Kirschten [Wed, 12 Jun 2019 08:27:31 +0000 (10:27 +0200)]
Implemented GUIAm2901QReg

4 years agoImplemented GUIor4
Daniel Kirschten [Tue, 11 Jun 2019 20:57:25 +0000 (22:57 +0200)]
Implemented GUIor4

4 years agoRemoved redundant calls to getPin
Daniel Kirschten [Tue, 11 Jun 2019 20:57:20 +0000 (22:57 +0200)]
Removed redundant calls to getPin

4 years agoImplemented GUIsel3_4
Daniel Kirschten [Tue, 11 Jun 2019 20:39:15 +0000 (22:39 +0200)]
Implemented GUIsel3_4

4 years agoImplemented GUIxor
Daniel Kirschten [Tue, 11 Jun 2019 20:12:05 +0000 (22:12 +0200)]
Implemented GUIxor

4 years agoMade GUIsel2_4 more "tabellaric"
Daniel Kirschten [Tue, 11 Jun 2019 20:01:44 +0000 (22:01 +0200)]
Made GUIsel2_4 more "tabellaric"

4 years agoImproved GUIsel2_4 wire layout
Daniel Kirschten [Tue, 11 Jun 2019 19:58:53 +0000 (21:58 +0200)]
Improved GUIsel2_4 wire layout

4 years agoImplemented GUIram4
Daniel Kirschten [Tue, 11 Jun 2019 19:55:28 +0000 (21:55 +0200)]
Implemented GUIram4

4 years agoUpdated to new SWTHelper version needed for LogicUIRenderer.
Daniel Kirschten [Tue, 11 Jun 2019 15:31:59 +0000 (17:31 +0200)]
Updated to new SWTHelper version needed for LogicUIRenderer.

4 years agoAdded file representation for SimpleRectangularSubmodelComponents
Fabian Stemmler [Mon, 10 Jun 2019 20:07:36 +0000 (22:07 +0200)]
Added file representation for SimpleRectangularSubmodelComponents

SimpleRectangularSubmodelComponents can now be saved into a .json file
(via ComponentParams writeJSON method)
GUICustomComponents can now be created from a .json file
This system does not yet support general SubmodelComponents and thus the
format is still subject to change.

4 years agoFixed a refactoring issue in GUIsel2_4
Fabian Stemmler [Sat, 8 Jun 2019 15:07:45 +0000 (17:07 +0200)]
Fixed a refactoring issue in GUIsel2_4

I had wrongly assumed that moveTo in GUIComponent had also been
refactored to moveCenterTo, like in WireCrossPoint.

4 years agoAdded GUIsel2_4
Fabian Stemmler [Sat, 8 Jun 2019 15:00:28 +0000 (17:00 +0200)]
Added GUIsel2_4

4 years agoFixed project references of net.mograsim.rcp
Daniel Kirschten [Fri, 7 Jun 2019 12:33:03 +0000 (14:33 +0200)]
Fixed project references of net.mograsim.rcp

4 years agoRemoved TODO about D lines
Daniel Kirschten [Fri, 7 Jun 2019 11:22:19 +0000 (13:22 +0200)]
Removed TODO about D lines

4 years agoMade GUIram2 formatting a bit better
Daniel Kirschten [Fri, 7 Jun 2019 10:58:03 +0000 (12:58 +0200)]
Made GUIram2 formatting a bit better

4 years agoSet GUIram2 Dx input wire paths
Daniel Kirschten [Fri, 7 Jun 2019 10:55:37 +0000 (12:55 +0200)]
Set GUIram2 Dx input wire paths

4 years agoSet GUIram2 wire paths except for Dx inputs
Daniel Kirschten [Fri, 7 Jun 2019 10:44:13 +0000 (12:44 +0200)]
Set GUIram2 wire paths except for Dx inputs

4 years agoGUIram2: Moved components to correct location
Daniel Kirschten [Thu, 6 Jun 2019 21:21:49 +0000 (23:21 +0200)]
GUIram2: Moved components to correct location

4 years agoImplemented working GUIram2, but without positioning components & wires
Daniel Kirschten [Thu, 6 Jun 2019 20:22:26 +0000 (22:22 +0200)]
Implemented working GUIram2, but without positioning components & wires

4 years agoFixed WireCrossPoints disappearing near edges
Daniel Kirschten [Thu, 6 Jun 2019 19:50:26 +0000 (21:50 +0200)]
Fixed WireCrossPoints disappearing near edges

4 years agoMore speedup
Daniel Kirschten [Thu, 6 Jun 2019 19:49:57 +0000 (21:49 +0200)]
More speedup

4 years agoMore rendering speedup
Daniel Kirschten [Thu, 6 Jun 2019 19:41:51 +0000 (21:41 +0200)]
More rendering speedup

4 years agorenderOutline() and renderSymbol() now have access to visibleRegion
Daniel Kirschten [Thu, 6 Jun 2019 19:30:08 +0000 (21:30 +0200)]
renderOutline() and renderSymbol() now have access to visibleRegion

4 years agoSped up rendering
Daniel Kirschten [Thu, 6 Jun 2019 19:29:45 +0000 (21:29 +0200)]
Sped up rendering

4 years agoFixed visibleRegion calculation
Daniel Kirschten [Thu, 6 Jun 2019 19:26:09 +0000 (21:26 +0200)]
Fixed visibleRegion calculation

4 years agoMade MI component formatting uniform
Daniel Kirschten [Wed, 5 Jun 2019 20:20:08 +0000 (22:20 +0200)]
Made MI component formatting uniform

4 years agoHardcoded GUImux1_4 coordinates
Daniel Kirschten [Wed, 5 Jun 2019 20:15:20 +0000 (22:15 +0200)]
Hardcoded GUImux1_4 coordinates

4 years agoImproved GUImux1_4 rendering
Daniel Kirschten [Wed, 5 Jun 2019 19:37:15 +0000 (21:37 +0200)]
Improved GUImux1_4 rendering

4 years agoMade a slightly sloped wire horizontal
Daniel Kirschten [Wed, 5 Jun 2019 19:26:45 +0000 (21:26 +0200)]
Made a slightly sloped wire horizontal

4 years agoAdded GUImux1_4.
Fabian Stemmler [Wed, 5 Jun 2019 19:09:36 +0000 (21:09 +0200)]
Added GUImux1_4.

4 years agoHardcoded a wire path in GUImux1
Daniel Kirschten [Wed, 5 Jun 2019 17:33:09 +0000 (19:33 +0200)]
Hardcoded a wire path in GUImux1

4 years agoImplemented GUIor4
Daniel Kirschten [Wed, 5 Jun 2019 17:31:20 +0000 (19:31 +0200)]
Implemented GUIor4

4 years agoRemoved obsolete field
Daniel Kirschten [Wed, 5 Jun 2019 17:19:27 +0000 (19:19 +0200)]
Removed obsolete field

4 years agoRemoved obsolete classes SubmodelExample and TestSubmodelNANDComponent
Daniel Kirschten [Wed, 5 Jun 2019 17:18:50 +0000 (19:18 +0200)]
Removed obsolete classes SubmodelExample and TestSubmodelNANDComponent

4 years agoUpdated GUIfulladder to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 17:17:14 +0000 (19:17 +0200)]
Updated GUIfulladder to SimpleRectangularSubmodelComponent

4 years agoUpdated GUIdlatch4 to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 17:06:56 +0000 (19:06 +0200)]
Updated GUIdlatch4 to SimpleRectangularSubmodelComponent

4 years agoUpdated GUIdlatch to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 17:02:19 +0000 (19:02 +0200)]
Updated GUIdlatch to SimpleRectangularSubmodelComponent

4 years agoUpdated GUIdff to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 16:52:29 +0000 (18:52 +0200)]
Updated GUIdff to SimpleRectangularSubmodelComponent

4 years agoSped up GUImux1 rendering
Daniel Kirschten [Wed, 5 Jun 2019 16:41:47 +0000 (18:41 +0200)]
Sped up GUImux1 rendering

4 years agoMerge remote-tracking branch 'origin/development' into development
Daniel Kirschten [Wed, 5 Jun 2019 16:39:19 +0000 (18:39 +0200)]
Merge remote-tracking branch 'origin/development' into development

4 years agoUpdated GUInand3 to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 16:37:31 +0000 (18:37 +0200)]
Updated GUInand3 to SimpleRectangularSubmodelComponent

4 years agoAdded GUImux1.
Fabian Stemmler [Wed, 5 Jun 2019 16:33:38 +0000 (18:33 +0200)]
Added GUImux1.

4 years agoUpdated GUIdemux2 to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 16:29:42 +0000 (18:29 +0200)]
Updated GUIdemux2 to SimpleRectangularSubmodelComponent

4 years agoUpdated GUIandor414 to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 16:13:24 +0000 (18:13 +0200)]
Updated GUIandor414 to SimpleRectangularSubmodelComponent

4 years agoUpdated GUIor_4 to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 15:57:20 +0000 (17:57 +0200)]
Updated GUIor_4 to SimpleRectangularSubmodelComponent

4 years agoUpdated GUIand41 to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 15:49:19 +0000 (17:49 +0200)]
Updated GUIand41 to SimpleRectangularSubmodelComponent

4 years agoUpdated GUIand to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 15:43:53 +0000 (17:43 +0200)]
Updated GUIand to SimpleRectangularSubmodelComponent

4 years agoUpdated GUI_rsLatch to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 15:38:36 +0000 (17:38 +0200)]
Updated GUI_rsLatch to SimpleRectangularSubmodelComponent

4 years agoSped up GUIhalfadder rendering
Daniel Kirschten [Wed, 5 Jun 2019 15:37:57 +0000 (17:37 +0200)]
Sped up GUIhalfadder rendering

4 years agoAdapted GUIhalfadder to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 15:24:39 +0000 (17:24 +0200)]
Adapted GUIhalfadder to SimpleRectangularSubmodelComponent

4 years agoSplitted SubmodelComponent and SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 15:24:09 +0000 (17:24 +0200)]
Splitted SubmodelComponent and SimpleRectangularSubmodelComponent

4 years agoFixed problems in how GUIWires automatically choose a path
Daniel Kirschten [Wed, 5 Jun 2019 15:07:36 +0000 (17:07 +0200)]
Fixed problems in how GUIWires automatically choose a path