Éder F. Zulian has uploaded a new patch set (#4). ( https://gem5-review.googlesource.com/4120 )

Change subject: config, mem, hmc: fix HMC test script
......................................................................

config, mem, hmc: fix HMC test script

This patch removes parameters that do not have a correspondent C++
implementation and uses command line arguments to replace them while keeping
the logic behind the HMC model implementation untouched.

Additional changes:
- minor improvements to readability
- add default traffic generator configuration file
- user can specify a traffic generation configuration file in the command line
- trying hard to follow pep8
- add another swap file extension used by vim to the git ignore file
- simple hello world script using HMC

Usage examples:

./build/ARM/gem5.opt configs/example/hmctest.py --help
./build/ARM/gem5.opt configs/example/hmctest.py --enable-global-monitor --enable-link-monitor ./build/ARM/gem5.opt configs/example/hmctest.py --enable-global-monitor --enable-link-monitor --arch=same ./build/ARM/gem5.opt configs/example/hmctest.py --enable-global-monitor --enable-link-monitor --arch=mixed

The simple hello script is based on the 'learning gem5' tutorial, but it uses HMC as main memory. IMO, it shows that a small clean-up in the HMC related code is
needed. More opinions can be found on this thread:

https://www.mail-archive.com/gem5-users@gem5.org/msg14297.html

I will return this topic after the code review.

Usage example for the hello script:
./build/ARM/gem5.opt configs/example/hmc_hello.py --enable-global-monitor --enable-link-monitor

Change-Id: Ibcac21e717a93473265f7710b23d3d5512e2bad1
---
M .gitignore
M configs/common/HMC.py
A configs/example/hmc_hello.py
A configs/example/hmc_tgen.cfg
M configs/example/hmctest.py
5 files changed, 582 insertions(+), 250 deletions(-)


--
To view, visit https://gem5-review.googlesource.com/4120
To unsubscribe, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ibcac21e717a93473265f7710b23d3d5512e2bad1
Gerrit-Change-Number: 4120
Gerrit-PatchSet: 4
Gerrit-Owner: Éder F. Zulian <ederf...@gmail.com>
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to