Review design of a 14-layer SoC module
- Tools
- KiCad, pdftotext
- Time limit
- 8 hours
Agent is asked to review a 14-layer system-on-module before its first order, and fix every design error in schematic and board.
Agent Input
What the agent is given: the instruction and its input files.
We are about to order revision 1.0.0 of our system-on-module and need its design reviewed first. The KiCad project is in /workspace/project: root schematic polarfire-som.kicad_sch and board polarfire-som.kicad_pcb, 14 layers. Save the corrected project in place.
/workspace/spec.md says what the module must do, and /workspace/datasheets holds the manufacturers' documents for its parts and for the connector standard it follows. The project, the spec and the datasheets are the only sources. KiCad 9 (kicad-cli, the pcbnew Python module and the standard libraries) and pdftotext are installed.
Review the design and fix every design error, in the schematic and on the board. A design error is anything that keeps a part or an interface from working as its datasheet, its standard or the spec requires, including the part numbers the board would be ordered with.
Requirements:
- Both views: make every fix in the schematic and on the board, with its nets routed.
- Schematic and board agree: keep the board fully routed and matching the schematic, including which parts are fitted.
- DRC: run after zones are refilled, it reports no copper short, no solder-mask bridge and no other new error. It is judged with the project's rules and settings as they are now, the board's solder-mask settings included; changes to them are ignored. Resolve the shorts and bridges it reports today without removing, moving, resizing or reshaping pads, or changing their layers or their mask, paste, clearance or zone settings.
- ERC: add no new error.
- Nothing that works changes: pins that are rightly connected stay connected and are not joined to other nets. Make only the changes that fix design errors.
- Parts: give every new or changed part a part number, from a series already on the board's bill of materials, that gives its value and fits its footprint.
- Names: keep the file names and the existing reference designators.
You have 28800 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.

