Kyle Hsieh (謝阿Sa)

@asahsieh

*Be passion and don't look down upon yourselves.* Former Digital Verification engineer in RTK.tw 0x20 0x20 Github: < asahsieh >

Prime membership

Joined on Sep 28, 2016

  • 講座 Note on Linux 核心設計: 發展動態回顧 Note on Linux 核心設計: 不只挑選任務的排程器 Note on Linux 核心設計: 針對事件導向的 I/O 模型演化 Note on Linux 核心設計: 期末專題回顧 Note on Linux 核心設計: 作業系統術語及概念 linux2025q1 linux2025q1-week1
     Like  Bookmark
  • Setup Install the Ultimate vimrc plugin manager plugin 只會愈裝愈多,因此需要一個掌管所有 plugins 的管理者vundle (Newer) Minimalist Vim Plugin Manager:PlugInstall to install plugins. Problem: cannot give root permission to make ​​ Plug 'universal-ctags/ctags', { 'dir': '~/.ctags', 'do': 'sudo make install' } no need, just put the Shorthand notation:
     Like  Bookmark
  • :::spoiler Table Of Content ::: Installation and settings 建議使用 Ubuntu Linux 20.04 LTS (或版本更高的發行套件),Linux 核心必須在 v5.4 以上,否則課程提供的範例和作業無法正確執行。 Try installation on Apple MacBook by multipass project步驟 from teacher: brew install multipass # 安裝套件multipass launch -c 2 -d 10G -m 2G -n ubuntu # 建立名為 ubuntu 的虛擬機器環境,其中 -c 表示 CPU 數量、-d 表示儲存裝置的容量、-m 表示主記憶體空間multipass shell ubuntu # 一旦上述的虛擬機器環境建立,透過本命令即可存取到 Ubuntu Linuxuname -a # 取得 Ubuntu Linux 核心版本資訊lsb_release -a # 取得 Distro資訊,如:Ubuntu release
     Like  Bookmark
  • 2021q1 Week1 lecture note contributed by < asahsieh > Ref.: GNU/Linux 開發工具 GUN/Linux開發工具 Linux study#Installation GNU Debugger (GDB) Update kernel to the Ubuntu Linux 24.04-LTS
     Like  Bookmark
  • contributed by <asahsieh> :::spoiler Table of Content ::: 熟悉Git和Github操作 Git offical docSCM tools: stands for Source Code Management Git offical book
     Like  Bookmark
  • Randomization Soft Constraints Soft constraints are default constraints which hold true until contradicted by another similar constraint.Ref.: http://vlsiwithvikas.blogspot.tw/2016/05/system-verilog-soft-constraints.html Unique unique { open_range_list- } References:SystemVerilog Unique Constraint can only be used on numeric variable
     Like  Bookmark
  • Chapters (to be based on <UVM 1.2 User's Guide>) UVM Study UVM Sequence UVM_EVENT_POOL UVM RAL UVM Questions Know-how from SiFive Config should be centralized for easily debugging
     Like  Bookmark
  • 基礎 Python 資料類型 (data type)整數:integers 浮點數:floats 布林:booleans 什麼是 物件 (object)? 什麼是 變數 (variable)? 基本的 運算子 (operator)
     Like  Bookmark
  • Computer Architecture (Fall 2021) Lecture notes [x] Computer Architecture Week1 [x] Computer Architecture Week2 [x] Computer Architecture (Fall 2021) Week3 [x] Computer Architecture (Fall 2021) Week4 [ ] Computer Architecture (Fall 2021) Week6 [ ] Computer Architecture (Fall 2021) Week7 [ ] Computer Architecture (Fall 2021) Week 8: Datapath and Control [ ] Computer Architecture (Fall 2021) Week 9: Pipeline
     Like  Bookmark
  • [TOC] 藉由 perf,應用程式可以利用 ==PMU (Performance Monitoring Unit)==, tracepoint 和核心內部的特殊計數器 (counter) 來進行統計,另外還能同時分析運行中的核心程式碼,從而更全面了解應用程式中的效能瓶頸。 perf 基本原理是對目標進行取樣,紀錄特定的條件下所偵測的事件是否發生以及發生的次數。 例如++根據 tick 中斷進行取樣++,即在 tick 中斷內觸發取樣點,在取樣點裡判斷行程 (process) 當時的 context。假如一個行程 90% 的時間都花費在函式 foo() 上,那麼 90% 的取樣點都應該落在函式 foo() 中。 Perf 可取樣的事件非常多,可以分析 Hardware event,如 cpu-cycles、instructions 、cache-misses、branch-misses …等等。
     Like 1 Bookmark
  • [TOC] M. Morris Mano, Charles R. Kime; Person Prentice Hall, 2003 Chapter/section list to study ::: spoiler Study list [ ] Chapter 5 [ ] until 5-4
     Like  Bookmark
  • [TOC] online docs of GCC 3 GCC Command Options 3.13 Options Controlling the Preprocessor online link gcc -E -o out_file.i in_file.c
     Like  Bookmark
  • [TOC] 5.1.1.1 Program structure 前置處理器 Definition in C99, 5.1.1.1 Program structure p1:
     Like  Bookmark
  • Why 0.1 + 0.2 != 0.3?[^1] Prime Factor 質因數: 若b為a的因數,且b為質數,則稱b為a的質因數;如60的質因數有2、3、5。 從內文的描述 Some interesting fact about Prime Factor: There is only one (unique!) set of prime factors for any number. Prime factorizations can help us with divisibility, simplifying fractions, and finding common denominators for fractions.
     Like  Bookmark
  • contributed by < asahsieh > 作業說明 :::spoiler 作業 TODO list [X] 開啟 Address Sanitizer,修正 qtest 執行過程中的錯誤 先執行 qtest 再於命令提示列輸入 help 命令,會使 開啟 Address Sanitizer 觸發錯誤,應予以排除 [ ] 運用 Valgrind 排除 qtest 實作的記憶體錯誤,並透過 Massif 視覺化 “simulation” 過程中的記憶體使用量,需要設計對應的實驗
     Like  Bookmark
  • Motivation I love Surfing. I usually go surfing alone, so I can't take pictures of my surfing by myself. The famous camera for sports, GoPro, it may not suitable to shoot video from shore, because it can only shoot a fixed region. When a guy surf, he'll move around to find waves. So we want to make a device to dynamically capture the moving of surfers. Similar Products SOLOSHOT Objective Make a camera which can detect one of surfers who is catching a wave and no tag wearing required. The technique Motion detection is considered to use, so called MotionPro, means that ++a GoPro-like device with Motion detection++.
     Like  Bookmark
  • 測驗 η 測驗 β-1 說明上述程式碼的運作原理 mask的用處是取出輸入sz的alignment以下的位元做檢查。 alignment的記憶體對齊地址必須為給定的alignment的倍數,即在alignment以下的位元都必須為0 return value的部份
     Like  Bookmark
  • contributed by < asahsieh > 題目連結 電腦環境 Hardware: Processor 2.7 GHz Dual-Core Intel Core i5 Memory 16GB 1867 MHz DDR3
     Like  Bookmark