def __init__(self, root): DTSLv1.__init__(self, root) '''Do not add directly to this list - first check if the item you are adding is already present''' self.mgdPlatformDevs = [] # Tracks which devices are managed when a trace mode is enabled self.mgdTraceDevs = {} # Locate devices on the platform and create corresponding objects self.discoverDevices() # Only DAP device is managed by default - others will be added when enabling trace, SMP etc if self.dap not in self.mgdPlatformDevs: self.mgdPlatformDevs.append(self.dap) self.exposeCores() self.traceRangeIDs = {} traceComponentOrder = [self.Funnel0] managedDevices = [self.Funnel0, self.OutCTI0, self.ETF0Trace] self.setupETFTrace(self.ETF0Trace, "ETF0", traceComponentOrder, managedDevices) traceComponentOrder = [self.Funnel0, self.ETF0] managedDevices = [self.Funnel0, self.ETF0, self.OutCTI0, self.ETR0] self.setupETRTrace(self.ETR0, "ETR0", traceComponentOrder, managedDevices) self.setupCTISyncSMP() self.setManagedDeviceList(self.mgdPlatformDevs)
def __init__(self, root): DTSLv1.__init__(self, root) # locate devices on the platform and create corresponding objects self.discoverDevices() self.mgdPlatformDevs = set() # tracks which devices are managed when a trace mode is enabled self.mgdTraceDevs = {} # only DAP device is managed by default - others will be added when enabling trace, SMP etc self.mgdPlatformDevs.add(self.dap) self.exposeCores() self.setupSMP() self.setupSystemETBTrace() self.setupCCNETBTrace() for c in range(NUM_CLUSTERS): self.setupClusterETBTrace(c) # use internal trace range to limit trace to e.g. kernel self.traceRangeOptions = [ TraceRangeOptions(), # Cortex-A15 trace options ] self.setManagedDevices(self.mgdPlatformDevs)
def __init__(self, root): DTSLv1.__init__(self, root) '''Do not add directly to this list - first check if the item you are adding is already present''' self.mgdPlatformDevs = [] # Tracks which devices are managed when a trace mode is enabled self.mgdTraceDevs = {} # Locate devices on the platform and create corresponding objects self.discoverDevices() # Only MEM_AP devices are managed by default - others will be added when enabling trace, SMP etc if self.AXI not in self.mgdPlatformDevs: self.mgdPlatformDevs.append(self.AXI) if self.APB not in self.mgdPlatformDevs: self.mgdPlatformDevs.append(self.APB) self.exposeCores() traceComponentOrder = [self.Funnel6] managedDevices = [self.Funnel6, self.ETF0Trace] self.setupETFTrace(self.ETF0Trace, "ETF0", traceComponentOrder, managedDevices) traceComponentOrder = [] managedDevices = [self.ETF1Trace] self.setupETFTrace(self.ETF1Trace, "ETF1", traceComponentOrder, managedDevices) traceComponentOrder = [] managedDevices = [self.ETF2Trace] self.setupETFTrace(self.ETF2Trace, "ETF2", traceComponentOrder, managedDevices) traceComponentOrder = [ self.Funnel6, self.ETF0, self.Funnel0, self.Funnel5 ] managedDevices = [ self.Funnel6, self.ETF0, self.Funnel0, self.Funnel5, self.ETF3Trace ] self.setupETFTrace(self.ETF3Trace, "ETF3", traceComponentOrder, managedDevices) traceComponentOrder = [ self.Funnel6, self.ETF0, self.Funnel0, self.Funnel5, self.ETF3 ] managedDevices = [ self.Funnel6, self.ETF0, self.Funnel0, self.Funnel5, self.ETF3, self.ETR0 ] self.setupETRTrace(self.ETR0, "ETR0", traceComponentOrder, managedDevices) self.setupSimpleSyncSMP() self.setManagedDeviceList(self.mgdPlatformDevs)
def __init__(self, root): DTSLv1.__init__(self, root) '''Do not add directly to this list - first check if the item you are adding is already present''' self.mgdPlatformDevs = [] # locate devices on the platform and create corresponding objects self.discoverDevices() # only DAP device is managed by default - others will be added when enabling trace, SMP etc if self.dap not in self.mgdPlatformDevs: self.mgdPlatformDevs.append(self.dap) self.exposeCores() self.setupSimpleSyncSMP() self.setManagedDeviceList(self.mgdPlatformDevs)
def __init__(self, root): DTSLv1.__init__(self, root) '''Do not add directly to this list - first check if the item you are adding is already present''' self.mgdPlatformDevs = [] # Locate devices on the platform and create corresponding objects self.discoverDevices() # Only MEM_AP devices are managed by default - others will be added when enabling trace, SMP etc for i in range(len(self.APBs)): if self.APBs[i] not in self.mgdPlatformDevs: self.mgdPlatformDevs.append(self.APBs[i]) for i in range(len(self.AXIs)): if self.AXIs[i] not in self.mgdPlatformDevs: self.mgdPlatformDevs.append(self.AXIs[i]) self.exposeCores() self.setupSimpleSyncSMP() self.setManagedDeviceList(self.mgdPlatformDevs)
def __init__(self, root): DTSLv1.__init__(self, root) '''Do not add directly to this list - first check if the item you are adding is already present''' self.mgdPlatformDevs = [] # Tracks which devices are managed when a trace mode is enabled self.mgdTraceDevs = {} # Locate devices on the platform and create corresponding objects self.discoverDevices() # Only DAP device is managed by default - others will be added when enabling trace, SMP etc if self.dap not in self.mgdPlatformDevs: self.mgdPlatformDevs.append(self.dap) self.exposeCores() traceComponentOrder = [ self.TPIU ] managedDevices = [ self.TPIU, self.DSTREAM ] self.setupDSTREAMTrace(DSTREAM_PORTWIDTH, traceComponentOrder, managedDevices) self.setManagedDeviceList(self.mgdPlatformDevs)