Skip to content

Route the iCE/Pi DDR interface within its timing limits - #5910

Open
ShiboSoftwareDev wants to merge 13 commits into
repro/reversed-via-layersfrom
fix/reversed-via-layers
Open

ShiboSoftwareDev wants to merge 13 commits into
repro/reversed-via-layersfrom
fix/reversed-via-layers

Conversation

@ShiboSoftwareDev

@ShiboSoftwareDev ShiboSoftwareDev commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Route the 50 DDR signals in the iCE/Pi subsystem fixture through Core. The fixture includes the H3 processor (U1), DDR3 memory (U2) and 100 Ω clock termination (R75), three of the original PCB’s 280 footprints. The test checks pad connectivity, both clock branches and all 18 timing constraints. Benchmark extractor

The connectivity, skew and clearance results below apply to those three footprints. Overlaying the generated copper on the original component placement puts the bottom-layer DDR A10 trace through the ground pad of C48. C48 pad 2 on the original PCB

Before After
Unrouted DDR pads and airwires Routed DDR copper on the same pads

Through the public tscircuit@0.0.3295 entry point, the released packages connect 0/50 nets. With the PR builds, the same TSX connects 50/50 and emits the same copper as this Core test. All 12 authored timing rules pass and all 6 original-board skew limits hold. Clock skew measures 0.00368 mm. The original board measures 0.01081 mm, and the authored limit is 0.10 mm. Independent copper checks found zero violations on the DDR fixture. Passing Core board test

The iCE/Pi repro also caught platform-dependent clearance repair. A one-ulp difference in path cost chose a different corridor and left DDR A1 at 35.54 mm against a 27.10 mm maximum. The router now pins the repeatable path-cost fix. One-pad repro · Repair fix

Run bun test tests/repros/repro-icepi-ddr-timing.test.tsx. Stacked on #5909. The dependency pins install the companion PR builds for review. Replace them with released versions before merging. Board fixture · Router · Bus matcher · Skew checks

Other Core changes and snapshots

Core uses the router’s bus type and swaps via entry and exit layers when reversing a trace. For terminal vias, the adjacent wire determines the entry layer.

Before After
Via traversal before the fix Corrected via traversal

Five SVGs for Watchy, USB-C, the mounting hole and the panel also change on the published router upgrade to 0.0.1164. Each fixture produces identical copper on 0.0.1164 and on this integration.

The sixth SVG covers the A13 thermal pad. All 18 selected paths still connect with 16 vias and pass the fixture’s 0.20 mm clearance checks. Their total length falls from 182.78 mm to 180.47 mm. Hosted before and after comparison

@vercel

vercel Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
tscircuit-core-benchmarks Ready Ready Preview Nov 25, 2026 11:13pm UTC

Request Review

@ShiboSoftwareDev ShiboSoftwareDev changed the title Swap via layers when reversing a PCB trace Route the iCE/Pi DDR interface within its timing limits Nov 25, 2026

This branch was successfully deployed

1 active deployment
Preview — 16225134 Deployed Nov 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants