Paper Review for Seminar 8
Title:PipeRench Tutorial
Authors: The lot of us.
This is still a draft document. Therefore we are looking comments to
enhance the document, particularly to make it clearer for a first time
reader-- even pointing out grammar and spelling ill be appreciated :).
YOUR REVIEW GOES HERE.
In addition to your review, please attempt to write an application
that does the following:
-
Reads a four bit number off of the 4 least significant bits of "Global.0".
-
Keeps track of the last four of those four bit numbers seen on that bus,
and produces a running average of those numbers. The average should be
output on "Global.1". In order to divide by four, just right shift by two
and forget about any rouding.
-
Example: If the input is: 0, 3, 4, 2, 1, 9, ...
the output should be: 0, 0 (=3/4), 1 (=7/4), 2 (=9/4), 2 (=10/4),
4 (=16/4), ...
-
There can be any latency between the input stream and the output stream.
The assembler (cvhasm) is available for rs_aix41 and sun4_55 systems in:
/afs/cs/academic/class/15828/bin
which you should already have in your path in order to run the handin
program. In order to run the assembler/simulator:
-
setenv CVHSIM_ROOT /afs/cs/academic/class/15828/simulator
-
Add $CVHSIM_ROOT/bin to your path.
-
Move your source file, say average4.cvh, to a new directory all
by itself. cd to that directory.
-
cp /afs/cs/academic/class/15828/www/lab2/* .
-
Run cvhasm on the source code: cvhasm average4.cvh
-
Run cvhsim 10 . b to run your code with ten physical stripes.
-
The simulator is still pretty buggy. Read the bboard frequently for bug
updates and post any problems or work arounds.
YOUR CVHASM FILE GOES HERE.
Review by: YOUR NAME GOES HERE