edenlin

@edenlin

Joined on Mar 19, 2021

  • contribute by < JinYu1225 > Introduction The objective of this assignment is to develop a single-cycle RISC-V CPU, named MyCPU, using Chisel, a hardware description language based on Scala. The process involves forking and modifying code from ca2023-lab3 to complete the CPU construction. The final step is to execute the project developed in Assignment2 on the MyCPU. The complete project can be accessed here For further details on Chisel, Scala, and CPU construction as part of this assignment, refer to Lab3: Construct a single-cycle RISC-V CPU with Chisel. Hello World in Chisel
     Like  Bookmark
  • contributed by edenlin The Problem I chose to derive is the Problem A in quiz1 - Count Leading Zero. Binarization is widely used in image processing. In grayscale, we divide the depth of the color from 255 to 0. 255 means totally white while 0 means totally black. Binarization will convert each pixel to either 0 or 255 by a "threshold". Threshold is a parameter determines the value that pixel should convert to. When the color depth is greater than than the threshold, pixel converts to 255 (White). In contrast, if the color depth is smaller, pixel converts to 0 (Black). Threshold = 128 Before After
     Like  Bookmark
  • Calculate the Hamming Distance using Counting Leading Zeros contribute by < JinYu1225 > Program Selecting The program I select is the Calculate the Hamming Distance using Counting Leading Zeros by 唐飴苹. The reason why I choose this program is because I have seen a problem about Hamming Distance before, but I didn't understand the algorithm at that time. Therefore, I choose this target to have a better understanding on Hamming Distance. Besides, the student of this subject in assignment 1 only use Count Leading Zeros (CLZ) to simplify the algorithm of Hamming Distance. However, I'm interesting in whether we can use CLZ through all the algorithm. And I also want to try to implement a 64-bit CLZ structure on Ripes.
     Like  Bookmark