protected override void PreInitialize() { base.PreInitialize(); var lib = Descriptor.Library; if (lib == null) { lib = "work"; } LibraryName = lib; ImpEntityName = "implementation"; ImpFileName = lib + "_" + ImpEntityName + ".vhd"; CreationDate = DateTime.Now.ToString(); Version = "1.00.a"; int index = LibraryName.IndexOf('_'); if (index > 0) { TopEntityName = LibraryName.Remove(index); } else { TopEntityName = LibraryName; } TopFileName = lib + "_" + TopEntityName + ".vhd"; }
protected override void PreInitialize() { base.PreInitialize(); var lib = Descriptor.Library; if (lib == null) { lib = "work"; } LibraryName = lib; ImpEntityName = "implementation"; ImpFileName = lib + "_" + ImpEntityName + ".vhd"; CreationDate = DateTime.Now.ToString(); Version = "1.00.a"; AXIDataWidth = SLVDWidth; AXIAddrWidth = 32; AXIMinSize = "000001FF"; UseWRSTRB = 0; DPhaseTimeout = 8; BaseAddr = "FFFFFFFF"; HighAddr = "00000000"; NumMem = 1; SLVAWidth = 32; UserSLVNumReg = NumRegs; int index = LibraryName.IndexOf('_'); if (index > 0) { TopEntityName = LibraryName.Remove(index); } else { TopEntityName = LibraryName; } TopFileName = lib + "_" + TopEntityName + ".vhd"; }