configs,tests: Update configs to use compatible SE workloads.

If there's no more compatible workload than the base SEWorkload class it
will fall back to that for now.

Change-Id: Id27172c3074a7976823a891878ab9eecf6246c47
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33901
Reviewed-by: Matthew Poremba <matthew.poremba@amd.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Gabe Black
2020-08-31 23:00:27 -07:00
parent 14bdba8c66
commit b489e49c68
13 changed files with 21 additions and 18 deletions

View File

@@ -216,8 +216,6 @@ system.clock = '1GHz'
system.toL2bus = L2XBar(clock = busFrequency)
system.l2 = L2(size = options.l2size, assoc = 8)
system.workload = SEWorkload()
# ----------------------
# Connect the L2 cache and memory together
# ----------------------
@@ -284,6 +282,8 @@ for cluster in clusters:
for cpu in cluster.cpus:
cpu.workload = root.workload
system.workload = SEWorkload.init_compatible(root.workload.executable)
# ----------------------
# Run the simulation
# ----------------------

View File

@@ -195,8 +195,7 @@ else:
# Create a system, and add system wide objects
# ----------------------
system = System(cpu = cpus, physmem = SimpleMemory(),
membus = SystemXBar(clock = busFrequency),
workload = SEWorkload())
membus = SystemXBar(clock = busFrequency))
system.clock = '1GHz'
system.toL2bus = L2XBar(clock = busFrequency)
@@ -268,6 +267,8 @@ else:
for cpu in cpus:
cpu.workload = root.workload
system.workload = SEWorkload.init_compatible(root.workload.executable)
# ----------------------
# Run the simulation
# ----------------------