Fall 2021ECE 563 - Computer Architecture Rutgers University Instructor: Prof. Bo Yuan TA: Miao Yin ([email protected]) SIMULATION PROJECT </br>Issue Date: 09/26/2021 Due Date: 12/31/2021 23:55 p.m. US Eastern Standard Time (UTC-5) Points: 20% Expected Deliverable: a simulation report and raw data files 1 Introduction The main goal of this project is to run a set of simulations using the SimpleScalar sim- ulator, which helps you understand the basic concepts introduced in the lectures, such as instruction set architecture, quantitative performance analysis, memory hierarchy, and instruction-level parallelism. 2 Project Preparation 2.1 Step 1 - SimpleScalar Setup SimpleScalar is a simulator used for performance analysis and system verification at the microarchitectural level. It supports various ISAs, including Alpha, PISA, ARM, and x86. We will use sim-cache to test if SimpleScalar is built properly. More information can be found on www.simplescalar.com. 1. Download SimpleScalar 3.0 from www.simplescalar.com. 2. Extract: $ tar xvzf simplesim-3v0e.tgz 3. Build: $ cd simplesim-3.0 && make 4. Run a test and check if it works: $ ./sim-cache tests-alpha/bin/test-math The output should include the following line, indicating that everything works: -1e-17 == -1e-17 Worked! Simulation Project ECE 563 - Fall 2021 2.2 Step 2 - Benchmarks Setup Download benchmarks (distributed by Prof. Todd Austin at University of Michigan) from http://www.ecs.umass.edu/ece/koren/architecture/Simplescalar/benchmarks.tar.gz. You also can find it in Resources on Sakai. Then put the zip file of benchmarks into the Sim- pleScalar folder and extract it. Towards this end, I am attaching separately a number of complementary documents under folder Resources/Simulation Project/ on Sakai. 3 Project Requirements The project consists of the following 3 simulations, for which the detailed instructions and requirements are available online (courtesy of Dr Israel Koren from UMass): http://www.ecs.umass.edu/ece/koren/architecture/Simplescalar/. You also can find the PDF version of project requirements and configure files you need to modify under folder Resources/Simulation Project/Project Requirements/ on Sakai. 3.1 Lab Experiment 1 (General Instructions) http://www.ecs.umass.edu/ece/koren/architecture/Simplescalar/lab1.htm 3.2 Lab Experiment 2 (Caches) http://www.ecs.umass.edu/ece/koren/architecture/Simplescalar/lab1caches.htm 3.3 Lab Experiment 3 (Branch Prediction) http://www.ecs.umass.edu/ece/koren/architecture/Simplescalar/branch_prediction.htm Please follow the detailed instructions from the links (or the PDF version on Sakai) above and complete the 3 simulation labs. 4 Submission Requirements Expected deliverable of each student includes a simulation report and all raw data files. The report should contain the following components: 1. Your name. 2. Descriptions about the simulation setup and configurations (e.g., tools/benchmarks used and the simulation parameters), as well as any problems you encountered and later addressed. The descriptions should be clear and compressive enough for the readers to follow and reproduce your simulation results shown in the report. 3. Answers (with justifications) to each question listed in the simulation pages. Please fill the tables and plot the figures as needed. The report should be written using either IEEE or ACM templates for conferences pro- ceedings: 2 Simulation Project ECE 563 - Fall 2021 https://www.ieee.org/conferences/publishing/templates.html https://www.acm.org/publications/proceedings-template There is no page limit on the report. Once completed, please submit the completed simulation report in a single PDF file and a zip file including all the raw data files to Assignments on Sakai. Notes 1. It is recommended to read the "README" in the benchmarks folder when you start to do this project. 2. In lab 1 part 2, if you cannot find simplesim-3.0/tests-pisa/bin/ folder, please use the benchmarks in simplesim-3.0/tests-pisa/bin.little/ folder. If you encounter any problem with the bin.little benchmarks, try to use bin.big benchmarks. 3. In the simulation report, you are expected to describe the problems that came up during the simulations and how you overcame them. 4. Please do not try to contact the UMass or the distributor of SimpleScalar tool, be- cause they are not responsible for this simulation project. If you have any questions or concerns, please email the TA, thank you! 3
欢迎咨询51作业君