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/CloudResetPullPlacement.tsx

import {Children,cloneElement,isValidElement} from 'react'
/** Same real10k pull and same Top side; both pads, its V3 feed and component rotate together. */
export function applyResetPullPlacement(node:any):any{
 if(Array.isArray(node))return node.map(applyResetPullPlacement)
 if(!isValidElement(node))return node
 if(typeof node.type==='function')return applyResetPullPlacement(node.type(node.props))
 const p:any={...node.props}
 if(node.type==='trace'&&p.name==='CLOUD_V3V3_SURFACE_2')return null
 if(p.name==='R_HDMI_RESET_GPIO_PU')Object.assign(p,{pcbX:32.935,pcbY:13,pcbRotation:180,layer:'top'})
 if(node.type==='via'&&p.connectsTo==='.HDMI > .R_HDMI_RESET_GPIO_PU > .pin1')Object.assign(p,{pcbX:33.445,pcbY:13,fromLayer:'top',toLayer:'inner5'})
 if(p.footprint&&isValidElement(p.footprint))p.footprint=applyResetPullPlacement(p.footprint)
 return cloneElement(node,p,...Children.toArray(node.props.children).map(applyResetPullPlacement))
}