Mograsim.git
4 years agoSome work on improving BitVector<->String conversions
Daniel Kirschten [Sat, 12 Oct 2019 12:57:30 +0000 (14:57 +0200)]
Some work on improving BitVector<->String conversions

4 years agoRolled back toString change in BitVector, moved it into ModelBitDisplay
Fabian Stemmler [Sat, 12 Oct 2019 12:13:53 +0000 (14:13 +0200)]
Rolled back toString change in BitVector, moved it into ModelBitDisplay

4 years agoImproved RegisterView:
Daniel Kirschten [Sat, 12 Oct 2019 11:48:09 +0000 (13:48 +0200)]
Improved RegisterView:

Values are now viewed in hex (if they are binary) and can be written in
hex, dec or as BitVector

4 years agotoString now returns '-' for BitVectors consisting only of Z
Fabian Stemmler [Sat, 12 Oct 2019 11:17:05 +0000 (13:17 +0200)]
toString now returns '-' for BitVectors consisting only of Z

4 years agoFixed an IndexOutOfBoundsException
Fabian Stemmler [Sat, 12 Oct 2019 11:16:30 +0000 (13:16 +0200)]
Fixed an IndexOutOfBoundsException

4 years agoRenamed MainMachineLaunchConfigTab in the Wizard
Fabian Stemmler [Sat, 12 Oct 2019 11:16:09 +0000 (13:16 +0200)]
Renamed MainMachineLaunchConfigTab in the Wizard

It was previously called something along the lines of
'testlaunchconfigtab', now it is called 'Main'

4 years agoMicroInstructionDefinition now also has simple Mnemonics for Am2904
Fabian Stemmler [Fri, 11 Oct 2019 13:28:11 +0000 (15:28 +0200)]
MicroInstructionDefinition now also has simple Mnemonics for Am2904

4 years agoMemory Editor is now more intuitive
Fabian Stemmler [Fri, 11 Oct 2019 13:17:29 +0000 (15:17 +0200)]
Memory Editor is now more intuitive

Users no longer need to specify the block of memory they want to see.
Instead they can jump to an address or scroll through the table freely.

Issue:
The table does not load new elements when the top or bottom end is
reached with keyboard inputs.

4 years ago0th Mnemonic is default Mnemonic not otherwise specified
Fabian Stemmler [Thu, 10 Oct 2019 11:57:23 +0000 (13:57 +0200)]
0th Mnemonic is default Mnemonic not otherwise specified

4 years agoFixed bug with Exception being thrown with wrong cause
Fabian Stemmler [Thu, 10 Oct 2019 11:56:04 +0000 (13:56 +0200)]
Fixed bug with Exception being thrown with wrong cause

4 years agoAdded null check in dispose() of InstructionView
Fabian Stemmler [Sun, 6 Oct 2019 22:01:39 +0000 (00:01 +0200)]
Added null check in dispose() of InstructionView

If editor fails to initialize, memory is still null when dispose is
called.

4 years agoFixed typo in model.md
Fabian Stemmler [Tue, 8 Oct 2019 16:41:35 +0000 (18:41 +0200)]
Fixed typo in model.md

4 years agoMoved TODOs from getting_started.md to the source code
Daniel Kirschten [Mon, 7 Oct 2019 10:09:52 +0000 (12:09 +0200)]
Moved TODOs from getting_started.md to the source code

4 years agoAdded register for PC / BZ
Daniel Kirschten [Mon, 7 Oct 2019 00:27:29 +0000 (02:27 +0200)]
Added register for PC / BZ

4 years agoAdded register for IR
Daniel Kirschten [Mon, 7 Oct 2019 00:25:43 +0000 (02:25 +0200)]
Added register for IR

4 years agoAdded register for muIR
Daniel Kirschten [Mon, 7 Oct 2019 00:24:16 +0000 (02:24 +0200)]
Added register for muIR

4 years agoAdded Am2910 registers
Daniel Kirschten [Mon, 7 Oct 2019 00:06:27 +0000 (02:06 +0200)]
Added Am2910 registers

4 years agoFixed the same bug in some Am2900-specific ModelComponents
Daniel Kirschten [Mon, 7 Oct 2019 00:05:49 +0000 (02:05 +0200)]
Fixed the same bug in some Am2900-specific ModelComponents

4 years agoChanged Modelram5_12's HLS-IDs to have a trailing .q
Daniel Kirschten [Mon, 7 Oct 2019 00:04:52 +0000 (02:04 +0200)]
Changed Modelram5_12's HLS-IDs to have a trailing .q

