Mograsim.git
5 years agoMerge remote-tracking branch 'origin/development' into development
Daniel Kirschten [Tue, 24 Sep 2019 09:26:59 +0000 (11:26 +0200)]
Merge remote-tracking branch 'origin/development' into development

5 years agoAdded the two Combos mentioned in the prev. commit to test them.
Christian Femers [Tue, 24 Sep 2019 04:28:12 +0000 (06:28 +0200)]
Added the two Combos mentioned in the prev. commit to test them.

While one is only there for experiments, the other can later be used to
switch active projects.

5 years agoTool class for creating Combos that allow to select machines/projects
Christian Femers [Tue, 24 Sep 2019 04:26:39 +0000 (06:26 +0200)]
Tool class for creating Combos that allow to select machines/projects

5 years agoFixed detection problems with ProjectMachineContext
Christian Femers [Tue, 24 Sep 2019 04:24:18 +0000 (06:24 +0200)]
Fixed detection problems with ProjectMachineContext

Other problems still remain; e.g. PRE-CLOSE et al. makes the listeners
unable to detect a closed project, because it was not yet marked as
such. There should also be a register of open, but currently unused
projects.

5 years agoMarked old MachineContext deprecated
Christian Femers [Tue, 24 Sep 2019 04:19:43 +0000 (06:19 +0200)]
Marked old MachineContext deprecated

5 years agoRenamed the simulation view in the plugin.xml (had a "view1" id)
Christian Femers [Tue, 24 Sep 2019 03:19:36 +0000 (05:19 +0200)]
Renamed the simulation view in the plugin.xml (had a "view1" id)

5 years agoAdded listener and event structure to ProjectMachineContexts
Christian Femers [Tue, 24 Sep 2019 03:18:06 +0000 (05:18 +0200)]
Added listener and event structure to ProjectMachineContexts

5 years agoAllow to listen for changes in the MachineRegistry
Christian Femers [Tue, 24 Sep 2019 03:13:46 +0000 (05:13 +0200)]
Allow to listen for changes in the MachineRegistry

5 years agoRenamed method to its actual function
Christian Femers [Tue, 24 Sep 2019 03:12:39 +0000 (05:12 +0200)]
Renamed method to its actual function

5 years agoAdded id to machine definition (was only set in the extension point)
Christian Femers [Tue, 24 Sep 2019 03:11:56 +0000 (05:11 +0200)]
Added id to machine definition (was only set in the extension point)

MachineRegistry will check for consistency

5 years agoMade InstructionTable a bit easier to use
Daniel Kirschten [Mon, 23 Sep 2019 15:43:48 +0000 (17:43 +0200)]
Made InstructionTable a bit easier to use

5 years agoCreate a new machine when a MachineContext is used and has a definition.
Christian Femers [Mon, 23 Sep 2019 14:53:05 +0000 (16:53 +0200)]
Create a new machine when a MachineContext is used and has a definition.

This might be refined in future to a somewhat more lazy creation, but
for now it fixes the bug that a machine context has no machine at the
start, and it is not clear, when else it should be created.

5 years agoAdded missing call to super.dispose()
Daniel Kirschten [Mon, 23 Sep 2019 12:06:07 +0000 (14:06 +0200)]
Added missing call to super.dispose()

5 years agoUpdated to new SWTHelper version
Daniel Kirschten [Mon, 23 Sep 2019 12:04:37 +0000 (14:04 +0200)]
Updated to new SWTHelper version

5 years agoProject now correctly identified from file
Fabian Stemmler [Sun, 22 Sep 2019 18:13:22 +0000 (20:13 +0200)]
Project now correctly identified from file

5 years agoSwitched Instruction View to project associated MachineContext
Fabian Stemmler [Sun, 22 Sep 2019 17:32:52 +0000 (19:32 +0200)]
Switched Instruction View to project associated MachineContext

5 years agoAdded hover text to make clear that pressing running will pause the sim.
Christian Femers [Sat, 21 Sep 2019 21:25:51 +0000 (23:25 +0200)]
Added hover text to make clear that pressing running will pause the sim.

This might still need a better solution from an UX perspective

5 years agoAdded logo resources to the core plugin
Christian Femers [Sat, 21 Sep 2019 21:22:02 +0000 (23:22 +0200)]
Added logo resources to the core plugin

5 years agoAdded NewWizard for mpm files and fixed mpm content binding
Fabian Stemmler [Sat, 21 Sep 2019 11:34:42 +0000 (13:34 +0200)]
Added NewWizard for mpm files and fixed mpm content binding

