/// <summary> /// Copy constuctor /// </summary> /// <param name="other"></param> public TCLProperties(TCLProperties other) { foreach (TCLProperty p in other) { SetProperty(p.Name, p.Value, p.ReadOnly); } }
public TCLInstance(TCLInstance other) { BELType = other.BELType; InstanceIndex = other.InstanceIndex; Location = other.Location; LocationX = other.LocationX; LocationY = other.LocationY; m_code.Append(other.m_code.ToString()); m_sliceNumber = other.m_sliceNumber; m_tileKey = new FPGA.TileKey(other.m_tileKey.X, other.m_tileKey.Y); Name = other.Name; OmitPlaceCommand = other.OmitPlaceCommand; Properties = new TCLProperties(other.Properties); SliceName = other.SliceName; SliceNumber = other.SliceNumber; SliceType = other.SliceType; }