public Multiplexer() : base(1) { in0 = new NonSavingElement(); in0.AddOutputTarget(this); in1 = new NonSavingElement(); in1.AddOutputTarget(this); TimingControl.Inst.RegisterElement(this); }
public Alu() : base(1) { inA = new NonSavingElement(); inA.AddOutputTarget(this); inB = new NonSavingElement(); inB.AddOutputTarget(this); TimingControl.Inst.RegisterElement(this); }
public Memory() : base((int)CONTROL_VARS.MAX) { memData = new int[MEM_START_SIZE]; ZeroMemory(0); addressIn = new NonSavingElement(); addressIn.AddOutputTarget(this); dataIn = new NonSavingElement(); dataIn.AddOutputTarget(this); TimingControl.Inst.RegisterElement(this); }