人工智慧晶片設計與應用
臺北科技大學 114-2 學期課程,課號 359886。
- 學期:114-2
- 授課教師:邱弘緯
- 學分:3
- 選修
- 上課時段:週一 5、6、7 節
課程大綱
這門課程深入探討將AI技術直接整合至硬體的過程。課程從AI晶片的基本概念開始,進一步探討各種AI的數位、類比及混合訊號架構。課程內容涵蓋了對神經網路模型映射到晶片硬體的過程及優化。重要的一環是神經網路編譯器的設計與優化,並輔以實務工具和考量以實現高效的AI晶片設計。課程還探討了AI晶片的當前應用及AI硬體發展的未來趨勢。課程以學生專題為導向,將所學知識應用於創新的AI晶片解決方案。此課程旨在為學生提供在不斷進化的AI硬體領域中取得成功所需的技能和知識。 This course, titled "AI-on-Chip Design: Architectures and Applications," offers a deep dive into how AI technologies are integrated directly onto hardware. It begins with fundamental concepts of AI-on-Chip, moving into the intricacies of digital, analog, and mixed-signal architectures tailored for AI applications. The curriculum includes a thorough examination of neural network models, focusing on their optimization and the critical process of mapping these models onto hardware. A significant portion is dedicated to the design and optimization of neural network compilers, supplemented by practical insights into the tools and considerations necessary for efficient AI chip design. The course also explores current applications of AI-on-Chip and anticipates future trends that could reshape AI hardware development. It culminates in a project presentation where students apply what they've learned to create innovative AI-on-Chip solutions. This course equips students with the skills and knowl
課程進度
AI-Chip and Laboratories Course Outline 1. Introduction to AI and AI-Chip Design • Overview of AI Hardware Evolution: GPUs, TPUs, and AI-specific hardware • Introduction to AI-Chip Architectures: Digital, analog, and mixed-signal approaches • Overview of AI Workloads and Requirements: Computational demands and data processing needs for AI models 2. Fundamentals of Chip Design • Digital Circuit Design Basics: Logic gates, combinational and sequential circuits • Analog Circuit Design: Amplifiers, filters, and signal conditioning • Mixed-Signal Circuit Design: ADC, DAC, and their role in AI processing 3. AI Hardware Architectures • Processor Design for AI: Instruction sets, RISC vs. CISC for AI • Accelerator Design: Introduction to accelerators like GPUs, TPUs, and NPUs • Memory Architectures: SRAM, DRAM, and memory hierarchies in AI chips • Interconnects and Data Transfer Protocols: High-speed data transfer, PCIe, NVLink, and memory coherence 4. Neural Network Processors • Basics of Neural Network Architecture: Feed-forward, convolutional, and recurrent networks • Designing Efficient NN Hardware: Specialized multipliers, accumulators, and activation functions • Optimization Techniques: Quantization, pruning, and sparsity to enhance performance 5. AI-Chip Laboratory Setup and Tools • EDA Tools Overview: Key tools for IC design and simulation (e.g., Cadence, Synopsys, MATLAB/Simulink) • Hardware Descriptive Languages (HDL): VHDL, Verilog, and SystemVerilog basics for AI-chip design • Simulation and Testing Tools: Using simulators to test functionality, power, and thermal profiles 6. Compiler and Software Stacks for AI Hardware • NN Compiler Overview: Compilation techniques for neural network models on hardware • Firmware and Driver Development: Basic driver development for AI hardware • Software-Hardware Co-design: Balancing computational loads between hardware and software layers 7. Real-World Applications of AI-Chips • Edge AI Applications: Low-power, real-time AI applications and the role of AI chips • Data Center Applications: High-performance AI chips for cloud infrastructure • Specialized AI Hardware in Industry: Robotics, automotive, and medical applications 8. Practical Laboratory Work • Lab 1: Basic Digital Logic Circuit Design and Simulation • Lab 2: Analog Signal Processing and Amplification Techniques • Lab 3: Mixed-Signal Processing and ADC/DAC Interfacing • Lab 4: Implementing Neural Network Inference on FPGA • Lab 5: Profiling AI Workloads and Optimizing Performance • Lab 6: Developing and Testing Custom NN Layers for Hardware Execution
評量方式
Homeworks (60%) Capstone Project (40%) • Project Development: Students propose and develop a small-scale AI-chip-related project • Integration and Testing: Practical work on implementation, testing, and performance evaluation • Presentation and Feedback: Final project presentation and feedback session
教材
【遵守智慧財產權觀念,請使用正版教科書,不得使用非法影印教科書】 使用外文原文書:是 Github Matab Python