123456789101112131415161718192021222324252627 |
- using NIFPGA.lvbitx;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace NIFPGA
- {
- public abstract class FPGABaseProperty : FPGABase
- {
- private protected Register register;
- internal FPGABaseProperty(FPGASession session,Register register) : base(session)
- {
- this.register = register;
- }
- public virtual bool IsArray { get; } = false;
- public uint SizeInBits => register.SizeInBits;
- public Boolean IsIndicator => register.Indicator;
- public uint Register => register.Offset;
- public string Name => register.Name;
- public override string ToString()
- {
- return Name;
- }
- }
- }
|