D-3RISC-V系統模擬器驗證分析

教材模組 教學目標

1.課程模組整體教學目標:

  • 學習 RISC-V軟體開發工具以產生可執行之轉體程式。學習 RISC-V系統模擬器並使用此工具進行軟體剖析 (Profiling),進行程式之驗證分析。

2.教材模組:

  • C1: RISC-V Tool Chain---學員可基於此份教材了解RISC-V工具與模擬器之應用,並且能透過架設好之工具鏈以及模擬器下編譯軟體。
  • C2: RISC-V Add Custom Instruction---RISC-V添加自定義指令模組,學生可基於此份教材了解如何添加一個客製化指令在現有的硬體上以及模擬器上,並且透過這個指令加以使用。
  • C3: RISC-V Profiling---開發此RISC-V 模擬器驗證分析模組,學生可基於此份教材利用C1以及C2所學之能力,加以分析並優化軟體程式。

​教材模組 時數

12小時

​教材模組 課程大綱

單元1:C1: RISC-V Tool Chain (4小時)

  • C1-1 Lecture: Introduction to Tool Chain and RISC-V Simulator
  • C1-2 Lab: Building RISC-V Tool Chain and RISC-V System Simulator

單元2:C2: RISC-V Add Custom Instruction (4小時)

  • C2-1 Lecture: Add Custom Instructions for the RISC-V Processor
  • C2-2 Lab: Adding Custom Instructions on hardware and software

單元3:C3: RISC-V Profiling (4小時)

  • C3-1 Lecture: Program Profiling
  • C3-3 Lab: Program Profiling and Add the Custom Instruction

可分享教材模組內容

Handout

  • Introduction and Build Tool Chain and RISC-V Simulator
  • Add Custom Instructions on hardware and software
  • Program Profiling
  • Program Profiling and Add the Custom Instruction

Video

  • Build tool chain and Simulator
  • Add custom instruction basic workflow
  • Introduction to Program Profiling
  •  Program Profiling on C/C++

Others

  • Virtual machine environment (.ova file)
  • Testbench

示範教材(請點選)

所需實作平台配備與經費需求預估(以模組教學實作所需基本軟、硬體平台估算)

具有Linux OS平臺及RISC-V tool chain之工作站,經費:低階運算工作站約NT$100,000元。

實作平台配備(請點選)

聯盟/示範教學實驗室可提供之訓練與技術支援(含實驗示範影片)

1.線上教學影片可分享上述所列教材教學內容
2.辦理種子教師培訓營

3. 聯盟網址:https://reurl.cc/Qjxzl9
4. ATP課程資料庫官網:http://atp.ee.ncku.edu.tw/

聯絡窗口

負責教師:國立臺灣科技大學電子工程系 沈中安副教授
專責助理:無
聯絡電話:(02)2730-3275
劉老師信箱:cashen@mail.ntust.edu.tw