Migrating a SKY130 RISC-V SoC to GF180MCU
What changes, and what stays the same, when a signed-off SoC moves to a new PDK and a fixed chip-on-board pad ring, and how it reached tapeout-ready GDSII.
I took my RISC-V SoC through signoff on SKY130, as 44 runs to signoff describes. Then I rebuilt the same design on GlobalFoundries GF180MCU. A second PDK is a good test of a flow. The RTL stays the same, but the standard cells, SRAM macros, pads, corners and power grid all change. I built it on the wafer.space chip-on-board template, which sets the die and the pad positions. I took it to tapeout-ready GDSII.
The design
The SoC is the same as on SKY130:
- an RV32IM core with a 5-stage pipeline
- a 2 KB instruction cache and 2 KB of SRAM
- an AXI4-Lite interconnect
- an APB bridge for the UART, GPIO, SPI, timer and interrupt controller
- an SDR SDRAM controller on its own clock behind async FIFOs
- a boot loader that reads SPI flash
The changes are all below the RTL:
| SKY130 | GF180MCU | |
|---|---|---|
| Core clock target | 100 MHz (typical) | 32 MHz (typical), 16 MHz (slow) |
| Die | 2.12 x 2.12 mm | 3932 x 5122 µm, fixed by the template |
| Pad ring | 82 pads | 74 pads at fixed chip-on-board positions |
| Supply | 1.8 V core | 3.3 V core and I/O |
| Signoff corners | 3 | 5 |
| Core power | 50.4 mW | 110.9 mW |
| IR drop | 17.1 mV | 0.19 mV |
The clock target is much less demanding than on SKY130. The work moves from the critical path to the floorplan, the pads, the corner set and signoff.
The fixed template
The template sets the die at 3932 x 5122 µm with a 26 µm seal ring. It also sets the position of each pad. The template is for chip-on-board packaging, and the carrier sets the bond positions. The floorplan works around the pads.
The ring has 74 pads from the gf180mcu_fd_io library: 56 signal, 8 DVDD and 10 DVSS. Each pad has a 60 x 60 µm opening at its chip-on-board position. The five inputs, including the clock, reset and UART receive, use input cells. Outputs and GPIOs use the bidirectional bi_24t cell.
The core uses about 23% of the die. IR drop at signoff is 0.19 mV, against 17.1 mV on the SKY130 build.
Building the corner set
GF180's pad library has fewer corners than its cell library, and the default corner set doesn't cover the pads at each corner. I signed off timing at each corner for which the PDK has Liberty files. The pad library has no cold slow corner. At that corner, I used the hot slow pad models, which are more pessimistic.
I also applied a 5% on-chip variation derate to cell and wire delays and 0.25 ns of clock uncertainty. At the slow corners, I bounded the clock-domain crossings explicitly. At signoff, the worst setup slack is +1.31 ns at typical (32 MHz) and +0.33 ns at slow (16 MHz). The worst hold slack is +0.175 ns at fast. Setup and hold are met at all five corners.
Signoff as a checklist
Each check runs on the same final GDS:
- wafer.space precheck in chip-on-board mode: passed, and the pad mask matches
- KLayout DRC with the GF180 deck, and Magic DRC: 0 errors
- density and antenna checks: 0 violations
- LVS with Netgen: match
- logic equivalence: passed
- IR drop of 0.19 mV, with zero electromigration violations
- gate-level simulation at typical with full SDF back-annotation
Static timing analysis confirms that each path meets its constraint. Gate-level simulation with SDF delays adds a functional check. It catches problems that STA does not model, such as reset sequencing and X-propagation.
A reserved slot for an accelerator
The core uses about a quarter of the die. I reserved space for the machine-health accelerator that I'm designing. It gets AXI4-Lite slave 3. On this die, the slot answers its ID register, reads zero at other addresses and ignores writes. Software can read the ID register to detect if the accelerator is present.
The ports, clock, bus behavior, pins and area budget of the slot are fixed. I design the accelerator against that interface.
What carried over, and what didn't
The working habits from SKY130 carried over:
- one change per run, with a journal entry
- bounded clock crossings instead of false paths
- decap and fill budgeted as part of the power grid
The process-specific parts did not carry over: the corner set, the pad cells and their positions, the macro shapes and the power grid. Most of the GF180 work went into those parts. The only RTL change added the reserved accelerator slot.