6d0d7b52b9acd7178cae8783c91b58720839ba6c
[Mograsim.git] / plugins / net.mograsim.plugin.core / src / net / mograsim / plugin / editors / MainMemoryEditor.java
1 package net.mograsim.plugin.editors;
2
3 import net.mograsim.machine.BitVectorMemory;
4 import net.mograsim.machine.MachineDefinition;
5 import net.mograsim.machine.StandardMainMemory;
6
7 public class MainMemoryEditor extends AbstractMemoryEditor
8 {
9         @Override
10         protected BitVectorMemory createEmptyMemory(MachineDefinition activeMachineDefinition)
11         {
12                 return new StandardMainMemory(activeMachineDefinition.getMainMemoryDefinition());
13         }
14 }