---
tags: computer-arch
---
# Assignment4: Cache
> Due: ==Dec 25, 2020==
## Requirements
1. Following the instructions of [Lab 7](https://inst.eecs.berkeley.edu/~cs61c/su20/labs/lab07/), you shall do the exercises via [Cache Simulation](https://github.com/mortbopet/Ripes/wiki/Cache-Simulation) provided by [Ripes](https://github.com/mortbopet/Ripes).
2. With [the given source code](https://github.com/61c-teach/su20-lab-starter/tree/master/lab07), you shall prepare C programs which are eventually compiled to RISC-V assembly using [Compiler Explorer](https://godbolt.org/). Then, you must write your answers to the questions written in the Task section of each exercise specific to [Lab 7](https://cs61c.org/su20/labs/lab07/).
* For tips on how to convert [Compiler Explorer](https://godbolt.org/) generated RISC-V assembly to assembly compatible with the Ripes assembler, refer to the page [Adapting Compiler Explorer generated RISC V assembly code](https://github.com/mortbopet/Ripes/wiki/Adapting-Compiler-Explorer-generated-RISC-V-assembly-code).
* You definitely have to modify [the given source code](https://github.com/61c-teach/su20-lab-starter/tree/master/lab07) to fit the expectation of [Ripes](https://github.com/mortbopet/Ripes).
3. Write down your thoughts and progress in [HackMD notes](https://hackmd.io/s/features).
## Fill in the table for your homework
| Formal given name | HackMD note |
|:-----------------:|:---------------------------------------------------------------- |
| 呂紹樺 | [Homework4](https://hackmd.io/@gjM5tgADQqm4uq9L5KzY3w/HkzkUEAiD) |
| 曾紹銘 | [Homework4](https://hackmd.io/@shauming1020/ass4) |
| 鄭育丞 | [Homework4](https://hackmd.io/@eecheng/S1DUjz82P) |
| 林霆寬 | [Homework4](https://hackmd.io/@WqO7s_aQRnGqgH3MozsKEg/rkg_maK3P) |
| 施丞宥 | [Homework4](https://hackmd.io/@charley871103/hw4) |
| 洪邵澤 | [Homework4](https://hackmd.io/@cccccs100203/lab4-riscv) |
| 鄭惟 | [Homework4](https://hackmd.io/@WeiCheng14159/BJS6h93hv) |
| 陳柏廷 | [Homework4](https://hackmd.io/@Max-Chen/HyLaoDj3v) |
| 王傑世 | [Homework4](https://hackmd.io/@vvang/Hyb53NqnD) |
| 楊承翰 | [Homework4](https://hackmd.io/5oWYJaTYTlSa8AyEYRPfmw) |
| 謝宜紘 | [Homework4](https://hackmd.io/@hsieh22/arch2020-assignment4) |
| 林楷倫 | [Homework4](https://hackmd.io/@kevinlin30292/2020ca-hw4) |
| 林柏維 | [Homework4](https://hackmd.io/lYbsD9D2Q2i-otiPCkB6SA?view) |
| 江松穎 | [Homework4](https://hackmd.io/@Uduru0522/rJ-NUxC3v) |
| 許龍君 | [Homework4](https://hackmd.io/Q-7HeDfjTUSlsaPQ-9REgw) |
| 陳冠宇 | [Homework4](https://hackmd.io/@guaneec/arch2020-a4) |
| 魏晉成 | [Homework4](https://hackmd.io/T_MxFzGNRMqS5b-7oGaz9w) |
| 汪宗諺 | [Homework4](https://hackmd.io/Xnx99LfjQz6Fi4FmEd-_mQ?view) |
| 段雅培 | [Homework4](https://hackmd.io/@kaeteyaruyo/risc-v-hw4) |
| 徐郁淞 | [Homework4](https://hackmd.io/@joe-U16/BkgRI55CP)|
| 江承緯 | [Homework4](https://hackmd.io/AreBJjbbQi6abl3vT4m6eg)|