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/NativeUnusedDdrRoutes.tsx
import saved from './NativeUnusedDdrRoutes.data.json'
import plans from './NativeHdi.data.json'
/** Completed native-router output, replayed with public saved-path primitives.
* Branches on inner1/inner8 meet explicit physical through barrels. No route
* search or generated-path modification occurs during an ordinary build.
*/
export const unusedDdrReplayedSelectors=saved.omittedVerticalSelectors
export function NativeUnusedDdrRoutes(){return <NativeSavedHdiRouteReplay board="pi5" saved={saved} />}
export function NativeSavedHdiRouteReplay({board,saved}:{board:'pi5'|'cm5';saved:any}){return <>
{saved.throughVias.map((v,i)=><via key={i} name={`UNUSED_DDR_THROUGH_${i}`} pcbX={v.x} pcbY={v.y}
fromLayer={v.fromLayer??'top'} toLayer={v.toLayer??'bottom'} holeDiameter={v.holeDiameter} outerDiameter={v.outerDiameter} tented connectsTo={`net.${v.net}`} />)}
<group name="UNUSED_DDR_NATIVE_PATHS" pcbX={0} pcbY={0} pcbStyle={{viaHoleDiameter:.11,viaPadDiameter:.25}}>
{[...saved.completePaths,...saved.fanoutBranches].map((path,i)=>{
const owner=path.connection.split(' > ')[0].slice(1)
const poses=plans[board].escape_poses
const pose=poses[owner as keyof typeof poses]
if(!pose)throw Error(`No native replay frame for ${owner}`)
const a=(pose.pcbRotation??0)*Math.PI/180,c=Math.cos(a),s=Math.sin(a)
const pcbPath=path.route.map(p=>{
const dx=p.x-pose.pcbX,dy=p.y-pose.pcbY,x=dx*c+dy*s,y=-dx*s+dy*c
return p.route_type==='via'?{x,y,via:true,fromLayer:p.from_layer,toLayer:p.to_layer}:{x,y}
})
return <trace key={i} name={`UNUSED_DDR_NATIVE_${i}`} from={path.connection} to={`net.${path.net}`} thickness={.1} pcbPaths={[pcbPath]} />
})}
</group>
</>}