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/NativeFullSpanHandoffVia.tsx
import type {LayerRef} from 'circuit-json'
/** An explicit, genuine annular contact on a declared continuous barrel.
* The pinned Via constructor creates only its two outer ports before it knows
* the board's layer count. React's normal ref callback registers the declared
* internal-layer port against that same physical native Via. It does not add
* copper, move a terminal or change a net. Actual port/barrel/Gerber contact
* must be independently verified before product use.
*/
export function NativeFullSpanHandoffVia({name,x,y,layer,contactLayers,holeDiameter=.15,outerDiameter=.35,fromLayer='top',toLayer='bottom',connectsTo}:{name:string;x:number;y:number;layer?:LayerRef;contactLayers?:LayerRef[];holeDiameter?:number;outerDiameter?:number;fromLayer?:LayerRef;toLayer?:LayerRef;connectsTo:string[]}){
if(!((fromLayer==='top'&&toLayer==='bottom')||(fromLayer==='inner1'&&toLayer==='inner8')))throw Error('Expected full board or existing buried core span')
const contacts=[...new Set(contactLayers??(layer?[layer]:[]))].filter(l=>l!==fromLayer&&l!==toLayer)
if(contacts.some(l=>!/^inner[1-8]$/.test(l)))throw Error('Expected actual internal annular contacts')
if(!(holeDiameter>0&&outerDiameter>holeDiameter))throw Error('Invalid physical through-barrel class')
const bind=(via:any)=>{
for(const layer of contacts){const port=via?.selectOne(`port.${layer}`);if(port&&!port.matchedComponents.includes(via))port.registerMatch(via)}
}
const net=connectsTo.find(s=>s.startsWith('net.'));if(!net)throw Error('A real source net is required')
// Via.connectsTo already supplies the source identity for every real barrel
// contact. An extra trace-to-net would add a third source port to the DDR
// pair and expose the pinned core's two-port-only pair-name fallback.
return <via name={name} pcbX={x} pcbY={y} fromLayer={fromLayer} toLayer={toLayer} holeDiameter={holeDiameter} outerDiameter={outerDiameter}
tented connectsTo={connectsTo} ref={bind}>
{contacts.map(layer=><port key={layer} name={layer} layer={layer} pcbX={0} pcbY={0} />)}
</via>
}