Restructured high level state access
[Mograsim.git] / net.mograsim.logic.ui.am2900 / src / net / mograsim / logic / ui / model / components / mi / nandbased / am2901 / GUIAm2901.java
index d08145d..fa3eabb 100644 (file)
@@ -16,6 +16,7 @@ import net.mograsim.logic.ui.model.wires.WireCrossPoint;
 
 public class GUIAm2901 extends SimpleRectangularSubmodelComponent
 {
+
        public GUIAm2901(ViewModelModifiable model)
        {
                super(model, 1, "GUIAm2901");
@@ -339,5 +340,8 @@ public class GUIAm2901 extends SimpleRectangularSubmodelComponent
                new GUIWire(submodelModifiable, cpFneq0, notFneq0.getPin("A"), new Point(315, 445));
                new GUIWire(submodelModifiable, cpFneq0, notFneq0.getPin("B"), new Point(315, 455));
                new GUIWire(submodelModifiable, notFneq0.getPin("Y"), Feq0, new Point[0]);
+
+               addHighLevelStateSubcomponentID("regs", ram);
+               addHighLevelStateSubcomponentID("qreg", qreg);
        }
 }
\ No newline at end of file