ShiboSoftwareDev/am69-cm5
A 55×40 mm 10-layer CM5 carrier board integrating an AM69A98 SoC, 8‑GiB LPDDR4, 32‑GB eMMC, CM5 connectors, clocking, extensive decoupling/EMI filtering, and HDI DDR/ground escape routing.
- Version
- 0.0.7-engineering-draft-20261107-manual-ddr0
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone ShiboSoftwareDev/am69-cm5 # download the package files into ./am69-cm5
tsci add ShiboSoftwareDev/am69-cm5 # add it to your project as @tsci/ShiboSoftwareDev.am69-cm5In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.
components/shared/core/NativeHdiSignalEscapes.tsx
import plans from './NativeHdi.data.json'
import {Fragment}from'react'
import {NativeFullSpanHandoffVia}from'./NativeFullSpanHandoffVia'
/** Native, fixed vertical traces at real land centres. These contain no planar
* path search. Explicit trace/via topology lets the native remaining router use
* the inner-layer end of an existing microvia instead of escaping the ball again.
* Filled, planarized and capped vias remain a manufacturing requirement.
*/
export function NativeHdiSignalEscapes({board,references,omitSelectors=[]}:{board:'pi5'|'cm5';references?:readonly string[];omitSelectors?:readonly string[]}) {
const plan=plans[board]
const sites=[...plan.bga_via_sites,...plan.power_microvias,...(plan.signal_microvias??[])].filter(site=>(!references||references.includes(site.owner))&&!omitSelectors.includes(`${site.owner}.${site.pin}`))
return <group name="HDI_VERTICAL_ESCAPES" pcbX={0} pcbY={0} pcbLayout={{layoutMode:"none"}} pcbStyle={{viaHoleDiameter:.11,viaPadDiameter:.25}}>
{sites.map((site,i)=>{
const pose=plan.escape_poses[site.owner as keyof typeof plan.escape_poses]
const a=(pose.pcbRotation??0)*Math.PI/180,c=Math.cos(a),s=Math.sin(a)
const dx=site.x-pose.pcbX,dy=site.y-pose.pcbY
// Native pcbPath uses the component's rotation/translation frame. The actual
// pad position already includes any bottom-face footprint reflection.
const x=dx*c+dy*s,y=-dx*s+dy*c
const fromLayer=site.layer==='top'?'top':'bottom'
const toLayer=site.layer==='top'?'inner1':'inner8'
const selector=`.${site.owner} > .${site.pin}`
const fullSpan='via_class'in site&&site.via_class==='full_span_pth'
return <Fragment key={i}><trace name={`HDI_VERTICAL_${site.owner}_${site.pin}`} from={selector}
to={`net.${site.net}`} thickness={.1}
pcbPath={fullSpan?undefined:[{x,y,via:true,fromLayer,toLayer},{x,y}]} />
{fullSpan&&<NativeFullSpanHandoffVia name={`DDR_PTH_${site.owner}_${site.pin}`} x={site.x} y={site.y}
contactLayers={['inner3','inner6','inner8']} connectsTo={[selector,`net.${site.net}`]} />}
</Fragment>
})}
</group>
}