What you practice
Pipeline core option (5.2). Pass the PIPELINE parameter from the chip top to the SoC platform to select the core flavor. It is in Pipeline core option mux — Part 5 · System Capstone of the RISC-V on SoC & System Masterclass.
The core and the mini-SoC simulate as one workspace in the IDE. Follow MMIO, interrupts, and the program on the Verilator waveform, not only a pass line.
What you will learn
You will learn how to pass the PIPELINE parameter from the chip top to the SoC platform. This allows you to select the core flavor with the pipeline option enabled or disabled.
Learning objectives
- Understand how parameter pass-through works in hierarchical RTL designs.
- Learn to map instance parameters correctly in SystemVerilog.
- Verify the pipeline configuration by observing CPU execution behavior.
Theory
Parameters allow you to customize module behavior without rewriting the source code. In this lesson, the dut module wraps the rv32_soc_top platform. The PIPELINE parameter controls whether the RV32I core uses a pipelined or non-pipelined implementation. To enable this configuration, you must connect the PIPELINE parameter of dut to the PIPELINE parameter of the u_soc instance. This ensures that the top-level configuration propagates down to the CPU core. Incorrect parameter mapping can lead to simulation mismatches or incorrect hardware behavior.
Practice
- Open RtlStudio and select Lesson 5.2: Pipeline core option.
- In the Explore panel, open
student/rtl/design.sv. - Locate the
u_socinstance ofrv32_soc_top. - Replace the
__TODO__[0]placeholder in the.PIPELINEparameter connection with the correct parameter name. - Save the file and run Simulation from the sidebar.
- Check the Log panel for
INFO: PASS.
Summary
You configured the system capstone by forwarding the PIPELINE parameter to the SoC wrapper instance. You also completed the port connections for por_n and gpio_out to ensure proper signal routing. The simulation verified that the pipelined core executed correctly and passed the testbench checks.
© 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
- Open the system lesson in the IDE. The RV32I core and the mini-SoC fabric simulate together.
- Run Verilator and trace the program through MMIO: address, load/store data, and the peripheral response.
- Interrupts and DMA belong on the waveform next to the instruction stream, not only in a pass/fail line.
- Edit the integration RTL, resimulate, and run Yosys on the structural block when you want a netlist.
The lesson is done when the simulation matches Pipeline core option. Change the source, run the Verilog simulator again, and read the waveform without leaving the IDE. Simulation guide · Yosys guide.