gem5-dev@gem5.org

The gem5 Developer List

View all threads

[XS] Change in gem5/gem5[develop]: configs: Add the O3 CPU as an option to baremetal.py

RC
Richard Cooper (Gerrit)
Wed, Apr 12, 2023 7:41 AM

Richard Cooper has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/69686?usp=email )

Change subject: configs: Add the O3 CPU as an option to baremetal.py
......................................................................

configs: Add the O3 CPU as an option to baremetal.py

Adds the O3_ARM_v7a CPU model as an extra option for the --cpu-type
to configs/example/arm/baremetal.py.

Change-Id: I717b168945bec22fb5ae17e37c2854df844bcb4f

M configs/example/arm/baremetal.py
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/configs/example/arm/baremetal.py
b/configs/example/arm/baremetal.py
index 345596d..9caab9d 100644
--- a/configs/example/arm/baremetal.py
+++ b/configs/example/arm/baremetal.py
@@ -52,6 +52,7 @@
from common import MemConfig
from common import ObjectList
from common.cores.arm import HPI
+from common.cores.arm import O3_ARM_v7a

import devices
import workloads
@@ -63,6 +64,12 @@
"atomic": (AtomicSimpleCPU, None, None, None),
"minor": (MinorCPU, devices.L1I, devices.L1D, devices.L2),
"hpi": (HPI.HPI, HPI.HPI_ICache, HPI.HPI_DCache, HPI.HPI_L2),

  • "o3": (
  •    O3_ARM_v7a.O3_ARM_v7a_3,
    
  •    O3_ARM_v7a.O3_ARM_v7a_ICache,
    
  •    O3_ARM_v7a.O3_ARM_v7a_DCache,
    
  •    O3_ARM_v7a.O3_ARM_v7aL2,
    
  • ),
    }

--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/69686?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I717b168945bec22fb5ae17e37c2854df844bcb4f
Gerrit-Change-Number: 69686
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Cooper richard.cooper@arm.com
Gerrit-MessageType: newchange

Richard Cooper has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/69686?usp=email ) Change subject: configs: Add the O3 CPU as an option to baremetal.py ...................................................................... configs: Add the O3 CPU as an option to baremetal.py Adds the O3_ARM_v7a CPU model as an extra option for the `--cpu-type` to `configs/example/arm/baremetal.py`. Change-Id: I717b168945bec22fb5ae17e37c2854df844bcb4f --- M configs/example/arm/baremetal.py 1 file changed, 7 insertions(+), 0 deletions(-) diff --git a/configs/example/arm/baremetal.py b/configs/example/arm/baremetal.py index 345596d..9caab9d 100644 --- a/configs/example/arm/baremetal.py +++ b/configs/example/arm/baremetal.py @@ -52,6 +52,7 @@ from common import MemConfig from common import ObjectList from common.cores.arm import HPI +from common.cores.arm import O3_ARM_v7a import devices import workloads @@ -63,6 +64,12 @@ "atomic": (AtomicSimpleCPU, None, None, None), "minor": (MinorCPU, devices.L1I, devices.L1D, devices.L2), "hpi": (HPI.HPI, HPI.HPI_ICache, HPI.HPI_DCache, HPI.HPI_L2), + "o3": ( + O3_ARM_v7a.O3_ARM_v7a_3, + O3_ARM_v7a.O3_ARM_v7a_ICache, + O3_ARM_v7a.O3_ARM_v7a_DCache, + O3_ARM_v7a.O3_ARM_v7aL2, + ), } -- To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/69686?usp=email To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings Gerrit-Project: public/gem5 Gerrit-Branch: develop Gerrit-Change-Id: I717b168945bec22fb5ae17e37c2854df844bcb4f Gerrit-Change-Number: 69686 Gerrit-PatchSet: 1 Gerrit-Owner: Richard Cooper <richard.cooper@arm.com> Gerrit-MessageType: newchange