4 years agoMerge remote-tracking branch 'origin/development' into development
Daniel Kirschten [Sun, 6 Oct 2019 23:41:26 +0000 (01:41 +0200)]
Merge remote-tracking branch 'origin/development' into development

4 years agoAdded Am2904 registers
Daniel Kirschten [Sun, 6 Oct 2019 23:40:37 +0000 (01:40 +0200)]
Added Am2904 registers

4 years agoAdded Mograsim perspective that contains all useful views directly
Christian Femers [Sun, 6 Oct 2019 23:39:21 +0000 (01:39 +0200)]
Added Mograsim perspective that contains all useful views directly

4 years agoMade muSR / MSR accessible bit-wise
Daniel Kirschten [Sun, 6 Oct 2019 23:30:16 +0000 (01:30 +0200)]
Made muSR / MSR accessible bit-wise

4 years agoRe-added Am2901 registers
Daniel Kirschten [Sun, 6 Oct 2019 23:28:44 +0000 (01:28 +0200)]
Re-added Am2901 registers

4 years agoRestructured register system
Daniel Kirschten [Sun, 6 Oct 2019 23:27:47 +0000 (01:27 +0200)]
Restructured register system

4 years agoReplaced micro symbols with Unicode escape \u00b5
Daniel Kirschten [Sun, 6 Oct 2019 22:10:43 +0000 (00:10 +0200)]
Replaced micro symbols with Unicode escape \u00b5

4 years agoAdded RegisterGroups for MachineDefinition
Christian Femers [Sun, 6 Oct 2019 20:13:37 +0000 (22:13 +0200)]
Added RegisterGroups for MachineDefinition

4 years agoMerge remote-tracking branch 'origin/development' into development
Daniel Kirschten [Sun, 6 Oct 2019 19:28:17 +0000 (21:28 +0200)]
Merge remote-tracking branch 'origin/development' into development

4 years agoMade punctuation uniform in docs/
Daniel Kirschten [Sun, 6 Oct 2019 19:27:14 +0000 (21:27 +0200)]
Made punctuation uniform in docs/

4 years agoFixed register sorting
Christian Femers [Sun, 6 Oct 2019 19:23:09 +0000 (21:23 +0200)]
Fixed register sorting

4 years agoAdded comment about missing update site
Daniel Kirschten [Sun, 6 Oct 2019 19:19:32 +0000 (21:19 +0200)]
Added comment about missing update site

4 years agoAdded comment how to use a local update site
Daniel Kirschten [Sun, 6 Oct 2019 19:11:50 +0000 (21:11 +0200)]
Added comment how to use a local update site

4 years agoMade formatting in docs/ uniform
Daniel Kirschten [Sun, 6 Oct 2019 19:02:24 +0000 (21:02 +0200)]
Made formatting in docs/ uniform

4 years agoRestructured documentation files
Daniel Kirschten [Sun, 6 Oct 2019 18:56:22 +0000 (20:56 +0200)]
Restructured documentation files

4 years agoContinued writing doc snippets
Daniel Kirschten [Sun, 6 Oct 2019 18:42:30 +0000 (20:42 +0200)]
Continued writing doc snippets

4 years agoContinued working on doc snippets
Daniel Kirschten [Sun, 6 Oct 2019 17:29:54 +0000 (19:29 +0200)]
Continued working on doc snippets

4 years agoFixed a typo in getstarted.md and removed a TODO
Fabian Stemmler [Sun, 6 Oct 2019 16:17:24 +0000 (18:17 +0200)]
Fixed a typo in getstarted.md and removed a TODO

4 years agoConvertd doc snippets to Markdown
Daniel Kirschten [Sat, 5 Oct 2019 13:57:48 +0000 (15:57 +0200)]
Convertd doc snippets to Markdown

4 years agoAdded references to the preferences
Daniel Kirschten [Sat, 5 Oct 2019 13:43:17 +0000 (15:43 +0200)]
Added references to the preferences

4 years agoWrote some documentation for using Mograsim
Daniel Kirschten [Sat, 5 Oct 2019 13:27:23 +0000 (15:27 +0200)]
Wrote some documentation for using Mograsim

4 years agoRemoved EditingSupports from Instruction Preview in SimulationView
Fabian Stemmler [Sun, 6 Oct 2019 16:52:23 +0000 (18:52 +0200)]
Removed EditingSupports from Instruction Preview in SimulationView

4 years agoMoved ResourceChangeListener to DebugTarget; Listener now deregisters
Fabian Stemmler [Sat, 5 Oct 2019 22:43:31 +0000 (00:43 +0200)]
Moved ResourceChangeListener to DebugTarget; Listener now deregisters