5 years agoMerge branch 'development' of
Fabian Stemmler [Fri, 20 Sep 2019 16:23:46 +0000 (18:23 +0200)]
Merge branch 'development' of
https://gitlab.lrz.de/lrr-tum/students/eragp-misim-2019.git into
development

Conflicts:
plugins/net.mograsim.machine/src/net/mograsim/machine/mi/MicroInstructionMemoryParser.java
plugins/net.mograsim.plugin.core/META-INF/MANIFEST.MF

5 years agoMachine name is no in mpm files
Fabian Stemmler [Fri, 20 Sep 2019 16:00:31 +0000 (18:00 +0200)]
Machine name is no in mpm files

5 years agoSimulation can now be slowed and paused
Fabian Stemmler [Fri, 20 Sep 2019 14:53:09 +0000 (16:53 +0200)]
Simulation can now be slowed and paused

5 years agoFixed a very stupid bug in InstructionView#highlight
Daniel Kirschten [Thu, 19 Sep 2019 19:39:33 +0000 (21:39 +0200)]
Fixed a very stupid bug in InstructionView#highlight

5 years agoFixed & extended JavaJsonLineCounter
Daniel Kirschten [Thu, 19 Sep 2019 19:21:07 +0000 (21:21 +0200)]
Fixed & extended JavaJsonLineCounter

5 years agoFixed crashbug on Gtk
Daniel Kirschten [Thu, 19 Sep 2019 16:41:21 +0000 (18:41 +0200)]
Fixed crashbug on Gtk

5 years agoAdded a listener system to project specific machine context
Christian Femers [Thu, 19 Sep 2019 16:11:15 +0000 (18:11 +0200)]
Added a listener system to project specific machine context

5 years agoRemove empty single line comment in A.M.NatureHandler
Christian Femers [Thu, 19 Sep 2019 16:09:12 +0000 (18:09 +0200)]
Remove empty single line comment in A.M.NatureHandler

5 years agoModified InstructionView#highlight
Daniel Kirschten [Thu, 19 Sep 2019 15:44:26 +0000 (17:44 +0200)]
Modified InstructionView#highlight

5 years agoAdded javax.inject to plugin.core's MANIFEST
Daniel Kirschten [Thu, 19 Sep 2019 15:24:58 +0000 (17:24 +0200)]
Added javax.inject to plugin.core's MANIFEST

5 years agoRestructured Mograsim project nature and introduced project context
Christian Femers [Thu, 19 Sep 2019 14:56:37 +0000 (16:56 +0200)]
Restructured Mograsim project nature and introduced project context

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

5 years agoAdded active instruction preview to LogicUIPart
Fabian Stemmler [Wed, 18 Sep 2019 20:15:02 +0000 (22:15 +0200)]
Added active instruction preview to LogicUIPart

5 years agoTransferred the simple build instructions into the README
Christian Femers [Wed, 18 Sep 2019 18:48:02 +0000 (20:48 +0200)]
Transferred the simple build instructions into the README

And added a brief description of Mograsim

5 years agoUpdated the description to the final project structure
Christian Femers [Wed, 18 Sep 2019 17:54:05 +0000 (19:54 +0200)]
Updated the description to the final project structure

5 years agoRemoved some more warnings and cleaned more SWT listeners
Daniel Kirschten [Wed, 18 Sep 2019 09:50:18 +0000 (11:50 +0200)]
Removed some more warnings and cleaned more SWT listeners

5 years agoCleaned up Editor: removed warnings; cleaned listener system
Daniel Kirschten [Wed, 18 Sep 2019 09:46:23 +0000 (11:46 +0200)]
Cleaned up Editor: removed warnings; cleaned listener system

5 years agoRAM reads no longer cause X on the data bus:
Daniel Kirschten [Wed, 18 Sep 2019 07:41:49 +0000 (09:41 +0200)]
RAM reads no longer cause X on the data bus:

When a read was triggered (for example setting _ABUS to AB) in the same
cycle as the data bus has a (non-tristate) value, in the next half-cycle
(when C=1), the TriStateBuffer forwarding data from the RAM to the data
bus would already be active, while the data bus still is pulled to the
"old" value, causing X's to occur.

5 years agoMerge branch 'development' of https://gitlab.lrz.de/lrr-tum/students/eragp-misim...
Fabian Stemmler [Tue, 17 Sep 2019 23:20:57 +0000 (01:20 +0200)]
Merge branch 'development' of https://gitlab.lrz.de/lrr-tum/students/eragp-misim-2019.git into development

5 years agoAdapted WordAddressableMemoryTest to work with binary vectors only
Fabian Stemmler [Tue, 17 Sep 2019 23:19:07 +0000 (01:19 +0200)]
Adapted WordAddressableMemoryTest to work with binary vectors only

