Mograsim.git
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

4 years agoMerge branch 'development' of https://gitlab.lrz.de/lrr-tum/students/eragp-misim...
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

4 years agoAdded fulladder. GUIWires are now drawn with right angles.
Fabian Stemmler [Wed, 5 Jun 2019 14:34:42 +0000 (16:34 +0200)]
Added fulladder. GUIWires are now drawn with right angles.

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

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

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

4 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

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

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

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

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

4 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

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

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

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

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