RTL Studio Open IDE

5.5 · SOC CLASS

Ultimate mini-SoC

Integrate a mini-SoC top-level wrapper with GPIO and timer IRQ support, verifying end-to-end functionality via a testbench.

Video coming soon. This lesson page stays at the same URL when the lecture publishes.

What you practice

Ultimate mini-SoC (5.5). Integrate a mini-SoC top-level wrapper with GPIO and timer IRQ support, verifying end-to-end functionality via a testbench. It is in Mini-SoC Capstone — Part 5 · Integration & Capstone of the SoC Masterclass. Tie a CPU stub, decode, peripherals, DMA, and IRQ into a mini-SoC capstone.

SoC lessons simulate the fabric and the peripheral together in the IDE. Verilator is the simulator; the waveform is where address and response show up.

What you will learn

You will integrate multiple SoC IP blocks into a top-level design. This capstone connects a CPU, memory interconnect, and peripherals. It demonstrates a complete system-on-chip workflow. Mastering this integration is essential for building complex digital systems.

Learning objectives

  • Instantiate and connect multiple IP modules within a top-level SoC wrapper.
  • Route AXI interfaces and control signals between subsystems correctly.
  • Verify GPIO output and CPU completion status using a testbench.
  • Understand the role of reset sequencing and interrupt lines in a SoC.

Theory

A System-on-Chip (SoC) integrates processors, memory, and peripherals on a single die. The top-level module acts as a router. It connects these components via standard buses like AXI. Proper signal routing ensures data flows from the CPU to peripherals and back. Reset sequencing is critical to ensure all blocks initialize in the correct order. Interrupt lines allow peripherals to signal the CPU for immediate attention.

ComponentRole in SoC
CPUExecutes instructions and controls system flow.
InterconnectRoutes data between CPU and slave peripherals.
PeripheralsHandle I/O (GPIO, UART) and timers.
DMAMoves data without CPU intervention.
Reset Seq.Manages power-on and peripheral reset states.

Practice

Open this chapter in RtlStudio. Navigate to the Explore panel. Open student/rtl/ip/soc/mini_soc_top.sv. This file contains the SoC wrapper. Complete the port connections for sysctrl_block, multi_slave_interconnect, dma_engine_top, and cpu_stub.

  1. Open student/rtl/ip/soc/mini_soc_top.sv.
  2. Connect the bus port of u_sysctrl to s_sysctrl.
  3. Connect the m_gpio port of u_ic to s_gpio.
  4. Connect the s_desc port of u_dma to s_dma.
  5. Connect the done_irq port of u_dma to dma_done.
  6. Connect the irq port of u_cpu to irq_line.

After fixing the RTL, open student/tb/tb_top.sv. Run Simulation from the sidebar. Check the Log panel for the INFO: PASS message. Inspect the Waveform tab to see signal transitions if needed.

Summary

You successfully integrated multiple IP blocks into a cohesive mini-SoC. You correctly assigned clock and reset domains to all AXI interfaces. This capstone exercise demonstrated how to assemble a functional digital system. It showed how to manage hierarchical connections from modular components. By verifying the design with the UVM testbench, you confirmed interaction. The CPU and peripherals interact as expected under power-on conditions.

© 2026 RtlStudio. Licensed under CC BY-NC-ND 4.0. Commercial use and modifications by third parties are not permitted.

Run it in the Verilog IDE

  1. Open the lesson workspace in the IDE. The fabric and the peripheral are one simulation.
  2. Run Verilator and follow the address, write data, and read response on the waveform.
  3. A passing log is not enough when decode or an IRQ line is the point of the lesson — those show up on the VCD.
  4. Run Yosys on the RTL island you just integrated when you want the mapped cells.

The lesson is done when the simulation matches Ultimate mini-SoC. Change the source, run the Verilog simulator again, and read the waveform without leaving the IDE. Simulation guide · Yosys guide.