4 years agoQuick fix for MemoryEditor CellEditor using the wrong Font
Fabian Stemmler [Sat, 5 Oct 2019 21:53:05 +0000 (23:53 +0200)]
Quick fix for MemoryEditor CellEditor using the wrong Font

4 years agoFile targeted by InstructionView is now accessible
Fabian Stemmler [Sat, 5 Oct 2019 20:26:32 +0000 (22:26 +0200)]
File targeted by InstructionView is now accessible

4 years agoMerge branch threads into development
Daniel Kirschten [Sat, 5 Oct 2019 21:08:21 +0000 (23:08 +0200)]
Merge branch threads into development

4 years agoAdded Wizard for mem file creation
Fabian Stemmler [Sat, 5 Oct 2019 19:58:55 +0000 (21:58 +0200)]
Added Wizard for mem file creation

4 years agoFixed 2 Simulation bugs
Fabian Stemmler [Sat, 5 Oct 2019 14:58:52 +0000 (16:58 +0200)]
Fixed 2 Simulation bugs

Pausing the timeline now stops the execution of events during
executeUntil() -> suspending the DebugTarget on a rising edge of the
clock now has an immediate effect

The Simulation can no longer lag behind the TimeFunction, as the
TimeFunction is now set back in such an event

4 years agoWrote TODO
Daniel Kirschten [Sat, 5 Oct 2019 11:49:20 +0000 (13:49 +0200)]
Wrote TODO

4 years agoFixed MograsimNaturePropertyPage#DEFAULT_MACHINE
Daniel Kirschten [Fri, 4 Oct 2019 11:09:59 +0000 (13:09 +0200)]
Fixed MograsimNaturePropertyPage#DEFAULT_MACHINE

4 years agoAdded simple version of Am2900Machine
Daniel Kirschten [Fri, 4 Oct 2019 11:06:55 +0000 (13:06 +0200)]
Added simple version of Am2900Machine

4 years agoHighlighting Instructions is now based on the selected DebugTarget
Fabian Stemmler [Thu, 3 Oct 2019 19:32:55 +0000 (21:32 +0200)]
Highlighting Instructions is now based on the selected DebugTarget

4 years agoMoved logic for extracting DebugTarget from context change to a Listener
Fabian Stemmler [Thu, 3 Oct 2019 14:37:23 +0000 (16:37 +0200)]
Moved logic for extracting DebugTarget from context change to a Listener

Added MachineDebugContextListener for this purpose

4 years agoMemoryEditor's Amount field defaults to 100
Daniel Kirschten [Thu, 3 Oct 2019 14:48:14 +0000 (16:48 +0200)]
MemoryEditor's Amount field defaults to 100

4 years agoThe selection of the SBSEButton now follows the actual state
Daniel Kirschten [Thu, 3 Oct 2019 14:47:48 +0000 (16:47 +0200)]
The selection of the SBSEButton now follows the actual state

4 years agoFixed SimulationView spamming exceptions in some situations:
Daniel Kirschten [Thu, 3 Oct 2019 11:23:20 +0000 (13:23 +0200)]
Fixed SimulationView spamming exceptions in some situations:

When closing the SimulationView while it is displaying a machine, the
content provider still had its ActiveMicroInstructionChangedListener
registered in this machine, causing updateElement to be called when the
machine does a cycle, causing the log to be spammed with exceptions

4 years agoFixed / worked around Am2900Machine not booting sometimes
Daniel Kirschten [Thu, 3 Oct 2019 10:53:57 +0000 (12:53 +0200)]
Fixed / worked around Am2900Machine not booting sometimes

4 years agoCoreClock now starts as 1 to make Am2900Machine work again
Daniel Kirschten [Wed, 2 Oct 2019 17:05:04 +0000 (19:05 +0200)]
CoreClock now starts as 1 to make Am2900Machine work again

4 years agoAdded threads, stackframes, and registers to the debug model
Daniel Kirschten [Wed, 2 Oct 2019 16:17:34 +0000 (18:17 +0200)]
Added threads, stackframes, and registers to the debug model

4 years agoAdded register listeners
Daniel Kirschten [Wed, 2 Oct 2019 16:05:04 +0000 (18:05 +0200)]
Added register listeners

4 years agoFixed a NullPointerException in Modeldff4_finewe
Daniel Kirschten [Wed, 2 Oct 2019 14:12:49 +0000 (16:12 +0200)]
Fixed a NullPointerException in Modeldff4_finewe

4 years agoFixed a check in HLSShell
Daniel Kirschten [Wed, 2 Oct 2019 14:12:35 +0000 (16:12 +0200)]
Fixed a check in HLSShell

