The installation of the Y86 simulator under the first UBUNTU12.04: (refer to http://archive.cnblogs.com/a/1865627/for appropriate changes)
1. Installing the Bison and flex lexical analysis tools
sudo apt-get install Bison flex
2. Download Sim decompression. Address http://csapp.cs.cmu.edu/public/students.html
Chapter 4:processor Architecture
- Y86 Tools and Documentation
- Source Distribution (README) (SIM)
- Simulator Guide (PDF) (Help document)
- Technical describing a successful effort at formally verifying an earlier version of the pipelined Y86 Implementati Ons. (PDF)
3. The graphical interface needs to be installed TCL/TK
3.1 sudo apt-get install Tcl8.5-dev tk8.5-dev tcl8.5 tk8.5 (mine is also installed by default)
3.2 Changing the makefile file (under the Sim folder):
Guimode=-dhas_gui (originally #guimode=-dhas_gui, that is, to remove the gaze)
tklibs=-l/usr/lib/-ltk8.5-ltcl8.5
tkinc=-i/usr/include/tcl8.5
(The upper one is the uppercase I, which is the meaning of include.) Not small L, the path is the path on my machine. Determine what path tk.h and tcl.h are in, or they will go wrong.
3.3 Compiling
Unix->make Clean;make
after the end will be able to use, CD to the sim file, the following details please refer to the simguide.pdf inside, very specific. please refer to the Simguide.pdf for specific details. It's very specific.
First of all, UBUNTU10.04 under the Y86 Simulator installation: (reference http://archive.cnblogs.com/a/1865627/for appropriate changes)
1. Install the Bison and Lex lexical analysis tools (my default is already installed)
sudo apt-get install Bison flex
2. Download SIM decompression, address http://csapp.cs.cmu.edu/public/students.html
Chapter 4:processor Architecture
- Y86 Tools and Documentation
- Source Distribution (README) (SIM)
- Simulator Guide (PDF) (Help document)
- Technical describing a successful effort at formally verifying an earlier version of the pipelined Y86 Implementati Ons. (PDF)
3. The graphical interface needs to be installed TCL/TK
3.1 sudo apt-get install Tcl8.5-dev tk8.5-dev tcl8.5 tk8.5 (mine is also installed by default)
3.2 Changing the makefile file (under the Sim folder):
Guimode=-dhas_gui (originally #guimode=-dhas_gui, that is, to remove the gaze)
tklibs=-l/usr/lib/-ltk8.5-ltcl8.5
tkinc=-i/usr/include/tcl8.5
(The upper one is the uppercase I.) Is the meaning of include. Not small L, the path is the path on my machine. Determine what path tk.h and tcl.h are in, or they will go wrong.
3.3 Compiling
Unix->make Clean;make
then everything will be able to be used. CD-To-Sim file, please refer to the detailed simguide.pdf in the back. A very specific.
ubuntu12.04 Installing the Cs:app Y86 Simulator