Grading & Reference Solution
How the submission is scored, and a human expert-authored reference solution.
Gates
The project is there and KiCad can work with it.
- Schematic and board present · The root schematic and the board file are in the project.
- Netlist exports · KiCad exports the schematic's netlist.
- Board loads · KiCad loads the board and refills its zones.
- DRC runs · KiCad runs its design-rule check on the board.
- ERC runs · KiCad runs its electrical-rule check on the schematic.
Board finished, matches schematic, no worse than start on rule checks, nothing working broken.
- Fully routed · Connections KiCad finds unrouted after the zones are refilled.
- Schematic and board agree · KiCad's schematic-to-board parity check, fit flags included.
- No copper short · DRC shorting items after the zones are refilled.
- No solder-mask bridge · DRC solder-mask bridges.
- DRC no worse · Each of 24 copper, electrical and courtyard DRC kinds (clearance, annular ring, pair gap, skew and others).
- No new ERC error · ERC errors the starting schematic does not have.
- eMMC pads unchanged · Not removed, moved, resized or given other settings.
- No connection cut · Every working link between chips, connectors, modules stays, both views; series parts allowed. Moving a pin off a rail cuts only if left open, a ground pin, or to a rail > 5 % higher. Graded errors' nets excluded.
- No working nets joined · No two nets working at the start joined.
- No net pulled both ways · No net is pulled both up and down.
With the Compute Module 4's nominal 5 V in, the PMIC starts.
- PMIC starts · PWRON at 5.0 V in, typical parts, GLOBAL_EN left alone: from resistors, 9 µA pull-up, core EN pull-down, open-drain outputs (TPS2117 ST by truth table), both views.
Scored Categories
Seven power-circuit errors, each pass or fail, weighted 3, 2 or 1.
- USB PHY supply · VDD18 on a 1.8 V rail, directly or via 0 Ω, bead or inductor; schematic netlist and routed board pads.
- Core regulator enabled · EN held above threshold by a GLOBAL_EN-switched rail that is up first, via ≤ 10 kΩ to module or PMIC enable (not +5V).
- Core regulator power-good level · Open-drain power-good level when released.
- USB PHY 3.3 V regulator capacitor · Capacitance on VDD33 as its part number orders, or VDD33 tied to its 3.3 V supply.
- PMIC ordering code · Part number not the factory default (-0000), or a field says programmed for this board.
- Core regulator I2C levels · SCL, SDA each pulled up to 0.7 × VCC to VCC + 0.5 V via ≤ 10 kΩ; no FPGA pin on the net (translator between).
- Ethernet PHY VDDA1P8 pins · Each pin unconnected (two-supply mode) or on 1.8 V (three-supply mode), not only tied to each other.
Three decoupling errors; supply copper kept as good as the start.
- VDDAUX4 decoupling · Fitted capacitance on the FPGA's VDDAUX4 node.
- FPGA core 47 nF capacitors · C48, C50 on FPGA core ordered as 47 nF by part number (were 470 nF).
- Hub pin 9 capacitor · Capacitor from USB hub pin 9 to ground, a pad near the pin.
- Supply copper kept×8 · Kept. Each chip's DC resistance from its rail source (pdn.py, 0.1 mm grid) on +5V, +3V3, +1V8, +1V1, +1V05, +2V5, VDDAUX, SD_VDD; log-scale credit; rail = mean of its chips.
The eMMC's unused balls cleared, and its length matching kept.
- eMMC unused balls clear · No other net's copper within clearance of the 120 unused balls (on copper); wired only as datasheet allows (NC: float/ground; VSF: float/test pads), both views.
- eMMC length matching kept · Kept. Spread of DAT0–DAT7 and strobe, ball to FPGA through 0 Ω arrays; credit linear from start to 2×.
Nine errors in USB, HDMI, LEDs and the module connector, each pass or fail.
- USB PHY VBUS resistor · Series resistance +5V to PHY VBUS (820 Ω for host); any divider takes ≤ 10 % of 5 V.
- USB switch select · Host mode puts the hub between PHY and connector on both switches; device mode bypasses (select follows ID via ≤ 10 kΩ).
- Hub VBUS detect · Hub VBUS_DET high whenever host mode puts the hub on the PHY.
- HDMI hot-plug pull-up · The redriver's open-drain HPD output is pulled up.
- Power-good LED lights · Anode fed from +5V, cathode switched by Q6.
- Carrier power LED switch · Q2 (carrier power LED from I/O voltage) is a MOSFET rated to turn on at 1.8 V.
- USB PHY CLKOUT · No pull-up holds CLKOUT high at start-up (series ≤ 100 Ω to its load allowed).
- Connector pin 43 grounded · Module connector pin 43, a CM4 ground pin.
- SYNC_IN not driven · Pin 16 (CM4 SYNC_IN) not wired to the Ethernet PHY's output-only GPIO_0 or GPIO_1.
Seven errors in clock levels, resets, straps and JTAG, each pass or fail.
- Ethernet PHY clock level · Clock swing at Ethernet PHY XI (absolute max 2.1 V); a 1.8 V oscillator may drive via ≤ 100 Ω.
- USB hub clock level · Clock at hub XTALIN, while USB PHY REFCLK keeps full swing.
- LPDDR4 reset pull-down · Pull-down holds LPDDR4 RESET_N low while FPGA pins float.
- USB hub reset · Hub RESET_N from an FPGA pin, a transistor it drives (pull-up to a 3.3 V-class rail), or held low by RC.
- USB PHY reset switch · Q4 (FPGA to USB PHY reset) is a MOSFET rated to turn on at 1.8 V.
- Wi-Fi strapped for SDIO · STRAP_2 held high (SDIO only), no pull-down.
- JTAG chain reaches the FPGA · FPGA TDO reaches JTAG test pads via 0 Ω links, directly or through the Ethernet PHY (never Wi-Fi), no second TDO.
Power monitor senses its four rails; ground layers stay whole.
- Power monitor sense links · Sense links R93, R94, R97 and R98 fitted.
- Ground planes whole×6 · Kept. No other net's track or pour on each of six ground layers; each layer a sixth of the unit.
Orderable part numbers, connectors and BOM, clock generator land pattern.
- FPGA part number · The FPGA is ordered with its temperature grade.
- eMMC part number · Ordered by a part number in its datasheet's ordering tables.
- Core regulator part number · The core regulator's part number.
- Wi-Fi module part number · The Wi-Fi module's part number.
- Ideal-diode controller part number · The ideal-diode controller's part number.
- USB PHY part number · Part number by its datasheet's device code.
- Module connectors ordered · Schematic BOM orders both 100-pin module connectors.
- Clock generator land pattern · U17's 12 pads match the DSC557-03 land pattern, as copper in the footprint frame.
- Fitted parts in the BOM · Every fitted part except bare test pads in the BOM, both views.
- Part numbers give values · Kept. Each new or changed fitted part has a part number; resistors and capacitors from a BOM series, giving drawn value and package.
