Simulation.py (13958:1945df12e5b0) | Simulation.py (13967:755cdc26b48d) |
---|---|
1# Copyright (c) 2012-2013 ARM Limited 2# All rights reserved 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 472 unchanged lines hidden (view full) --- 481 if options.checker: 482 switch_cpus[i].addCheckerCpu() 483 if options.bp_type: 484 bpClass = BPConfig.get(options.bp_type) 485 switch_cpus[i].branchPred = bpClass() 486 if options.indirect_bp_type: 487 IndirectBPClass = \ 488 BPConfig.get_indirect(options.indirect_bp_type) | 1# Copyright (c) 2012-2013 ARM Limited 2# All rights reserved 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 472 unchanged lines hidden (view full) --- 481 if options.checker: 482 switch_cpus[i].addCheckerCpu() 483 if options.bp_type: 484 bpClass = BPConfig.get(options.bp_type) 485 switch_cpus[i].branchPred = bpClass() 486 if options.indirect_bp_type: 487 IndirectBPClass = \ 488 BPConfig.get_indirect(options.indirect_bp_type) |
489 switch_cpus[i].branchPred.branchPred.indirectBranchPred = \ | 489 switch_cpus[i].branchPred.indirectBranchPred = \ |
490 IndirectBPClass() 491 492 # If elastic tracing is enabled attach the elastic trace probe 493 # to the switch CPUs 494 if options.elastic_trace_en: 495 CpuConfig.config_etrace(cpu_class, switch_cpus, options) 496 497 testsys.switch_cpus = switch_cpus --- 238 unchanged lines hidden --- | 490 IndirectBPClass() 491 492 # If elastic tracing is enabled attach the elastic trace probe 493 # to the switch CPUs 494 if options.elastic_trace_en: 495 CpuConfig.config_etrace(cpu_class, switch_cpus, options) 496 497 testsys.switch_cpus = switch_cpus --- 238 unchanged lines hidden --- |