Beruflich Dokumente
Kultur Dokumente
VIKAS B
11CO100
CONTENTS:
In this report I have explained the steps to install splash2 benchmarks once
gem5 is installed in a system.Steps to patch splash2 benchmark programs are
shown. Then I have also shown the steps to configure the makefile.config file
to make cross compiled files for various architectures such as alpha , arm and
x86. Screenshots are attached for this purpose.
Steps to make various cross compiled files for various architectures of different
splash2 programs are explained. Steps to run splash2 benchmark programs are
also shown. Steps are almost similar to running programs on full system mode.
I have also explained the steps to run a bashscript to automate the terminal so
that we can run different combinations of splash2 programs by changing the
system parameters. Screenshots are attached for this purpose.
Let us now make the cross compiled file for ALPHA architecture for programs
given in apps and kernels in codes under splash2 directory.
Let us make cross compiled file for splash2/codes/kernels/fft for Alpha
1. Open the terminal .Change to gem5 folder
2. Change to ftt folder. cd benchmark/splash2/codes/kernels/fft
3. type make clean
4. type make
Now the cross compiled file will be generated in fft folder. Same procedure can
be applied to other programs to generate crosscompiled files.
ARM STEPS
Replace the Makefile.config with the default Makefile.config file
1. Open Makefile.config in splash2/codes directory
2. Now change the cc=gcc in Makefile.config as cc=arm-linux-gnueabi and
save the file.
Let us now make the crosscomiled file for ALPHA architecture for programs
given in apps and kernels in codes under splash2 directory.
Let us make cross compiled file for splash2/codes/kernels/fft for Alpha
1. Open the terminal .Change to gem5 folder
2. Change to ftt folder. cd benchmark/splash2/codes/kernels/fft
3. type make clean
4. type make
Now the cross compiled file will be generated in fft folder. Same procedure
can be applied to other programs to generate crosscompiled files.
X86 STEPS:
Replace the Makefile.config with the default Makefile.config file.Since the
default Makefile.config is written for x86 we need not make any changes.
Let us now make the crosscomiled file for X86 architecture for programs given
in apps and kernels in codes under splash2 directory.
Let us make cross compiled file for splash2/codes/kernels/fft for x86
1. Open the terminal .Change to gem5 folder
2. Change to ftt folder. cd benchmark/splash2/codes/kernels/fft
3. Type make clean
4. Then make.
Now the cross compiled file will be generated in fft folder. Same procedure
can be applied to other programs to generate crosscompiled files.
Screenshot when ./fft.sh is typed in terminal is shown and fft.sh is also shown