inflearn logo

Essential Theory for AI Semiconductor Design — From Neurons to LLMs

To design AI semiconductors such as NPUs, transformer accelerators, and mini LLMs yourself, you need to understand theoretically why the computations inside them occur. This course distills and condenses into three parts only the essential theory required for hardware design, covering everything from a single neuron to CNNs, transformers, and LLMs. Rather than memorizing formulas, a professor with 30 years of experience in the semiconductor industry connects software theory with hardware implementation through an intuition for “why it works that way.”

(4.0) 1 reviews

32 learners

Level Beginner

Course period Unlimited

Deep Learning(DL)
Deep Learning(DL)
Machine Learning(ML)
Machine Learning(ML)
CNN
CNN
transformer
transformer
LLM
LLM
Deep Learning(DL)
Deep Learning(DL)
Machine Learning(ML)
Machine Learning(ML)
CNN
CNN
transformer
transformer
LLM
LLM

What you will gain after the course

  • The ability to intuitively understand how neurons, neural networks, CNNs, transformers, and LLMs work

  • Core theoretical foundations needed for AI hardware design, including learning, gradient descent, and quantization

  • An understanding at the conceptual level of how ChatGPT, GPT, and BERT are created

  • The big picture of how AI theory translates into actual semiconductor circuits (NPUs and accelerators)

  • A theoretical foundation for understanding and following hands-on AI accelerator and NPU design exercises thereafter

■ Why is this course necessary?

NPU, Transformer accelerators, mini LLMs—to design AI semiconductors like these yourself, you need to understand what computations take place inside them, why they take place, and what those computations cost on the chip. Simply following circuit diagrams will only get you so far.

This course distills the essential theoretical foundations into three concise parts. Starting with the multiplication of a single neuron and extending to CNNs, attention, transformers, and LLMs—we have selected only 'what is actually needed for hardware design' from the vast body of AI theory.

Therefore, each part explains the connection to semiconductor design.

Part 1 focuses on the fact that neural network multiplications and additions directly translate into power consumption on the chip,

Part 2 focuses on the fact that the matrix operations of attention call for a dedicated accelerator called a systolic array,

Part 3 concludes with the fact that a significant portion of power is spent not on computation, but on moving data.

This is not theory for academic depth, but theory for building AI semiconductors yourself.


■ Why This Course Is Different

Commercial AI theory courses stop at the perspectives of software and mathematics. This course is designed from the outset as 'theory for building in hardware.' It explains AI theory through the eyes of a semiconductor designer: how the multiplication and addition of neurons become power on a chip, why the matrix operations of transformers call for dedicated accelerators (NPUs), and why low-power AI semiconductors are the future. A current professor with 30 years of experience in the semiconductor industry connects software theory and hardware implementation as one.


■ This lecture is the starting point.

This lecture is the theoretical starting point for the hardware design lectures that follow.

· This lecture (theory) → NPU design → Transformer accelerator → mini LLM SoC

With the theory laid down here, you’ll be able to follow the later lectures while understanding why each circuit is designed this way. Conversely, if you look only at the circuits without the theory, you’ll end up memorizing them and won’t be able to apply what you learn.


■ Three-Part Structure

· Part 1: From Neurons to CNNs — Principles of learning (gradient descent), the perceptron and the XOR barrier, deep neural networks (DNNs), and convolutional neural networks (CNNs)

· Part 2: From RNNs to Transformers — sequential data and RNNs, word embeddings, attention mechanisms, and Transformers

· Part 3: From Transformer to LLM — pretraining and transfer learning, BERT and GPT, ChatGPT and RLHF, and low-power semiconductors

The three parts form one continuous story. Studying them in order will give you a complete picture, from neurons to LLMs.


■ Recommended for those who:

· Those who plan to design NPUs, AI accelerators, and AI SoCs themselves in the future (based on that theory)

· Those who want to learn the essential background theory before taking an AI hardware design course

· Those who want to understand AI from its principles, but are looking for the “essentials for building” rather than academic depth

· Those who have heard of terms like CNN, attention, transformers, and LLMs but do not understand how they work


■ This is the kind of course it is

· Carefully selected only the theory needed for hardware design—the essence of extensive AI theory

· Intuition over memorizing formulas — illustrating “why it works that way” through diagrams and analogies

· One seamless story that connects everything from a single neuron to an LLM

