fastmodel: Fix cluster build failed

FastModelCortexCluster subclasses don't have `type` property. They don't
need to be specified in sim_objects for generating *Params class.

Change-Id: Ic09e494042e05d68c890f9603b8b78a4a8d815a9
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/55305
Reviewed-by: Gabe Black <gabe.black@gmail.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/56247
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
This commit is contained in:
Yu-hsin Wang
2022-01-10 13:36:30 +08:00
committed by Bobby Bruce
parent 8f812a803c
commit 13852f0811
2 changed files with 2 additions and 4 deletions

View File

@@ -39,8 +39,7 @@ for name in ('x1', 'x2', 'x3', 'x4'):
SimObject('FastModelCortexA76.py', sim_objects=[
'FastModelCortexA76', 'FastModelCortexA76Cluster'] +
[f'FastModelScxEvsCortexA76x{num}' for num in (1, 2, 3, 4)] +
[f'FastModelCortexA76x{num}' for num in (1, 2, 3, 4)])
[f'FastModelScxEvsCortexA76x{num}' for num in (1, 2, 3, 4)])
Source('cortex_a76.cc')
Source('evs.cc')
Source('thread_context.cc')

View File

@@ -40,8 +40,7 @@ for name in ('x1', 'x2', 'x3', 'x4'):
SimObject('FastModelCortexR52.py', sim_objects=[
'FastModelCortexR52', 'FastModelCortexR52Cluster'] +
[f'FastModelScxEvsCortexR52x{num}' for num in (1, 2, 3, 4)] +
[f'FastModelCortexR52x{num}' for num in (1, 2, 3, 4)])
[f'FastModelScxEvsCortexR52x{num}' for num in (1, 2, 3, 4)])
Source('cortex_r52.cc')
Source('evs.cc')
Source('thread_context.cc')