Compiling gem5 with dramsim2 included fails due to some inconsistencies in including SimObjects. In this patch this issue is fixed along with temporarily disabling -Werror=nonnull-compare in CCFLAGS. Also, the remote for cloning dramsim2 has been changed. Change-Id: Ia24095150d026d736352aaf0d735b7554ede10bb Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/31434 Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
12 lines
336 B
Plaintext
12 lines
336 B
Plaintext
Follow these steps to get DRAMSim2 as part of gem5
|
|
|
|
1. Download DRAMSim2
|
|
1.1 Go to ext/dramsim2 (this directory)
|
|
1.2 Clone DRAMSim2: git clone git@github.com:umd-memsys/DRAMSim2.git
|
|
|
|
2. Compile gem5
|
|
2.1 Business as usual
|
|
|
|
3. Run gem5 with DRAMSim2
|
|
3.1 Use --mem-type=dramsim2 and set the device and system configuration
|