Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: Update README/README.md #71

Merged
merged 9 commits into from Jul 17, 2023
43 changes: 0 additions & 43 deletions README

This file was deleted.

88 changes: 88 additions & 0 deletions README.md
@@ -0,0 +1,88 @@
# The gem5 Simulator

This is the repository for the gem5 simulator. It contains the full source code
for the simulator and all tests and regressions.

The gem5 simulator is a modular platform for computer-system architecture
research, encompassing system-level architecture as well as processor
microarchitecture. It is primarily used to evaluate new hardware designs,
system software changes, and compile-time and run-time system optimizations.

The main website can be found at <http://www.gem5.org>.

## Getting started

A good starting point is <http://www.gem5.org/about>, and for
more information about building the simulator and getting started
please see <http://www.gem5.org/documentation> and
<http://www.gem5.org/documentation/learning_gem5/introduction>.

## Building gem5

To build gem5, you will need the following software: g++ or clang,
Python (gem5 links in the Python interpreter), SCons, zlib, m4, and lastly
protobuf if you want trace capture and playback support. Please see
<http://www.gem5.org/documentation/general_docs/building> for more details
concerning the minimum versions of these tools.

Once you have all dependencies resolved, type
`scons build/<CONFIG>/gem5.opt` where `<CONFIG>` is one of the options in
build_opts like `ARM`, `NULL`, `MIPS`, `POWER`, `SPARC`, `X86`,
`Garnet_standalone`, etc. This will build an optimized version of the gem5
binary (gem5.opt) with the the specified configuration. See
http://www.gem5.org/documentation/general_docs/building for more details and
options.

## The Source Tree

The main source tree includes these subdirectories:

* build_opts: pre-made default configurations for gem5
* build_tools: tools used internally by gem5's build process.
* configs: example simulation configuration scripts
* ext: less-common external packages needed to build gem5
* include: include files for use in other programs
* site_scons: modular components of the build system
* src: source code of the gem5 simulator
BobbyRBruce marked this conversation as resolved.
Show resolved Hide resolved
* system: source for some optional system software for simulated systems
* tests: regression tests
* util: useful utility programs and files

## gem5 Resources

To run full-system simulations, you may need compiled system firmware, kernel
binaries and one or more disk images, depending on gem5's configuration and
what type of workload you're trying to run. Many of these resources can be
obtained from <https://resources.gem5.org>.

More information on gem5 Resources can be found at
<https://www.gem5.org/documentation/general_docs/gem5_resources/>.

## Getting Help, Reporting bugs, and Requesting Features

We provide a variety of channels for users and developers to get help, report
bugs, requests features, or engage in community discussions. Below
are a few of the most common we recommend using.

* **gem5-users@gem5.org**: A mailing list for users of gem5 to ask questions
or start discussions. To join the mailing list please visit
<https://www.gem5.org/mailing_lists>.
* **gem5-dev@gem5.org**: A mailing list for developers of gem5 to ask questions
or start discussions. To join the mailing list please visit
<https://www.gem5.org/mailing_lists>.
* **GitHub Discussions**: A GitHub Discussions page. This can be used to start
BobbyRBruce marked this conversation as resolved.
Show resolved Hide resolved
discussions or ask questions. Available at
<https://github.com/orgs/gem5/discussions>.
* **GitHub Issues**: A GitHub Issues page for reporting bugs or requesting
features. Available at <https://github.com/gem5/gem5/issues>.
* **Jira Issue Tracker**: A Jira Issue Tracker for reporting bugs or requesting
features. Available at <https://gem5.atlassian.net/>.
* **Slack**: A Slack server with a variety of channels for the gem5 community
to engage in a variety of discussions. Please visit
<https://www.gem5.org/join-slack> to join.

## Contributing to gem5

We hope you enjoy using gem5. When appropriate we advise charing your
contributions to the project. <https://www.gem5.org/contributing> can help you
get started. Additional information can be found in the CONTRIBUTING.md file.
2 changes: 1 addition & 1 deletion build_tools/infopy.py
Expand Up @@ -51,7 +51,7 @@
code = code_formatter()

for source in args.files:
src = os.path.basename(source)
src = os.path.basename(source).replace(".", "_")
BobbyRBruce marked this conversation as resolved.
Show resolved Hide resolved
with open(source, "r") as f:
data = "".join(f)
code("${src} = ${{repr(data)}}")
Expand Down
2 changes: 1 addition & 1 deletion src/SConscript
Expand Up @@ -615,7 +615,7 @@ PySource('m5', 'python/m5/defines.py')

# Generate a file that wraps the basic top level files
gem5py_env.Command('python/m5/info.py',
[ File('#/COPYING'), File('#/LICENSE'), File('#/README'),
[ File('#/COPYING'), File('#/LICENSE'), File('#/README.md'),
powerjg marked this conversation as resolved.
Show resolved Hide resolved
"${GEM5PY}", "${INFOPY_PY}" ],
MakeAction('"${GEM5PY}" "${INFOPY_PY}" "${TARGET}" '
'${SOURCES[:-2]}',
Expand Down