4 years agoMerge remote-tracking branch 'origin/development' into development
Daniel Kirschten [Wed, 2 Oct 2019 14:05:18 +0000 (16:05 +0200)]
Merge remote-tracking branch 'origin/development' into development

4 years agoHighLevelStates now support adding/removing listeners
Daniel Kirschten [Wed, 2 Oct 2019 14:04:33 +0000 (16:04 +0200)]
HighLevelStates now support adding/removing listeners

4 years agoFixed ModelClock's high level state:
Daniel Kirschten [Wed, 2 Oct 2019 14:02:42 +0000 (16:02 +0200)]
Fixed ModelClock's high level state:

Was inverted when read before wireTravelTime elapsed

4 years agoMade WireForcingAtomicHighLevelStateHandler.getHighLevelState cleaner
Daniel Kirschten [Wed, 2 Oct 2019 13:41:40 +0000 (15:41 +0200)]
Made WireForcingAtomicHighLevelStateHandler.getHighLevelState cleaner

4 years agoChanged getCurrentMicroInstructionAddress to use HighLevelStates
Daniel Kirschten [Tue, 1 Oct 2019 14:35:04 +0000 (16:35 +0200)]
Changed getCurrentMicroInstructionAddress to use HighLevelStates

4 years agoDisplay now accessed via PlatformUI for e.g. highlight requests
Fabian Stemmler [Wed, 2 Oct 2019 01:17:04 +0000 (03:17 +0200)]
Display now accessed via PlatformUI for e.g. highlight requests

4 years agoAdded hot replace functionality for modified mpm files
Fabian Stemmler [Wed, 2 Oct 2019 01:14:04 +0000 (03:14 +0200)]
Added hot replace functionality for modified mpm files

4 years agoMemoryEditor Font can now be configured
Fabian Stemmler [Tue, 1 Oct 2019 15:27:02 +0000 (17:27 +0200)]
MemoryEditor Font can now be configured

4 years agoMade renderSymbol/Outline final to force components to set Renderers
Daniel Kirschten [Tue, 1 Oct 2019 14:26:19 +0000 (16:26 +0200)]
Made renderSymbol/Outline final to force components to set Renderers

4 years agoMade get/setHLS final to force components to set a HLSHandler
Daniel Kirschten [Tue, 1 Oct 2019 14:25:58 +0000 (16:25 +0200)]
Made get/setHLS final to force components to set a HLSHandler

4 years agoAdded missing package to model.am2900's MANIFEST
Daniel Kirschten [Tue, 1 Oct 2019 14:21:15 +0000 (16:21 +0200)]
Added missing package to model.am2900's MANIFEST

4 years agoEnabled other memory renderings provided by org.eclipse.debug.ui
Daniel Kirschten [Tue, 1 Oct 2019 07:40:32 +0000 (09:40 +0200)]
Enabled other memory renderings provided by org.eclipse.debug.ui

4 years agoMerge remote-tracking branch 'origin/development' into development
Daniel Kirschten [Tue, 1 Oct 2019 07:38:25 +0000 (09:38 +0200)]
Merge remote-tracking branch 'origin/development' into development

4 years agoMainMemoryBlockExtension now reports the correct endianness
Daniel Kirschten [Tue, 1 Oct 2019 07:36:27 +0000 (09:36 +0200)]
MainMemoryBlockExtension now reports the correct endianness

4 years agoSingleSWTRequest utility class now actually does what it is supposed to
Fabian Stemmler [Tue, 1 Oct 2019 00:42:21 +0000 (02:42 +0200)]
SingleSWTRequest utility class now actually does what it is supposed to

4 years agoFixed a bug: colors/fonts did not update properly in InstructionTable
Fabian Stemmler [Mon, 30 Sep 2019 21:24:58 +0000 (23:24 +0200)]
Fixed a bug: colors/fonts did not update properly in InstructionTable

4 years agoAm2900Machine now has registers
Daniel Kirschten [Mon, 30 Sep 2019 21:51:43 +0000 (23:51 +0200)]
Am2900Machine now has registers

4 years agoMainMemoryBlockExtension now throttles firing of content change events
Daniel Kirschten [Mon, 30 Sep 2019 20:14:49 +0000 (22:14 +0200)]
MainMemoryBlockExtension now throttles firing of content change events

4 years agoMarked fields/methods related to activeMachine as deprecated in MContext
Daniel Kirschten [Mon, 30 Sep 2019 16:55:59 +0000 (18:55 +0200)]
Marked fields/methods related to activeMachine as deprecated in MContext

