Skip to content

Commit

Permalink
Final changes after CSIF testing
Browse files Browse the repository at this point in the history
Good to go
  • Loading branch information
jlperona committed Nov 18, 2017
1 parent a2b14d0 commit 6c78f6d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions hw4/hw4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,14 @@ You should be able to simply checkout the new branch:
git checkout hw4
Remember to recompile gem5 after checking out the ``hw4`` branch.
The compilation command is the same as in homework 3.
I have made a small change to gem5 to enable you to model a wider pipeline than normally reasonable.
The compilation command is the same as in homework 3:

.. code-block:: sh
scons build/ARM/gem5.opt -jX
where ``X`` in ``-jX`` is the number of cores in your machine, plus one.

Be careful if you plan on using your own machine.
You will need to download a cross-compiler, as in the last assignment.
Expand Down Expand Up @@ -89,7 +95,8 @@ To run ``blackscholes``, use the following:
build/ARM/gem5.opt --outdir=<your outdir here> configs/example/se.py \
--cpu-type=hw4_core -c blackscholes -o "1 in_256.txt out" --l2cache --caches
I encourage you to explicitly set a different output directory for each workload and for each experiment you run with the workloads.
You will definitely want to turn the above commands into shell scripts.
Also, I encourage you to explicitly set a different output directory for each workload and for each experiment you run with the workloads.
This will make the next step easier.

These command lines will use the ``se.py`` run script.
Expand Down

0 comments on commit 6c78f6d

Please sign in to comment.