Ejemplo n.º 1
0
        public ScopeStrobeMemory(ScopeFpgaSettingsMemory writeMemory, ScopeFpgaRom readMemory)
        {
            this.writeMemory = writeMemory;
            this.readMemory = readMemory;

            foreach (STR str in Enum.GetValues(typeof(STR)))
                registers.Add((uint)str, new BoolRegister(this, (uint)str, str.ToString()));
        }
Ejemplo n.º 2
0
        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()));
        }
Ejemplo n.º 3
0
        public ScopeStrobeMemory(ScopeFpgaSettingsMemory writeMemory, ScopeFpgaRom readMemory)
        {
            this.writeMemory = writeMemory;
            this.readMemory  = readMemory;

            foreach (STR str in Enum.GetValues(typeof(STR)))
            {
                registers.Add((uint)str, new BoolRegister(this, (uint)str, str.ToString()));
            }
        }
Ejemplo n.º 4
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()));
            }
        }