cwwppb

@CWWPPB

Joined on Sep 6, 2022

  • 有些東西先用中文更新... datasheet 目標:lite版本可以啟動最基礎的linux,200T版本可以執行片上影像辨識。 CPU部分通過VCS+Verdi仿真後,需要用 IP & PORTS: UART :accept: SPI :name_badge: ETH:name_badge:
     Like  Bookmark
  • 我在這邊先懺悔,我的作業寫得不是很好,這學期發生很多事情。 實驗主題被不負責的博士班換掉,重寫碩論用的實驗,平均一周面了四五次, side project,雖然我都有把題目寫完,但是我的過程筆記寫得不是很理想,這點真的要加強,但是!! 我有把每一堂作業要用到的觀念帶入實際的面試之中,這堂課的幫助真的非常大,最後也成功拿到幾個 offers ,接下來我會認真說明的!! 選課緣起: 這是有原因的,起因是因為我在暑假初期收到了面試邀請,因此沒準備就上去面試(沒錯,第一次面試被罵到心態爆裂)。 作業一: 選題我覺得是真的很重要的,並且我們要預設對方面試官會想要問你甚麼題目,而我該如何應對, 我參考的是 TSMC 的經典 IT 考題,並且將他們寫出來,但我當初給的問題太粗淺了,也因此我在面試某 P 的其中一個職缺時直接大當機,慌神,然後就下去了,後面我很認真地聽了當時的語音,也沒有在日後的面試發生相同的情況。
     Like  Bookmark
  • 1.Led C driver 開發 知識點: 1.設定 SOC 模式 調整為 SVC 模式,利用 MSR 對 CPSR 最後四位做數值設定:M[4:0] 为10011=0X13(規格書標明的) 2.設定 SP 指針 可以指向 RAM 或是 DDR,設定好緩衝區(免得被非法讀寫) 3.利用 B 指令跳到 C 語言的 main 函式
     Like  Bookmark
  • pre-work On the afternoon of the day when I chose the subject to do, I returned my two classes, because I knew that I would't have too much fun in the next month, and I needed a lot of time to complete this term_project. sample 從零開始的RISC-V SoC架構設計與Linux核心運行 - 硬體篇 VIVADO guide Install VIVADO (please use the ML version, do not need to use the license). Please use the version after 2020.
     Like  Bookmark
  • ? 第一段程式碼補全,嘗試補全了其中的程式碼,聽過兩次 google meet 之後比較有感覺了。 實驗環境 補全的代碼 #pragma once
     Like  Bookmark
  • 以下是一個雙核的 rocketCpu SOC Each Rocket core is grouped with a page-table walker, L1 instruction cache, and L1 data cache into a RocketTile The Rocket core can also be swapped for a BOOM core. Each tile can also be configured with a RoCC accelerator that connects to the core as a coprocessor To customize a RISC-V SoC using the Rocket Chip project, you can modify the relevant configuration files. In this case, if you want to customize the project by removing a specific configuration, such as a 4-core RocketCore, you can make changes accordingly. The idea is to modify the project's configuration, so that when you execute the "make" command with the desired CONFIG option, the resulting Vivado project in the workspace will reflect your customization. However, it is important to verify if the additional external I/O IPs added to the Vivado project will remain compatible. This concern can be addressed at a later stage. Coprocessor PTW(page table walker)這個原始碼不太好懂,閱讀這篇來自 UCB 的文章 Virtual Memory
     Like  Bookmark
  • contributed by < Chiwawachiwawa > 測驗一 解釋並且補全上述程式碼 插入 insert for (pathp = path; pathp->node; pathp++) { \ int cmp = pathp->cmp = x_cmp(node, pathp->node); \ assert(cmp != 0); \ if (cmp < 0) { \ pathp[1].node = rbtn_left_get(x_type, x_field, pathp->node); \
     Like  Bookmark
  • contributed by < chiwawachiwawa > 作業環境 Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 39 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Vendor ID: GenuineIntel
     Like  Bookmark
  • contributed by < chiwawachiwawa > :::danger 注意書寫規範,中英文間用一個空白字元區隔。依循資訊科技詞彙翻譯指示,調整用語。 :notes: jserv ::: :::info 好的! :::
     Like  Bookmark
  • contributed by < Chiwawachiwawa > :::danger 注意作答規範! :notes: jserv ::: 第一題 解釋上述程式碼原理,並用 __builtin_clzl 改寫 pow2(uint8_t e) { return ((uint64_t)1) << e; }
     Like  Bookmark
  • contributed by < Chiwawachiwawa > 第一題 :::danger 不用抄題目,善用超連結。 :notes: jserv ::: 延伸問題:
     Like  Bookmark
  • install everything install verilator Verilator is an open source verilog simulation tool. you will use it to perform RTL function simulation, so as to verify the RTL code you write. step1.prepare some packages sudo apt-get install git perl python3 make autoconf g++ flex bison ccache sudo apt-get install libgoogle-perftools-dev numactl perl-doc
     Like  Bookmark
  • (do not modify this page if you are not assistant) 安裝python(已經下載過stable version的同學可以忽略) 點我 選擇windows installer(64-bit) 點擊執行檔案 請記得"一定要點兩個選項"很重要
     Like  Bookmark
  • Contributed by install VM with Oracle VM VirtualBox first click here because my cpu is AMD R7 5800X3D so we need to do a prework go to BIOS and open the CPU's VM Function then slect ypur VM like the picture below Problem description:
     Like  Bookmark
  • 需要準備自己的學校google帳號 step1 請點我,(需要登入"學校的帳號"才可以獲得存取權限) step2 下載後,在本機解壓縮後,上傳至"自己上課使用的雲端" 請將整份資料夾直接上傳,不要有其他方式(上傳不成功會造成後續lab無法執行) 點選上傳,會花費一些時間(2.30分鐘)
     Like  Bookmark
  • tag:jserv,hw1 contributed by Re-Fu-Zhang Problem Trapping Rain Water (leetcode42) Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after raining. Solution :::warning
     Like  Bookmark