internal MAX19506Memory(ScopeFpgaSettingsMemory fpgaMemory, ScopeStrobeMemory strobeMemory, ScopeFpgaRom fpgaRom)
        {
            this.fpgaSettings = fpgaMemory;
            this.strobeMemory = strobeMemory;
            this.fpgaRom = fpgaRom;

            foreach (MAX19506 reg in Enum.GetValues(typeof(MAX19506)))
                registers.Add((uint)reg, new ByteRegister(this, (uint)reg, reg.ToString()));
        }
Beispiel #2
0
        internal MAX19506Memory(ByteMemoryEnum <REG> fpgaMemory, ScopeStrobeMemory strobeMemory, ScopeFpgaRom fpgaRom)
        {
            this.fpgaSettings = fpgaMemory;
            this.strobeMemory = strobeMemory;
            this.fpgaRom      = fpgaRom;

            foreach (MAX19506 reg in Enum.GetValues(typeof(MAX19506)))
            {
                Registers.Add((uint)reg, new ByteRegister(this, (uint)reg, reg.ToString()));
            }
        }