Try   HackMD

Assignment1: RISC-V Assembly and Instruction Pipeline

( Due: Sep 16, 2019 )

Requirements

  1. Following the instructions of Lab1: R32I Simulator, you shall write RISC-V assembly programs (R32I ISA) such as calculating Fibonacci numbers and output to the console with system calls.
    • Don't implement the same subject as others do. Your program shall be different.
    • You have to ensure the program functioned with Ripes simulator.
  2. You have to explain how each instruction works along with Ripes simulator.
    • Explain your program with the visualization for multiplexer input selection, register write/enable signals and more. You have to illustrate each stage such as IF, ID, IE, MEM, and WB. In addition, you should discuss the steps of memory updates accordingly.
  3. Write down your thoughts and progress in HackMD notes.
    • Example page: Do not modify this note.
    • Insert your HackMD notes and RISC-V assembly programs in the following table.

Fill in the table for your homework

Name (Chinese/English) Descriptions HackMD note Program (GitHub link)
Jim Huang mathematical factorial function (! function) Lab1: R32I Simulator Factorial function
黃偉宸 Implementation a binary search procedure Lab1: R32I Simulator recursive binary search
黃俞紘 example explaination Lab1: R32I Simulator example explaination
張家銘(DC) Lucas number Lab1: R32I Simulator Lucas number
王昱翔 Multiplier Lab1: R32I Simulator Multiplier
林家葦 bit reverse Lab1: R32I Simulator bit reverse
Soonmyun Jang Prime number Lab1: R32I Simulator Prime number
周沛辰 Sum of First N Natural Numbers Lab1: R32I Simulator Sum of First N Natural Numbers
戴宏諺 Permutations(nCk) with recursion Lab1: R32I Simulator Permutations(nCk) with recusion
陳冠廷 32bit djb2 hash function Lab1: R32I Simulator
黃瀚群 Tower of Hanoi Lab1: R32I Simulator Tower of Hanoi
林於縉 Printing to the Console Lab1: R32I Simulator Printing to the Console
Rasmus Pettersson Basic switch case with console print Lab1: R32I Simulator Switch case with console print
曾士峰 9*9 Multiplication Table Lab1: R32I Simulator 9*9 Multiplication Table
林聖堯 Sort 1~5 With Bubble Sort Lab1: R32I Simulator Bubble_sort
潘家瑞/Suraj Pramanik N-th Catalan number Lab1: R32I Simulator
李佶龍 POW Function Lab1: R32I Simulator Pow Function