Accessing and Installing PathSim
PathSim is a simulator of the simple data path discussed in sections 5.1-5.4 of
Computer Organization and Design, 3rd ed.
, Patterson, D.A. and Hennessy, J. L., Morgan Kaufmann Publishers. The simulator presents a graphical depiction of the
architecture shown in figure 5.24. This web-based simulator allows its users to enter MIPS assembly code and step-wise
execute through the assembled machine code while viewing the values placed on the data lines with each instruction
PathSim, Copyright (C) 2005, is distributed through a ZIP file as free software by the author Dalton R. Hunkins
in accordance to the terms and conditions of GNU General Public License.
When you extract the files, you will obtain a main folder PathSim, and two subfolders DataPathSimulator
and SuggestedLabExercises.
The simulator is resident in the first subfolder and the name of the main page is
PathSim.html. You should start by first getting an overview of the simulator, which
you can do in one of two ways. You can open PathSim.html with
your browser (PathSim has been verified with Internet Explorer 6.0, Netscape 7.2
and Firefox 1.0.4). There is a button in the lower-right corner named “About PathSim.”
Clicking on this button takes you to a “help” page. Alternately, you can open and view the
“help” page directly. This page is named aboutPathSim.html and is resident in the folder
HelpFiles, which is a subfolder of DataPathSimulator.
You should do Lab A after obtaining a overview and are ready to “exercise” the simulator,
This lab is basically a tutorial on the simulator. The html file for the lab
can be found in the folder LabA, which is a subfolder of SuggestedLabExercises.
You can also get this page through a link in the “help” page of PathSim. Also
note that there are two other suggested lab exercises. The latter exercises guide
the user through steps that expand the functionality of the simulator,
adding additional mips instructions.
Click here to download/open the zip file containing the html with embedded
Javascript and applet (jar) files making up the simulator. The source for the Java applet is available
by contacting the author.
Hope you enjoy the simulator. You can contact the author with any questions and, of course,
comments are appreciated.
Dalton R. Hunkins, Professor
Computer Science Department
St. Bonaventure University
Date last modified:
August 21, 2006
