CSE378 Homework #5

10/30/2003  revised 11/4: last problem added

New 11/4: Links to ,jpg files of figure 5.19 and figure 5.33.

Due: Wednesday evening (hardcopy), drop-off point to be determined Beginning of quiz section Thursday 11/6.

These are all problems from the book, all to be done individually unless noted otherwise.  In addition, there will be one additional computer-based exercise, to be supplied later, so please factor that into your work plan.  Except for the mention of SPEC, the problems refer to topics we've covered already, so you can begin right away.

2.1 through 2.7

2.15-2.17

Before diving into the following, spend some time with the diagram on p.360 (and for that matter, with the examples on the following pages that use that same diagram).  The questions won't make much sense until you feel quite comfortable with that diagram in some sense, it is a union of the individual datapath diagrams in the slides).

5.1, 5.5, 5.8, 5.10, 5.14

Note carefully that this question is about the multicyle datapath of p.383, which is similar to the single-cycle implementation of the above problems, but not the same.

5.15


Computer-based exercise (not to be turned in or graded): Getting familiar with SMOK. 

The SMOK home page is linked from the 378 Tools and Documentation page  (linked from the 378 home page on the left menu bar).   Read the SMOK home page and the Introduction page.   You can skip the information on SLOOP and Cebollita, at least for now.

In the lab, locate the SMOK program, and/or on your own computer, download and install the software.  Start the program by clicking on the SMOK.exe file.   This will bring up a blank window with a yellow box at the top.  Right-click in the window and "add component": pick an ALU, for example.  If this works, the software and related files are installed successfully.

The page called Example Model Construction is a tutorial on using SMOK to create and simulate a system.  Try going through the steps yourself.