· A rare perspective that connects AI theory and semiconductor hardware

· Complete the course using only the videos, without separate hands-on exercises, boards, or installations.


■ Note

· This course focuses on theory. Hands-on practice for building an AI accelerator directly with an FPGA is covered in separate courses. The theory in this course provides the foundation for those hands-on courses.

· All content in this course was created by the instructor, and the narration (voice-over) was produced using TTS.

Recommended for
these people

Who is this course right for?

  • Those who plan to design NPUs, AI accelerators, and AI SoCs themselves but lack a theoretical foundation.

  • I want to solidify the essential background theory before taking an AI hardware design course.

  • Those who know the terms CNN, attention, transformer, and LLM but don’t understand how they work.

  • Those who want to understand AI from its principles, but are looking for the “essentials for building” rather than academic depth

Need to know before starting?

  • Explained intuitively so that it can be understood even without specialized knowledge of the players.

  • Knowing high school-level mathematics (functions and graphs) will make it easier.

  • No coding or hands-on practice is required (theory section)

Hello
This is EdgeChipLab

Career Verified

282

Learners

6

Reviews

1

Answers

4.8

Rating

16

Courses

"In the AI era, the surest response is to build AI semiconductors yourself."

This program is neither a theory-focused university course nor the standardized curriculum of a contract department tailored to specific specifications. Nor is it limited to simply gaining experience using EDA tools or leveraging libraries, as in conventional fragmented practical seminars.

Designed and FPGA-verified by a practicing engineering professor with 30 years of experience, this is a unique, hands-on course. The professor began as a systems semiconductor researcher in Samsung Electronics’ Device Solutions (DS) division, won the Silver Award (Group Chairman’s Award) in Samsung’s Technology Awards for design automation, and went on to serve as a director at Samsung’s UK and Germany subsidiaries and as head of the Systems LSI Marketing and Sales Group.

We also provide free web-based practice tools developed by the author: EdgeTCAD, EdgeSPICE, EdgeAssembler, and EdgeVerilog, EdgePPACT.

We have established an educational environment where students can use the EdgeTCAD semiconductor device simulation tool on their own PCs to simulate and analyze the structures, operating principles, and electrical characteristics of semiconductor devices such as PN junctions, MOS capacitors, planar MOSFETs, 3D FinFETs, and GAA devices.

Using EdgeSPICE, an electronic circuit simulation tool, you can analyze the operating principles and electrical characteristics of a wide range of circuits, from the electrical characteristics of transistors to analog circuits, digital logic circuits, standard cells, and memory circuits. You can also study device and circuit characteristics using the PDKs for SKY130 and GF180MCU, publicly available semiconductor manufacturing processes.

You can use EdgeAssembler to convert RISC-V Assembly into Machine Code and Instruction Encoding and inspect the results, and use EdgeVerilog to design RTL and simulate it on your PC.

