-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9eafeac
Showing
4,069 changed files
with
1,300,259 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# casim | ||
Computer Architecture Simulation Infrastructure for CSCE 614 Computer Architecture | ||
|
||
|
||
|
||
### 1. Environemnt setup | ||
|
||
Everytime you want to build or run zsim, you need to setup the environment variables first. | ||
|
||
``` | ||
$ source setup_env | ||
``` | ||
|
||
|
||
|
||
#### 2. Download benchmark inputs | ||
|
||
``` | ||
$ cd benchmarks/parsec-2.1 | ||
$ wget http://students.cse.tamu.edu/jyhuang/csce614/parsec smallinputs.tar.gz | ||
$ tar xzvf parsec smallinputs.tar.gz | ||
``` | ||
|
||
|
||
|
||
#### 3. Setup zsim | ||
|
||
##### 3.1 Download config files and runscript | ||
|
||
``` | ||
$ cd zsim | ||
$ wget http://students.cse.tamu.edu/jyhuang/csce614/configs.tar.gz | ||
$ wget http://students.cse.tamu.edu/jyhuang/csce614/hw2runscript | ||
$ tar xzvf configs.tar.gz | ||
``` | ||
|
||
##### 3.2 Compile zsim | ||
|
||
``` | ||
$ scons -j4 | ||
``` | ||
|
||
##### 3.3 Launch a test to run | ||
|
||
``` | ||
./build/opt/zsim tests/simple.cfg | ||
``` | ||
|
||
|
||
|
||
###### For more information, check `zsim/README.md` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
Directory structure: This structure is following the parsec for gem5. | ||
|
||
parsec-2.1 | ||
|_________ bin | ||
|_________ include | ||
|_________ lib | ||
|_________ inputs | ||
|________ blackscholes | ||
|________ bodytrack | ||
|________ canneal | ||
|________ dedup | ||
|________ ferret | ||
|________ fluidanimate | ||
|________ freqmine | ||
|________ streamcluster | ||
|________ x264 | ||
|
||
bin | ||
=== | ||
Parsec 2.1 applications and kernels are statically built and put in the bin/ | ||
directory. Except for freqmine's rtview and vips, they are not successfully | ||
built statically. | ||
|
||
|
||
include | ||
======= | ||
x264.h header file is placed in include/, which is needed for x264. | ||
|
||
|
||
lib | ||
=== | ||
x264 related library archive and files are placed in lib/. | ||
|
||
|
||
# Note: no need to chaage or touch bin/ include/ and lib/. | ||
|
||
|
||
inputs | ||
====== | ||
All the inputs of the applications and kernels are put in the input/ | ||
directory. You need to download the input tar ball from parsec website: | ||
http://parsec.cs.princeton.edu/download/2.1/parsec-2.1-sim.tar.gz | ||
|
||
$ mkdir tmp; cd tmp | ||
$ wget http://parsec.cs.princeton.edu/download/2.1/parsec-2.1-sim.tar.gz | ||
$ tar xzvf parsec-2.1-sim.tar.gz | ||
|
||
Then you will get a parsec-2.1/ directory in tmp/. Inside this directories, | ||
the corresponding inputs for each applications are in | ||
pkgs/apps/${appname}/inputs or pkgs/kernels/${kernelname}/inputs. For each | ||
inputs dir, untar small medium and large tarball, and mv the uncompressed | ||
input files to coresponding inputs directory in the above structure. | ||
|
||
$ tar xvf input_simsmall.tar | ||
|
||
# Node: for dedup, small medium and large tar ball all have the same | ||
# media.data file. Untar them one by one, and rename them to be medias.dat, | ||
# mediam.dat and medial.dat. |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.