Assignment #2, Due April 30th

For this assignment, you will use SimpleScalar to examine the performance of an application called ADPCM, and the potential performance gains if the computation kernel could be speed up by having a custom accelerator or co-processor.

Accounts and Machines

Everyone should have an account on the CSE architecture lab. See the instructor if this is not the case. This account will let you log into the following two machines in our lab (if your job takes a long time to run, please nice it at -19):

cycletron20.ucsd.edu
cycletron21.ucsd.edu

These are the two machines you can use to complete this assignment.

Software

To complete the assignment you'll need to use the following software: You should put the compiler bin directory in your path, and copy the source tree for ARM SimpleScalar to your own directory for your SimpleScalar modifications. Compiling SimpleScalar will produce the ARM simulator called sim-outorder.

You will need to compile ADPCM with the ARM gcc compiler, and compile simplescalar with the linux x86 gcc compiler (/usr/local/bin/gcc). To run ADPCM on simplescalar execute the following command:

../sim-outorder -config xscale.cfg rawdaudio < clinton.adpcm > clinton.pcm

This will decode the clinton.adpcm file producing a PCM file. You will use the above configuration, program and input for all of the results for this assignment.

The xscale.cfg file is found in:
/home/cse291-sp02/project/arm/simplesim-arm/config/

The clinton.adpcm file is found in:
/home/cse291-sp02/project/assign2/adpcm/data

Questions to Answer

Once you are able to run sim-outorder on the ADPCM program, you will then need to modify SimpleScalar to answer the following questions:

What to turn in:



April 18, 2002