5 years agoCleaned up memory stuff
Daniel Kirschten [Tue, 17 Sep 2019 21:14:21 +0000 (23:14 +0200)]
Cleaned up memory stuff

5 years agoFixed the "Set active" button in InstructionView
Daniel Kirschten [Tue, 17 Sep 2019 21:13:20 +0000 (23:13 +0200)]
Fixed the "Set active" button in InstructionView

5 years agoWordAddressableMemory will now ignore non-binary BitVectors
Fabian Stemmler [Tue, 17 Sep 2019 20:57:40 +0000 (22:57 +0200)]
WordAddressableMemory will now ignore non-binary BitVectors

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

Conflicts:
plugins/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/machine/Am2900Machine.java

5 years agoMicroInstructionMemory editor can now open and save to files
Fabian Stemmler [Tue, 17 Sep 2019 19:40:57 +0000 (21:40 +0200)]
MicroInstructionMemory editor can now open and save to files

5 years agoCorrected RAM control signal timing
Daniel Kirschten [Tue, 17 Sep 2019 16:02:40 +0000 (18:02 +0200)]
Corrected RAM control signal timing

5 years agoMade Am2900 work again in ModelComponentTestbench
Daniel Kirschten [Tue, 17 Sep 2019 12:31:40 +0000 (14:31 +0200)]
Made Am2900 work again in ModelComponentTestbench

5 years agoReserialized components
Daniel Kirschten [Tue, 17 Sep 2019 12:25:03 +0000 (14:25 +0200)]
Reserialized components

5 years agoRemoved InstructionView as View
Fabian Stemmler [Mon, 16 Sep 2019 18:28:24 +0000 (20:28 +0200)]
Removed InstructionView as View

5 years agoMerge branch 'development' of https://gitlab.lrz.de/lrr-tum/students/eragp-misim...
Fabian Stemmler [Mon, 16 Sep 2019 15:56:03 +0000 (17:56 +0200)]
Merge branch 'development' of https://gitlab.lrz.de/lrr-tum/students/eragp-misim-2019.git into development

5 years agoRemoved legacy code from ModelSplitter
Daniel Kirschten [Mon, 16 Sep 2019 15:52:20 +0000 (17:52 +0200)]
Removed legacy code from ModelSplitter

5 years agoRemoved legacy ModelMerger
Daniel Kirschten [Mon, 16 Sep 2019 15:51:29 +0000 (17:51 +0200)]
Removed legacy ModelMerger

5 years agoReserialized TestableAm2904
Daniel Kirschten [Mon, 16 Sep 2019 15:49:55 +0000 (17:49 +0200)]
Reserialized TestableAm2904

5 years agoFixed a javadoc comment in SubmodelComponentSerializer
Daniel Kirschten [Mon, 16 Sep 2019 15:48:33 +0000 (17:48 +0200)]
Fixed a javadoc comment in SubmodelComponentSerializer

5 years agoRemoved legacy version line handling from JsonHandler for speedup
Daniel Kirschten [Mon, 16 Sep 2019 15:48:16 +0000 (17:48 +0200)]
Removed legacy version line handling from JsonHandler for speedup

5 years agoMade IndirectModelComponentCreator a bit faster
Daniel Kirschten [Mon, 16 Sep 2019 15:47:54 +0000 (17:47 +0200)]
Made IndirectModelComponentCreator a bit faster

5 years agoRemoved LegacySubmCompSerializer
Daniel Kirschten [Mon, 16 Sep 2019 15:47:47 +0000 (17:47 +0200)]
Removed LegacySubmCompSerializer

5 years agoRemoved overkill version attribute from standardComponentIDMapping
Daniel Kirschten [Mon, 16 Sep 2019 15:46:01 +0000 (17:46 +0200)]
Removed overkill version attribute from standardComponentIDMapping

5 years agoChanged InstructionView into an Editor
Fabian Stemmler [Mon, 16 Sep 2019 15:44:17 +0000 (17:44 +0200)]
Changed InstructionView into an Editor

5 years agoMade MicroInstructions immutable
Fabian Stemmler [Mon, 16 Sep 2019 15:35:27 +0000 (17:35 +0200)]
Made MicroInstructions immutable

5 years agoAm2900 now has HighLevelStates
Daniel Kirschten [Mon, 16 Sep 2019 15:23:40 +0000 (17:23 +0200)]
Am2900 now has HighLevelStates

5 years agoJsonHandler preserves line numbers
Daniel Kirschten [Mon, 16 Sep 2019 15:23:29 +0000 (17:23 +0200)]
JsonHandler preserves line numbers

