Installing the SimpleScalar simulator is relatively straightforward under Linux. For Windows installation, the Cygwin toolchain is required. Grab the latest Cygwin installer (setup-x86_64) from here: https://cygwin.com/setup-x86_64.exe (note that this is intended for 64-bit machines).
After running the installer, just proceed through the wizard. The default installation directory is
C:\cygwin64. When selecting a mirror website, usually mirrors.kernel.org is the fastest mirror. Select where you want the Cygwin packages to be installed. In the package installation window, select the following packages under
Web select the w3m package (this will make the download process much easier). The installer will say that additional dependencies are needed. Click “Yes” to install the additional dependency packages.
Note: To install a package, you can simply click on the circular arrows next to the name of the package. The text next to the arrow will cycle between “skip” and the desired version of the package. Feel free to install the latest available version of each of the packages above.
After the installation of Cygwin is finished, simply open a Cygwin bash terminal (by opening “Cygwin64 Terminal” from the installed programs in Start menu) and follow these steps (credits go to Ramya Pradhan):
- Download SimpleScalar:
Use the arrow keys to navigate to the bottom of the page to accept the terms. Move the cursor to ‘I Agree’ and hit enter. You will see a message ‘(Download) Save ﬁle to: simplesim-3v0e.tgz’ at the bottom of the page, hit enter to save ﬁle in the current directory. To get out of the browser, press q.
- Compile SimpleScalar
tar xvzf simplesim-3v0e.tgz
- Test the installation using