0hmX/am3352-ddr-track-a-local-dfm-wip-20261007
Experimental RJ45-corrected board with isolated PG indication. 1005/1005 source joins pass; 15 expanded-guard physical errors, sourcing and qualification gates remain. Not fabrication-ready.
- Version
- 0.0.14
- License
- unset
- Stars
- 0
layout/CloudSys1D5AccessRelief.tsx
import {Children,cloneElement,isValidElement} from 'react'
/** Same real endpoints and .100 mm width. The Top branch and all ground returns stay exact. */
export function applySys1D5AccessRelief(node:any):any{
if(Array.isArray(node))return node.map(applySys1D5AccessRelief)
if(!isValidElement(node))return node
if(typeof node.type==='function')return applySys1D5AccessRelief(node.type(node.props))
const p:any={...node.props}
if(node.type==='trace'&&p.name==='SYSBOOT1_RELOCATED_1'){
if(p.width!==.1)throw Error('Unexpected SYS1 width')
p.pcbPaths=[[p.from,{x:10.85,y:-5.55},{x:10.675,y:-5.55},{x:10.425,y:-5.8},{x:10.425,y:-6.5},{x:10.965,y:-7.04},{x:11.7,y:-7.04},p.to]]
}
return cloneElement(node,p,...Children.toArray(node.props.children).map(applySys1D5AccessRelief))
}