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

import {Children,cloneElement,isValidElement} from 'react'
import routes from '../data/cloud-hdmi-reset-direct.json'
/** Direct Top RESET corridor and real R183 branch; no footprint, layer or via changes. */
export function applyDirectResetCorridor(node:any):any {
  if(Array.isArray(node)) return node.map(applyDirectResetCorridor)
  if(!isValidElement(node)) return node
  if(typeof node.type==='function') return applyDirectResetCorridor(node.type(node.props))
  const p:any={...node.props}, points=(routes as any)[p.name]
  if(node.type==='trace' && points) {
    if(p.name==='VIDEO_HDMI_RESET_N_41' && (p.from!=='.HDMI > .R_HDMI_REF_R183 > .pin2' || p.to!=='.HDMI > .U_HDMI > .33')) throw new Error('R183 terminal identity changed')
    const path=[p.from,...points.map(([x,y]:number[])=>({x,y,layer:'top'}))]
    if(p.name==='VIDEO_HDMI_RESET_N_30') path.push(p.to)
    p.pcbPaths=[path]
    delete p.pcbPath
    p.pcbPathRelativeTo='.Processor > .U1 > .A1'
  }
  return cloneElement(node,p,...Children.toArray(node.props.children).map(applyDirectResetCorridor))
}