(Run EdgeTool for free : https://www.semiconductorschool.co.kr → click the 'Launch' button)


Copyright © 2026 Roger Kim. All rights reserved.

EdgeChipLab™, EdgeVerilog™, EdgeSPICE™, EdgeAssembler™, EdgePPACT™, and EdgeTCAD™ are brands established and used by Roger Kim as part of the EdgeChipLab educational and research platform.


[ Key Differentiators for Working Professionals & Aspiring Engineers ]

Architecture design skills—not merely connecting off-the-shelf IP or modifying code, but directly designing the RV32I five-stage Pipeline (IF·ID·EX·MEM·WB) in RTL, including Data Hazard Forwarding, Load-Use Stall, and Branch handling. Understanding and directly working with a five-stage Pipeline is what truly sets your design skills apart.

From Algorithm to RTL — Implement an MNIST CNN as NPU RTL, starting with a Python model and applying Quantization, then verify that the Python and hardware results match bit-for-bit for the same input. The key is to achieve 100% identical results in Python and Verilog and produce results from actual FPGA operation.

CPU + NPU + RTOS integration on a single FPGA — Put everything on a single device: a CPU you designed running an NPU you designed, with FreeRTOS implemented by EdgeChipLab running on top. Students can use all these publicly available RTL and code resources to create their own semiconductor chips.

Free RTL design and simulation environment — With our in-house developed EdgeVerilog v1.0, you can write Verilog RTL, run simulations, and analyze waveforms on a PC or smartphone without signing up or installing any software. We provide a real simulation environment based on Icarus Verilog and 52 design examples for free, making it easy for anyone to get started with semiconductor design practice.

AI Algorithm → RTL Design → FPGA Implementation → Bit-True Verification → AI SoC

It provides an unparalleled, top-tier practical guide not only for undergraduate and graduate students, but also for working professionals looking to advance into next-generation AI semiconductor/SoC design.

 

Beyond theory to actual AI hardware implementation

It is difficult to develop system-level AI semiconductor design skills with only scattered, fragmented knowledge.

Students will not stop at using finished black-box IP. The goal is to progressively develop the system design skills to design an AI NPU and a 5-stage Pipeline RISC-V CPU themselves, integrate memory and peripherals, port an RTOS on top of them, and ultimately build their own AI SoC.

Starting with the fundamentals of transistors and digital circuits, this course connects FPGA, CPU, and NPU technologies to hardware for accelerating Transformers and LLMs.

 

We validate the research results on actual FPGA hardware.

This is not a lecture you only watch. Rather than stopping at theory or simple simulations, you will run AI semiconductor circuits you designed yourself on an actual FPGA and perform Bit-True verification, confirming that the Python model and RTL results match down to the last bit.

The instructor also connects research results, including four KCI-indexed papers on AI semiconductors, FPGAs, and RISC-V, to the educational content, taking technologies validated through research into actual design and FPGA implementation. The source code needed for the exercises—including a self-developed RISC-V CPU, Python code for image training, and Verilog RTL—is made available.

Built around the affordable Arty S7-25 FPGA board and the free Vivado design tool, this course enables learners to reproduce the entire process of designing, implementing, and verifying their own work. It can also be used with Digilent FPGA boards, including the Zybo Z7. Simply modify the XDC pin mapping (board) and clock division parameters (RTL) to match your board. The 'MNIST NPU with FPGA' course only requires modifying the XDC pin mapping, while courses that use an OLED and camera require modifying the clock division parameters (RTL).

→ The divider parameters for the course exercises are set based on the Arty S7’s 100 MHz input clock. Since other boards have different input clocks (for example, the Zybo Z7 has a 125 MHz input clock), you will need to recalculate the divider value so that the target frequency remains the same. If you miss this, the screen or video may not display properly,which can easily be mistaken for a code error, so please check.


Free RISC-V and Verilog Practice Environment — EdgeAssembler · EdgeVerilog

You can now start semiconductor design practice in your web browser without installing any software.

EdgeAssembler and EdgeVerilog, developed by the instructor, are free educational tools for hands-on practice. In EdgeAssembler, you can see how RISC-V Assembly is converted into Machine Code, and in EdgeVerilog, you can design and simulate RTL that processes those instructions. They run directly in your web browser, with no need to install separate EDA software.

Key Features of EdgeAssembler

  • Assembly → Machine Code: Convert RISC-V Assembly to Machine Code (HEX)

  • Instruction Encoding Display: Select a Machine Code row to display its 32-bit binary representation and illustrate the opcode, rd, funct3, rs1, rs2, and imm fields.

  • Immediate Reconstruction: Reassemble scattered immediate bits, as in B-type and J-type, and display the offset and target address as well.

  • TinyRV32I Target: Tests tailored to the range of instructions supported by the textbook CPU

  • Encoding verification tool: Does not execute hardware; actual behavior is verified through EdgeVerilog’s RTL Simulation.

    1.png.webp


    2.png.webp


Key Features of EdgeVerilog

  • Actual RTL Simulation: Compile and simulate based on the open-source Icarus Verilog 12

  • Waveform Viewer: Observe signal changes, zoom, display HEX/DEC/BIN, position the cursor at signal changes, navigate to the previous or next change, and expand bus bits.

  • Example Library: Provides 52 digital circuit design examples, including counters, FSMs, and CPUs.

  • Project management: Write RTL and testbenches, autosave, and ZIP export/import

  • Mobile Support: Edit RTL, run simulations, and analyze waveforms on smartphones as well

  • Free of charge: Freely available for educational and non-commercial purposes.

sim.png.webp


sim2.png.webp


Using the two tools together, learners can explore everything from introductory Verilog-HDL and FSMs to AXI4 and RISC-V CPU design, and verify everything from instruction encoding to RTL.

Run for free: https://www.semiconductorschool.co.kr
Click the ‘LAUNCH’ button on the website to get started right away—no installation required.

EdgeAssembler is a tool for checking instruction encoding, and EdgeVerilog is an educational tool for RTL functional verification. FPGA synthesis, implementation, and timing verification are performed in Vivado.


A seamless full-stack roadmap: from fundamentals to a mini LLM accelerator

Each lecture is part of a journey toward completing one vast system, not an isolated fragment.

  • Step 1: Fundamentals of AI Theory and Image Processing (Including Machine Learning)

  • Step 2: AI Accelerator (NPU) Design and Verification (Including Machine Learning)

  • Step 3: 5-Stage Pipeline RISC-V CPU Design and System Integration

  • Step 4: Advanced AI SoC Implementation and Expansion into a Mini LLM Acceleration Platform (Ongoing Content Updates)

     

 

Objective Verification Metrics

All design deliverables from this course have undergone rigorous validation against global standards and by the academic community.

  • 5-Stage Pipeline RISC-V Architecture Verification: In-house developed RISC-V CPU passed the international foundation’s official compliance test (ACT), and its source code was released (GitHub)

  • Academic Recognition: Four sole-authored academic papers published in IJIBC, a prestigious KCI Grade A journal.

  • Global Recognition: Published four global Amazon technology books (reached #1 bestseller status)


    Published books: Roger Kim: books, biography, latest update

  • Real-World Operation Verification Complete: Core IPs, including the RV32I CPU, NPU, vision system, GPS, Transformer, and AURA-Edge SoC, operate flawlessly in the Arty S7 environment.

     

Take on the challenge. By the end of this process of loading your own code onto the board and verifying the results, you will have leveled up into a hardware engineer with a completely different perspective.

More

Curriculum

All

3 lectures ∙ (1hr 40min)

Published: 
Last updated: 

Reviews

All

1 reviews

4.0

1 reviews

  • mdrifatnahid님의 프로필 이미지
    mdrifatnahid

    Reviews 1

    ∙

    Average Rating 4.0

    4

    100% enrolled

    As it is titled Semiconductor, there is almost nothing about it. But Good for starting very basic AI fundamentals learning.

    • estlit
      Instructor

      Thank you for taking the time to write, and for the kind words about the fundamentals — I am glad that part was useful. On the title, let me share what the course is trying to do, in case it is helpful. This is the theory volume of a hardware series. The later courses build a RISC-V CPU, a CNN accelerator, an NPU and eventually a mini LLM SoC on a real FPGA board — a Transformer engine has already been implemented and verified on FPGA in this series. This volume exists because those circuits are difficult to design from diagrams alone. You have to know what operation is happening inside them, and why it costs what it costs. So the AI theory here is selected and framed for that purpose. A few examples: The multiply-accumulate as a power problem. Part 1 closes on the point that a neural network is fundamentally a vast repetition of multiplies and adds, and that each one of those operations draws power on a real chip. That single observation is what the whole low-power discussion later rests on. Convolution as a hardware pattern. The convolution lecture describes a small filter sliding across the image, multiplying and summing overlapping regions. That sliding-window structure — the same weights reused across positions — is exactly the access pattern an accelerator is built to exploit. Why the Transformer calls for a dedicated accelerator. Part 2 explains that removing recurrence makes every word computable in parallel, and that the substance of that parallelism is large matrix multiplication. It then names what that becomes in silicon: laying those multiply-adds out in a grid and running them together is a systolic array, which is the core structure of an NPU. Why data movement dominates the energy budget. Part 3 makes the point that a large share of AI power is spent not on arithmetic itself but on moving data. That is the constraint every low-power AI chip is designed around, and it is why the series ends on minimising data movement and lightening the model as the two directions that have to advance together. Each of these sections closes with the same line in the lecture: this is the bridge to hardware. The orientation slide at the start states it directly — every abstract concept in this course becomes a real operation on silicon later in the series, which is why the theory is built in an implementable form rather than a purely mathematical one. Your comment also helps me see the description from a reader side. The note about where this volume sits in the series currently sets at the bottom of the page — I will bring it up front, so it is clear before anyone enrols. Thank you very much. EdgeChipLab

EdgeChipLab's other courses

Check out other courses by the instructor!

Similar courses

Explore other courses in the same field!

25% off for new members

$7.70

25%

$7.70