Daniel Kirschten [Tue, 18 Jun 2019 08:28:01 +0000 (10:28 +0200)]
Fixed GUIram4
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.
Daniel Kirschten [Tue, 18 Jun 2019 07:17:57 +0000 (09:17 +0200)]
Merge remote-tracking branch 'origin/development' into development
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.
Daniel Kirschten [Mon, 17 Jun 2019 14:24:15 +0000 (16:24 +0200)]
Implemented GUIAm2901ALUOneBit
Daniel Kirschten [Mon, 17 Jun 2019 13:47:06 +0000 (15:47 +0200)]
Implemented GUIAm2901SourceDecode
Fabian Stemmler [Mon, 17 Jun 2019 13:26:07 +0000 (15:26 +0200)]
Cleaned up GUICustomComponentCreator and wrote documentation.
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.
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.
Daniel Kirschten [Wed, 12 Jun 2019 09:35:43 +0000 (11:35 +0200)]
Implemented GUIAm2901DestDecode
Daniel Kirschten [Wed, 12 Jun 2019 08:27:31 +0000 (10:27 +0200)]
Implemented GUIAm2901QReg
Daniel Kirschten [Tue, 11 Jun 2019 20:57:25 +0000 (22:57 +0200)]
Implemented GUIor4
Daniel Kirschten [Tue, 11 Jun 2019 20:57:20 +0000 (22:57 +0200)]
Removed redundant calls to getPin
Daniel Kirschten [Tue, 11 Jun 2019 20:39:15 +0000 (22:39 +0200)]
Implemented GUIsel3_4
Daniel Kirschten [Tue, 11 Jun 2019 20:12:05 +0000 (22:12 +0200)]
Implemented GUIxor
Daniel Kirschten [Tue, 11 Jun 2019 20:01:44 +0000 (22:01 +0200)]
Made GUIsel2_4 more "tabellaric"
Daniel Kirschten [Tue, 11 Jun 2019 19:58:53 +0000 (21:58 +0200)]
Improved GUIsel2_4 wire layout
Daniel Kirschten [Tue, 11 Jun 2019 19:55:28 +0000 (21:55 +0200)]
Implemented GUIram4
Daniel Kirschten [Tue, 11 Jun 2019 15:31:59 +0000 (17:31 +0200)]
Updated to new SWTHelper version needed for LogicUIRenderer.
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.
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.
Fabian Stemmler [Sat, 8 Jun 2019 15:00:28 +0000 (17:00 +0200)]
Added GUIsel2_4
Daniel Kirschten [Fri, 7 Jun 2019 12:33:03 +0000 (14:33 +0200)]
Fixed project references of net.mograsim.rcp
Daniel Kirschten [Fri, 7 Jun 2019 11:22:19 +0000 (13:22 +0200)]
Removed TODO about D lines
Daniel Kirschten [Fri, 7 Jun 2019 10:58:03 +0000 (12:58 +0200)]
Made GUIram2 formatting a bit better
Daniel Kirschten [Fri, 7 Jun 2019 10:55:37 +0000 (12:55 +0200)]
Set GUIram2 Dx input wire paths
Daniel Kirschten [Fri, 7 Jun 2019 10:44:13 +0000 (12:44 +0200)]
Set GUIram2 wire paths except for Dx inputs
Daniel Kirschten [Thu, 6 Jun 2019 21:21:49 +0000 (23:21 +0200)]
GUIram2: Moved components to correct location
Daniel Kirschten [Thu, 6 Jun 2019 20:22:26 +0000 (22:22 +0200)]
Implemented working GUIram2, but without positioning components & wires
Daniel Kirschten [Thu, 6 Jun 2019 19:50:26 +0000 (21:50 +0200)]
Fixed WireCrossPoints disappearing near edges
Daniel Kirschten [Thu, 6 Jun 2019 19:49:57 +0000 (21:49 +0200)]
More speedup
Daniel Kirschten [Thu, 6 Jun 2019 19:41:51 +0000 (21:41 +0200)]
More rendering speedup
Daniel Kirschten [Thu, 6 Jun 2019 19:30:08 +0000 (21:30 +0200)]
renderOutline() and renderSymbol() now have access to visibleRegion
Daniel Kirschten [Thu, 6 Jun 2019 19:29:45 +0000 (21:29 +0200)]
Sped up rendering
Daniel Kirschten [Thu, 6 Jun 2019 19:26:09 +0000 (21:26 +0200)]
Fixed visibleRegion calculation
Daniel Kirschten [Wed, 5 Jun 2019 20:20:08 +0000 (22:20 +0200)]
Made MI component formatting uniform
Daniel Kirschten [Wed, 5 Jun 2019 20:15:20 +0000 (22:15 +0200)]
Hardcoded GUImux1_4 coordinates
Daniel Kirschten [Wed, 5 Jun 2019 19:37:15 +0000 (21:37 +0200)]
Improved GUImux1_4 rendering
Daniel Kirschten [Wed, 5 Jun 2019 19:26:45 +0000 (21:26 +0200)]
Made a slightly sloped wire horizontal
Fabian Stemmler [Wed, 5 Jun 2019 19:09:36 +0000 (21:09 +0200)]
Added GUImux1_4.
Daniel Kirschten [Wed, 5 Jun 2019 17:33:09 +0000 (19:33 +0200)]
Hardcoded a wire path in GUImux1
Daniel Kirschten [Wed, 5 Jun 2019 17:31:20 +0000 (19:31 +0200)]
Implemented GUIor4
Daniel Kirschten [Wed, 5 Jun 2019 17:19:27 +0000 (19:19 +0200)]
Removed obsolete field
Daniel Kirschten [Wed, 5 Jun 2019 17:18:50 +0000 (19:18 +0200)]
Removed obsolete classes SubmodelExample and TestSubmodelNANDComponent
Daniel Kirschten [Wed, 5 Jun 2019 17:17:14 +0000 (19:17 +0200)]
Updated GUIfulladder to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 17:06:56 +0000 (19:06 +0200)]
Updated GUIdlatch4 to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 17:02:19 +0000 (19:02 +0200)]
Updated GUIdlatch to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 16:52:29 +0000 (18:52 +0200)]
Updated GUIdff to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 16:41:47 +0000 (18:41 +0200)]
Sped up GUImux1 rendering
Daniel Kirschten [Wed, 5 Jun 2019 16:39:19 +0000 (18:39 +0200)]
Merge remote-tracking branch 'origin/development' into development
Daniel Kirschten [Wed, 5 Jun 2019 16:37:31 +0000 (18:37 +0200)]
Updated GUInand3 to SimpleRectangularSubmodelComponent
Fabian Stemmler [Wed, 5 Jun 2019 16:33:38 +0000 (18:33 +0200)]
Added GUImux1.
Daniel Kirschten [Wed, 5 Jun 2019 16:29:42 +0000 (18:29 +0200)]
Updated GUIdemux2 to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 16:13:24 +0000 (18:13 +0200)]
Updated GUIandor414 to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 15:57:20 +0000 (17:57 +0200)]
Updated GUIor_4 to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 15:49:19 +0000 (17:49 +0200)]
Updated GUIand41 to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 15:43:53 +0000 (17:43 +0200)]
Updated GUIand to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 15:38:36 +0000 (17:38 +0200)]
Updated GUI_rsLatch to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 15:37:57 +0000 (17:37 +0200)]
Sped up GUIhalfadder rendering
Daniel Kirschten [Wed, 5 Jun 2019 15:24:39 +0000 (17:24 +0200)]
Adapted GUIhalfadder to SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 15:24:09 +0000 (17:24 +0200)]
Splitted SubmodelComponent and SimpleRectangularSubmodelComponent
Daniel Kirschten [Wed, 5 Jun 2019 15:07:36 +0000 (17:07 +0200)]
Fixed problems in how GUIWires automatically choose a path
Fabian Stemmler [Wed, 5 Jun 2019 14:35:44 +0000 (16:35 +0200)]
Merge branch 'development' of https://gitlab.lrz.de/lrr-tum/students/eragp-misim-2019.git into development
Fabian Stemmler [Wed, 5 Jun 2019 14:34:42 +0000 (16:34 +0200)]
Added fulladder. GUIWires are now drawn with right angles.
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()
Daniel Kirschten [Wed, 5 Jun 2019 12:33:16 +0000 (14:33 +0200)]
Renamed drawComponent to renderComponent
Daniel Kirschten [Wed, 5 Jun 2019 12:22:16 +0000 (14:22 +0200)]
Implemented GUIhalfadder
Daniel Kirschten [Wed, 5 Jun 2019 12:22:05 +0000 (14:22 +0200)]
SubmodelComponent now reports rounded coordinates, too
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.
Daniel Kirschten [Wed, 5 Jun 2019 11:32:16 +0000 (13:32 +0200)]
Implemented GUIdlatch4
Daniel Kirschten [Wed, 5 Jun 2019 11:15:14 +0000 (13:15 +0200)]
Implemented GUIdlatch
Daniel Kirschten [Wed, 5 Jun 2019 11:14:53 +0000 (13:14 +0200)]
SubmodelComponent now prints click coordinates
Daniel Kirschten [Wed, 5 Jun 2019 10:47:13 +0000 (12:47 +0200)]
ViewLogicModelAdapter now uses NandGate for GUINandGate
Daniel Kirschten [Wed, 5 Jun 2019 10:46:31 +0000 (12:46 +0200)]
Made submodel rendering faster
Daniel Kirschten [Wed, 5 Jun 2019 10:26:53 +0000 (12:26 +0200)]
Implemented GUIdff
Daniel Kirschten [Wed, 5 Jun 2019 10:26:33 +0000 (12:26 +0200)]
Updated to new SWTHelper version
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
Fabian Stemmler [Tue, 4 Jun 2019 20:21:01 +0000 (22:21 +0200)]
Added nand and nor gate due to popular demand
Daniel Kirschten [Tue, 4 Jun 2019 16:06:34 +0000 (18:06 +0200)]
Updated to new SWTHelper version
Daniel Kirschten [Tue, 4 Jun 2019 13:32:13 +0000 (15:32 +0200)]
Added gate/wire delay in SubmodelComponentTestbench
Daniel Kirschten [Tue, 4 Jun 2019 13:31:35 +0000 (15:31 +0200)]
Implemented GUInand3
Daniel Kirschten [Tue, 4 Jun 2019 13:09:19 +0000 (15:09 +0200)]
Implemented GUIdemux2
Daniel Kirschten [Tue, 4 Jun 2019 09:51:59 +0000 (11:51 +0200)]
Made GUIand41 prettier
Daniel Kirschten [Tue, 4 Jun 2019 09:42:07 +0000 (11:42 +0200)]
Implemented GUIandor414
Daniel Kirschten [Tue, 4 Jun 2019 09:16:39 +0000 (11:16 +0200)]
Implemented GUIor_4
Daniel Kirschten [Tue, 4 Jun 2019 09:08:34 +0000 (11:08 +0200)]
Made submodel alpha transition shorter
Daniel Kirschten [Tue, 4 Jun 2019 08:27:54 +0000 (10:27 +0200)]
Changed formatting of initSubmodelComponents
Daniel Kirschten [Tue, 4 Jun 2019 06:15:00 +0000 (08:15 +0200)]
Implemented GUIand41
Daniel Kirschten [Tue, 4 Jun 2019 06:11:22 +0000 (08:11 +0200)]
Renamed ModularAm2901Example to SubmodelComponentTestbench
Daniel Kirschten [Tue, 4 Jun 2019 06:00:50 +0000 (08:00 +0200)]
Added getter for submodel interface pins in GUIand and GUI_rsLatch
Daniel Kirschten [Tue, 4 Jun 2019 05:53:35 +0000 (07:53 +0200)]
Updated to newer SWTHelper version fixing a problem in GCConfig
Daniel Kirschten [Tue, 4 Jun 2019 05:20:49 +0000 (07:20 +0200)]
Implemented GUIand
Daniel Kirschten [Tue, 4 Jun 2019 05:05:40 +0000 (07:05 +0200)]
Made comments about @SuppressWarnings uniform
Christian Femers [Tue, 4 Jun 2019 01:52:04 +0000 (03:52 +0200)]
Eclipse e4 and translation experiments
Daniel Kirschten [Mon, 3 Jun 2019 21:52:51 +0000 (23:52 +0200)]
Implemented GUI_rsLatch
Daniel Kirschten [Mon, 3 Jun 2019 21:35:49 +0000 (23:35 +0200)]
Improved SubmodelComponent rendering: Font for labels is now fixed
Daniel Kirschten [Mon, 3 Jun 2019 21:28:02 +0000 (23:28 +0200)]
Created GUINandGate
Daniel Kirschten [Mon, 3 Jun 2019 21:23:32 +0000 (23:23 +0200)]
Cleaned up ComponentAdapter interface
Daniel Kirschten [Mon, 3 Jun 2019 21:14:36 +0000 (23:14 +0200)]
Renamed Am2901NANDBased to AtomicAm2901NANDBased
Daniel Kirschten [Mon, 3 Jun 2019 21:03:19 +0000 (23:03 +0200)]
Removed old code