5 years agoImproved preference handling in plugin.core
Daniel Kirschten [Mon, 16 Sep 2019 14:28:31 +0000 (16:28 +0200)]
Improved preference handling in plugin.core

5 years agoIntroduced some preferences
Daniel Kirschten [Mon, 16 Sep 2019 12:46:02 +0000 (14:46 +0200)]
Introduced some preferences

5 years agoRenamed net.mograsim.logic.tests to net.mograsim.logic.core.tests
Daniel Kirschten [Mon, 16 Sep 2019 12:28:58 +0000 (14:28 +0200)]
Renamed net.mograsim.logic.tests to net.mograsim.logic.core.tests

5 years agoFixed Clock polarities to values where the Am2900 works
Daniel Kirschten [Mon, 16 Sep 2019 12:23:45 +0000 (14:23 +0200)]
Fixed Clock polarities to values where the Am2900 works

5 years agoInstructionView now guesses the width of columns better
Daniel Kirschten [Mon, 16 Sep 2019 11:49:13 +0000 (13:49 +0200)]
InstructionView now guesses the width of columns better

5 years agoFixed Am2900MicroInstructionMemoryDefinition's maximal address
Daniel Kirschten [Mon, 16 Sep 2019 11:48:51 +0000 (13:48 +0200)]
Fixed Am2900MicroInstructionMemoryDefinition's maximal address

5 years agoFixed displayed microinstruction bit order
Daniel Kirschten [Mon, 16 Sep 2019 11:32:53 +0000 (13:32 +0200)]
Fixed displayed microinstruction bit order

5 years agoFixed a FixedOutput in Am2900
Daniel Kirschten [Mon, 16 Sep 2019 11:00:17 +0000 (13:00 +0200)]
Fixed a FixedOutput in Am2900

5 years agoWrote simple, basic tutorial for building Mograsim from source
Daniel Kirschten [Mon, 16 Sep 2019 10:46:53 +0000 (12:46 +0200)]
Wrote simple, basic tutorial for building Mograsim from source

5 years agoChanged SWTHelper submodule name to SWTHelper/bundles
Daniel Kirschten [Mon, 16 Sep 2019 08:57:28 +0000 (10:57 +0200)]
Changed SWTHelper submodule name to SWTHelper/bundles

5 years agoUpdated SWTHelper: Maven builds no longer cause changes being displayed
Daniel Kirschten [Mon, 16 Sep 2019 08:16:08 +0000 (10:16 +0200)]
Updated SWTHelper: Maven builds no longer cause changes being displayed

5 years agoChanged some .project files since Eclipse is very picky
Daniel Kirschten [Mon, 16 Sep 2019 07:52:54 +0000 (09:52 +0200)]
Changed some .project files since Eclipse is very picky

5 years agoMerge branch 'cont-integr-2' into 'development'
Daniel Kirschten [Mon, 16 Sep 2019 07:22:09 +0000 (09:22 +0200)]
Merge branch 'cont-integr-2' into 'development'

Switch to automatic build and test

See merge request lrr-tum/students/eragp-misim-2019!1

5 years agoShortened the memory test a bit because it was longer than necessary
Christian Femers [Mon, 16 Sep 2019 01:15:26 +0000 (03:15 +0200)]
Shortened the memory test a bit because it was longer than necessary

5 years agoFixed bug in CoreWordAddressableMemory where signals were not cleared.
Christian Femers [Mon, 16 Sep 2019 01:14:18 +0000 (03:14 +0200)]
Fixed bug in CoreWordAddressableMemory where signals were not cleared.

5 years agoMade WordAddressableMemoryTest less random and better at finding errors.
Christian Femers [Mon, 16 Sep 2019 00:39:16 +0000 (02:39 +0200)]
Made WordAddressableMemoryTest less random and better at finding errors.

5 years agoFixed reference to the old structure in the yaml
Christian Femers [Mon, 16 Sep 2019 00:19:38 +0000 (02:19 +0200)]
Fixed reference to the old structure in the yaml

5 years agoThe final restructured version for automatic build using maven tycho
Christian Femers [Mon, 16 Sep 2019 00:16:05 +0000 (02:16 +0200)]
The final restructured version for automatic build using maven tycho

This can be extended to automatically deploy the updatesite to e.g. ftp.
The difference to the previous CI approach is the flatter structure of
the project and some pipeline improvements.

5 years agoFixed a bug in Am2900; created dlatch8/80; relayouted some components
Daniel Kirschten [Sun, 15 Sep 2019 19:37:05 +0000 (21:37 +0200)]
Fixed a bug in Am2900; created dlatch8/80; relayouted some components

