課程資訊
課程名稱
高等積體電路設計
Advanced Integrated Circuit Design 
開課學期
111-1 
授課對象
電機資訊學院  電子工程學研究所  
授課教師
吳安宇 
課號
EE5142 
課程識別碼
921 U9360 
班次
 
學分
3.0 
全/半年
半年 
必/選修
選修 
上課時間
星期二2,3,4(9:10~12:10) 
上課地點
博理103 
備註
總人數上限:40人 
 
課程簡介影片
 
核心能力關聯
本課程尚未建立核心能力關連
課程大綱
為確保您我的權利,請尊重智慧財產權及不得非法影印
課程概述

課程說明 (重要!!):此次課程為第一次試教 (探索主題:TinyML + HW security),所以整體教材與結構會做滾動式調整,適合具有基本 AI/ML知識,以及使用過Embedded System的背景 (如:FPGA/ASIC觀念 & 微處理機實驗 – e.g., 50% in HWs, Labs, and Final projects) 的學生,同時要有能力協助一起改善課程 (e.g., 6% for course module enhancement).
 所以本課程算是ICS組技術進階課程,歡迎有相當技術能力 (AI + Embedded system )、有興趣探索新技術領域、也願意一起改善教材的同學來擔任新課程白老鼠,一邊修習這門新課程內容,一邊參與這個課程開發計畫。
 但是不適合不具基本技術背景,而是期望跟著課程學習 (由無到有)的同學。此類同學可以等之後課程教材穩定後,再參與學習。
 

課程目標
Course Purpose: This course is designed to cover two recent popular issues in VLSI and Embedded designs: Edge intelligence (Tiny Machine Leaning, aka, TinyML) and Hardware security.

- The first part is: “TinyML”: The applications of Artificial Intelligent (AI) and Machine Leaning (ML) are booming in recent years. The application domains include large-scale image classification, real-time object detections and visual analysis, keyword spotting, speech translations/understanding, etc. Deploying the AI/ML model on the edge devices can help to reduce the transmission bandwidth to the cloud, reduce the overall latency and power. Hence, the study of “AI-on-Edge,” or so-called “Edge Intelligence,” also attract many researchers in recent years and form a new theme of “Tiny Machine Leaning (TinyML).” In the 2nd part of our course, we will cover the basic techniques to reduce/shrink the AI model by considering the edge hardware constraints, while suffering little accuracy degradation. The representative techniques include quantization, pruning, hardware-aware Network Architecture Search (HW-NAS), etc. The next step is to verify those techniques in an ARM-based Embedded MCU system (the most popular edge platform) through a series of hands-on homework, labs, and final project.
- The second part is: “Hardware security”: Hardware security is to protect the hardware (the chip) from theft, intrusion and damage. Hardware security issues may arise from its own vulnerability to attacks. For example, Meltdown attack and Spectre attack exploit vulnerabilities in modern processors (out-of-order execution and speculative execution). These hardware vulnerabilities allow these attacks to steal data which are currently processed in the processor. On the other hand, hardware security issues also may arise from involvement of untrusted entities in the life cycle of a hardware. The threats in the life cycle of a hardware may include reverse engineering, IP overuse and hardware Trojans. To prevent these threats, logic encryption and hardware obfuscation are needed for the modern hardware (chip) design. We will invite two outside professors to cover this timely topic via recorded videos on-line Q&A. They will address those design issues of silicon-level hardware security in five weeks.

 
課程要求
Prerequisite (with A/A+ grade):
- (Required) Circuits I/II/III, VLSI Designs, Micro-controller (basic), Computer Organization
- (Required) Basic understanding of Machine Learning (ML) and Neural Networks (NN); Or use on-line courses to learn all the basic concepts before taking this course.
- (Required) Basic knowledge of Micro-controller based Embedded system
- (Optional) Digital System Design – Verilog + MIPS CPU design (optional)
 
預期每週課後學習時數
5-6 
Office Hours
另約時間 備註: 助教: 馬咏治 Kane 聯絡信箱: kane@access.ee.ntu.edu.tw 
參考書目
Course lectures, slides, and notes 
指定閱讀
 
評量方式
(僅供參考)
   
課程進度
週次
日期
單元主題
第1週
9/6  Syllabus and Course Overview 
第2週
9/13  ML Foundation 
第3週
9/20  Introduction of hardware platform  
第4週
9/27  Pruning and Activation Compression 
第5週
10/4  Quantization + AIMET  
第6週
10/11  TensorFlow Lite + Interpreter 
第7週
10/18  MCU Board + Lab 1 
第8週
10/25  Optimization for Efficient Execution  
第9週
11/01  Neural Architecture Search 
第10週
11/08  Midterm Presentation 
第11週
11/15  Overview of Security Issues with Global Electronics Supply Chain 
第12週
11/22  Hardware Security Primitives: TRNG and PUF 
第13週
11/29  Hardware Vulnerabilities 
第14週
12/6  Hardware Obfuscation 
第15週
12/13  Hardware Trojan  
第16週
12/20  Break week 
第17週
12/27  Final Project Presentation