Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmayv25 committed Oct 31, 2018
0 parents commit 9eafeac
Show file tree
Hide file tree
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.
51 changes: 51 additions & 0 deletions CASIM_README.md
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`
58 changes: 58 additions & 0 deletions benchmarks/parsec-2.1/README
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 added benchmarks/parsec-2.1/bin/blackscholes
Binary file not shown.
Binary file added benchmarks/parsec-2.1/bin/bodytrack
Binary file not shown.
Binary file added benchmarks/parsec-2.1/bin/canneal
Binary file not shown.
Binary file added benchmarks/parsec-2.1/bin/dedup
Binary file not shown.
Binary file added benchmarks/parsec-2.1/bin/fluidanimate
Binary file not shown.
Binary file added benchmarks/parsec-2.1/bin/freqmine
Binary file not shown.
Binary file added benchmarks/parsec-2.1/bin/streamcluster
Binary file not shown.
Binary file added benchmarks/parsec-2.1/bin/swaptions
Binary file not shown.
Binary file added benchmarks/parsec-2.1/bin/x264
Binary file not shown.
Loading

0 comments on commit 9eafeac

Please sign in to comment.