4 years agoMade SimulationView(Editor) a View again
Daniel Kirschten [Mon, 30 Sep 2019 16:34:57 +0000 (18:34 +0200)]
Made SimulationView(Editor) a View again

4 years agoFixed crashbug in ActiveInstructionPreviewContentProvider
Daniel Kirschten [Mon, 30 Sep 2019 16:34:38 +0000 (18:34 +0200)]
Fixed crashbug in ActiveInstructionPreviewContentProvider

4 years agoIntroduced execution speed listeners in MachineDebugTarget
Daniel Kirschten [Mon, 30 Sep 2019 16:33:39 +0000 (18:33 +0200)]
Introduced execution speed listeners in MachineDebugTarget

4 years agoIntroduced getters for executionSpeed
Daniel Kirschten [Mon, 30 Sep 2019 16:33:04 +0000 (18:33 +0200)]
Introduced getters for executionSpeed

4 years agoFixed annoying sporadic crashes
Daniel Kirschten [Mon, 30 Sep 2019 16:32:16 +0000 (18:32 +0200)]
Fixed annoying sporadic crashes

4 years agoInstruction Table Editing Support now uses the correct font
Fabian Stemmler [Mon, 30 Sep 2019 13:42:05 +0000 (15:42 +0200)]
Instruction Table Editing Support now uses the correct font

4 years agoMerge branch 'machines-are-launch-configs' into development
Daniel Kirschten [Mon, 30 Sep 2019 12:10:38 +0000 (14:10 +0200)]
Merge branch 'machines-are-launch-configs' into development

4 years agoLauch configuration attribute "Initial RAM" now has an effect
Daniel Kirschten [Mon, 30 Sep 2019 12:07:55 +0000 (14:07 +0200)]
Lauch configuration attribute "Initial RAM" now has an effect

4 years agoMemoryEditor now actually works
Daniel Kirschten [Mon, 30 Sep 2019 12:07:09 +0000 (14:07 +0200)]
MemoryEditor now actually works

4 years agoCreated MainMemoryParser
Daniel Kirschten [Mon, 30 Sep 2019 12:06:54 +0000 (14:06 +0200)]
Created MainMemoryParser

4 years agoActiveInstructionChangedListener moved to Machine and updated
Fabian Stemmler [Mon, 30 Sep 2019 00:32:39 +0000 (02:32 +0200)]
ActiveInstructionChangedListener moved to Machine and updated

The listener is now only called on the rising edge of the clock cycle.
Fixed a stupid bug in innerHighlight, creating Optionals of potential
null values with of()

4 years agoRemoved MachineProcess
Daniel Kirschten [Sun, 29 Sep 2019 22:02:02 +0000 (00:02 +0200)]
Removed MachineProcess

4 years agoMainMachineLaunchConfigTab's selection dialogs now look better
Daniel Kirschten [Sun, 29 Sep 2019 21:44:38 +0000 (23:44 +0200)]
MainMachineLaunchConfigTab's selection dialogs now look better

4 years agoMainMachineLaunchConfigTab now looks better
Daniel Kirschten [Sun, 29 Sep 2019 21:31:08 +0000 (23:31 +0200)]
MainMachineLaunchConfigTab now looks better

4 years agoThe user can now specify a RAM file (but doesn't have to)
Daniel Kirschten [Sun, 29 Sep 2019 21:30:14 +0000 (23:30 +0200)]
The user can now specify a RAM file (but doesn't have to)

4 years agoA Machine now can be run, not only debugged (doesn't make a difference)
Daniel Kirschten [Sun, 29 Sep 2019 21:14:47 +0000 (23:14 +0200)]
A Machine now can be run, not only debugged (doesn't make a difference)

4 years agoMPM file gets loaded when MainMachineLaunchConfigTab is created
Daniel Kirschten [Sun, 29 Sep 2019 21:10:03 +0000 (23:10 +0200)]
MPM file gets loaded when MainMachineLaunchConfigTab is created

4 years agoReplaced hardcoded string with reference to MGSActivater.PLUGIN_ID
Daniel Kirschten [Sun, 29 Sep 2019 20:52:35 +0000 (22:52 +0200)]
Replaced hardcoded string with reference to MGSActivater.PLUGIN_ID

4 years agoMade MPM configurable; changed startup exec speed from 10 to 1
Daniel Kirschten [Sun, 29 Sep 2019 20:51:48 +0000 (22:51 +0200)]
Made MPM configurable; changed startup exec speed from 10 to 1

4 years agoFixed a bug in MainMemoryBlockExtension
Daniel Kirschten [Sun, 29 Sep 2019 16:38:36 +0000 (18:38 +0200)]
Fixed a bug in MainMemoryBlockExtension