5 years agoFixed an error in Am2900MicroInstructionDefinition
Daniel Kirschten [Sun, 15 Sep 2019 19:35:49 +0000 (21:35 +0200)]
Fixed an error in Am2900MicroInstructionDefinition

5 years agoMPM load no longer causes Timeline to crash
Daniel Kirschten [Sun, 15 Sep 2019 19:35:33 +0000 (21:35 +0200)]
MPM load no longer causes Timeline to crash

5 years agoFixed a crashbug in Editor when deleting selections with wires and comps
Daniel Kirschten [Sun, 15 Sep 2019 19:31:35 +0000 (21:31 +0200)]
Fixed a crashbug in Editor when deleting selections with wires and comps

5 years agoCorrected Am2900MicroInstructionDefinition
Daniel Kirschten [Sun, 15 Sep 2019 16:19:21 +0000 (18:19 +0200)]
Corrected Am2900MicroInstructionDefinition

5 years agoA MicroInstructionDefinition now has a default
Daniel Kirschten [Sun, 15 Sep 2019 16:16:45 +0000 (18:16 +0200)]
A MicroInstructionDefinition now has a default

5 years agoRemoved old and incorrect CoreWire#get(Un)SignedValue
Daniel Kirschten [Sun, 15 Sep 2019 16:15:06 +0000 (18:15 +0200)]
Removed old and incorrect CoreWire#get(Un)SignedValue

5 years agoSetting a memory cell no longer causes an infinite loop
Daniel Kirschten [Sun, 15 Sep 2019 16:00:16 +0000 (18:00 +0200)]
Setting a memory cell no longer causes an infinite loop

5 years agoRenamed dff80#0 so it can be found easier in HighLevelStateDebugShell
Daniel Kirschten [Sun, 15 Sep 2019 14:05:58 +0000 (16:05 +0200)]
Renamed dff80#0 so it can be found easier in HighLevelStateDebugShell

5 years agoFixed InstructionView containing every column twice
Daniel Kirschten [Sun, 15 Sep 2019 13:52:29 +0000 (15:52 +0200)]
Fixed InstructionView containing every column twice

5 years agoFixed a bug causing CoreMemories using their own memories
Daniel Kirschten [Sun, 15 Sep 2019 13:46:03 +0000 (15:46 +0200)]
Fixed a bug causing CoreMemories using their own memories

5 years agoFixed two problems causing memory updates to get "missed" by observers
Daniel Kirschten [Sun, 15 Sep 2019 13:42:31 +0000 (15:42 +0200)]
Fixed two problems causing memory updates to get "missed" by observers

5 years agoFixed some bugs preventing Am2900 from working in Eclipse
Daniel Kirschten [Sun, 15 Sep 2019 13:11:15 +0000 (15:11 +0200)]
Fixed some bugs preventing Am2900 from working in Eclipse

5 years agoIncorporated MPM and RAM into Am2900
Daniel Kirschten [Sun, 15 Sep 2019 13:10:32 +0000 (15:10 +0200)]
Incorporated MPM and RAM into Am2900

5 years agoFixed a copy-and-paste error
Daniel Kirschten [Sun, 15 Sep 2019 12:43:39 +0000 (14:43 +0200)]
Fixed a copy-and-paste error

5 years agoApplied formatter to all source files
Daniel Kirschten [Sun, 15 Sep 2019 12:33:31 +0000 (14:33 +0200)]
Applied formatter to all source files

5 years agoApply formatter, optional problems, save actions to machine project
Daniel Kirschten [Sun, 15 Sep 2019 12:32:44 +0000 (14:32 +0200)]
Apply formatter, optional problems, save actions to machine project

5 years agoMade Memories look more like other components
Daniel Kirschten [Sun, 15 Sep 2019 12:27:15 +0000 (14:27 +0200)]
Made Memories look more like other components

5 years agoRemoved unneccessary clock input for memory components
Daniel Kirschten [Sun, 15 Sep 2019 12:12:32 +0000 (14:12 +0200)]
Removed unneccessary clock input for memory components

5 years agoRenamed some methods and parameters for clarity; removed debug code
Daniel Kirschten [Sun, 15 Sep 2019 11:39:53 +0000 (13:39 +0200)]
Renamed some methods and parameters for clarity; removed debug code

5 years agoMerge branch 'development' of
Fabian Stemmler [Sun, 15 Sep 2019 11:10:22 +0000 (13:10 +0200)]
Merge branch 'development' of
https://gitlab.lrz.de/lrr-tum/students/eragp-misim-2019.git into
development

Conflicts:
net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/standardComponentIDMapping.json