1 package net.mograsim.logic.model.am2900.components;
3 import net.mograsim.logic.model.am2900.machine.Am2900MainMemoryDefinition;
4 import net.mograsim.logic.model.model.LogicModelModifiable;
5 import net.mograsim.logic.model.serializing.IdentifyParams;
6 import net.mograsim.logic.model.serializing.IndirectModelComponentCreator;
7 import net.mograsim.machine.standard.memory.ModelWordAddressableMemory;
9 public class ModelAm2900MainMemory extends ModelWordAddressableMemory
11 public ModelAm2900MainMemory(LogicModelModifiable model, String name)
13 super(model, Am2900MainMemoryDefinition.instance, name);
17 public String getIDForSerializing(IdentifyParams idParams)
19 return "Am2900MainMemory";
24 IndirectModelComponentCreator.setComponentSupplier(ModelAm2900MainMemory.class.getCanonicalName(), (m, p, n) ->
26 return new ModelAm2900MainMemory(m, n);