11/25/22, 7:24 PM Lab #2https://webcourses.ucf.edu/courses/1418246/assignments/ XXXXXXXXXX/2Lab #2Due Dec 2 by 11:59pm Points 60 Submitting a file uploadAvailable Oct 15 at 12am - Dec 2...

1 answer below »
follow all the instruction step by step!!


11/25/22, 7:24 PM Lab #2 https://webcourses.ucf.edu/courses/1418246/assignments/7759400 1/2 Lab #2 Due Dec 2 by 11:59pm Points 60 Submitting a file upload Available Oct 15 at 12am - Dec 2 at 11:59pm Start Assignment In this project, you are asked to write the core part of a mini processor simulator called MySPIM using the C programming language on a Unix platform. Your MySPIM will demonstrate functions of the MIPS processor as well as the principle actions of the datapath and the control signals of a MIPS processor. The simulator should read in a file containing MIPS machine codes (in the format specified below) and simulate what the MIPS processor does cycle-by-cycle. You are required to implement the processor simulation as a single-cycle datapath. You are asked to fill in the body of several functions in the provided project file. Please download the following files: spimcore.c spimcore.h project.c These files contain the main program and the other supporting functions of the simulator. You are required to fill in the functions in project.c. You may also introduce new functions, but do not modify any other part of the files. You are not allowed to modify spimcore.c and spimcore.h. All your work should be placed in project.c. Please also avoid input and output statements as these will interrupt the test cases. For more detail, you can check ProjectGuideline.pdf and ProjectFAQ.pdf. Submission: Only project.c file. Note: Functionality is important. Any functional issue, such as segmentation fault or abnormal termination, may not be accepted (Hint: I will try many different input files). ProjectGuideline.pdf (https://webcourses.ucf.edu/courses/1418246/files/95811736?wrap=1) (https://webcourses.ucf.edu/courses/1418246/files/95811736/download?download_frd=1) project.c (https://webcourses.ucf.edu/courses/1418246/files/95811719?wrap=1) (https://webcourses.ucf.edu/courses/1418246/files/95811719/download?download_frd=1) spimcore.c (https://webcourses.ucf.edu/courses/1418246/files/95811740?wrap=1) (https://webcourses.ucf.edu/courses/1418246/files/95811740/download?download_frd=1) spimcore.h (https://webcourses.ucf.edu/courses/1418246/files/95811741?wrap=1) (https://webcourses.ucf.edu/courses/1418246/files/95811741/download?download_frd=1) ProjectFAQ.pdf (https://webcourses.ucf.edu/courses/1418246/files/95811729?wrap=1) (https://webcourses.ucf.edu/courses/1418246/files/95811729/download?download_frd=1) https://webcourses.ucf.edu/courses/1418246/files/95811736?wrap=1 https://webcourses.ucf.edu/courses/1418246/files/95811736/download?download_frd=1 https://webcourses.ucf.edu/courses/1418246/files/95811719?wrap=1 https://webcourses.ucf.edu/courses/1418246/files/95811719/download?download_frd=1 https://webcourses.ucf.edu/courses/1418246/files/95811740?wrap=1 https://webcourses.ucf.edu/courses/1418246/files/95811740/download?download_frd=1 https://webcourses.ucf.edu/courses/1418246/files/95811741?wrap=1 https://webcourses.ucf.edu/courses/1418246/files/95811741/download?download_frd=1 https://webcourses.ucf.edu/courses/1418246/files/95811729?wrap=1 https://webcourses.ucf.edu/courses/1418246/files/95811729/download?download_frd=1 11/25/22, 7:24 PM Lab #2 https://webcourses.ucf.edu/courses/1418246/assignments/7759400 2/2 sample input file: input.asc (https://webcourses.ucf.edu/courses/1418246/files/95969585?wrap=1) (https://webcourses.ucf.edu/courses/1418246/files/95969585/download?download_frd=1) https://webcourses.ucf.edu/courses/1418246/files/95969585?wrap=1 https://webcourses.ucf.edu/courses/1418246/files/95969585/download?download_frd=1
Answered 1 days AfterNov 26, 2022

Answer To: 11/25/22, 7:24 PM Lab #2https://webcourses.ucf.edu/courses/1418246/assignments/ XXXXXXXXXX/2Lab...

Aditi answered on Nov 27 2022
42 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here