Files
gem5/configs/learning_gem5
Gabe Black 073c32be2c misc: Replace TARGET_ISA with USE_${ISA} variables.
The TARGET_ISA variable would let you select one ISA from a list of
possible ISAs. That has now been replaced with USE_ARM_ISA, USE_X86_ISA,
etc, variables which are boolean on or off. That will allow any number
of ISAs to be enabled or disabled individually. Enabling something other
than exactly one of these will probably prevent you from getting a
working gem5 binary, but those problems are being addressed in other,
parallel change series.

I decided to use the USE_ prefix since it was consistent with most other
on/off variables we have in gem5. One noteable exception is the
BUILD_GPU setting which, you could convincingly argue, is a better
prefix than USE_. Another option would be to use CONFIG_, in
anticipation of using a kconfig style config mechanism in gem5.

It seemed premature to start using a CONFIG_ prefix here, and if we
decide to switch to some other prefix like BUILD_, it should be a
purposeful choice and not something somebody just starts using.

Change-Id: I90fef2835aa4712782e6c1313fbf564d0ed45538
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/52491
Tested-by: kokoro <noreply+kokoro@google.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
2022-09-02 10:20:51 +00:00
..

Learning_gem README
-------------------
This directory contains the configuration scripts used in the "Learning gem5"
book. The scripts contained in these directories are for educational purposes
only and should not be used for architectural research as-is.

"Learning gem5" is a work-in-progress book that is frequently updated. For the
most up-to-date version of the book, see the website.

http://gem5.org/documentation/learning_gem5/introduction

This directory is broken into one subdirectory per part of the book.

If you would like to contribute (please do!) the code for the Learning gem5 book
is hosted on GitHub.

https://github.com/powerjg/learning_gem5

Goals of these scripts
~~~~~~~~~~~~~~~~~~~~~~
These scripts are not necessarily useful outside the scope of the Learning
gem5 book. The goal is to include the learning gem5 scripts, following the
book as closely as possible, so that the regression tester will catch any
changes that affect the book.

For general users, these are *not* good scripts to use for running complex
architectural experiments. These scripts *are* a good starting point example
of how to write your own scripts for experiments.

Feedback
~~~~~~~~
Send mail to jason@lowepower.com to provide feedback.