Question: Make sure you answer me with all commands to run in linux Using SimpleScalar This individual-based assignment is marked out of 100 which weights PART

Make sure you answer me with all commands to run in linuxMake sure you answer me with all commands to run in linux Using SimpleScalar

This individual-based assignment is marked out of 100 which weights PART THREE: Instruction fetch, stage transitions (20 marks) 20 of the module total mark and has to be submitted by the midnight of the 15th of January 2022. Please be advised that there will be a penalty of 05 deduction for each day delay. The assignment report For the div.c program that you wrote in PART ONE, must be submitted to Moodle via the link provided on the course page a) CPI in pdf format. The report should have a cover with the name and logo b) how many cycles are needed to execute the program of the university, the module name and code, students' names and IDs, c) How many registers are used? the semester and year on it. Soft copies of files must be submitted to d) Pick a cycle that shows the instruction/s, capture the screen shot and include it in the Moodle via the submission link. You also need to present your e) Pick a cycle that shows the pipeline states, capture the screen shot and include it in the assignment to the instructor using your own computer. This assignment assignment report. Explain the states includes four parts. Below are the assignment tasks f) Pick a cycle that shows the cache miss, capture the screen shot and include it in the assignment report PART ONE: Program and Instruction a) Write a simple c program that divides two numbers, name it div.c g) Pick a cycle that shows the branch misprediction, capture the screen shot and include it in the assignment report b) Test the program and ensure it does fulfill the requirement h) Pick a cycle that shows the branch misprediction detected, capture the screen shot and include it c) Compile the program in the assignment report d) Submit the assembly language for the program in step (a) e) Using the binary program of div, report below statistics for 20 instructions PART FOUR: Instruction branching 30 marks) For the div.c program that you wrote in PART ONE, fill information in the table and discuss the results 1) Number of executed instructions 2) Number of loads and stores 3) How long the program took to execute PART TWO: Cache a) Configure a 2-way set-associative 10 blocks data cache with 1024 sets and 1-way set-associative 8k byte instruction cache. Main memory of 1M bytes with 65536 blocks. 1) Include the content of the configuration settings in your assignment report 2) Include the command to perform this task in the assignment report, and capture the screen shot and include it in the report. b) Record the miss, replacement, and writeback rates of the data cache in a table like the one below for each of the replacement algorithms. Analyze the result and elaborate on which of the following replacement policy is the best for this configuration. \begin{tabular}{|l|c|l|l|} \hline & Miss rate & Replacement rate & Writeback rate \\ \hline LRU & & & \\ \hline FIFO & & & \\ \hline Random & & & \\ \hline \end{tabular}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!