AnasSarkiz/am625sip-linux

An electronic component representing an AM625 system-in-package with mapped pins and physical footprint for PCB integration.

Version
1.0.3
License
unset
Stars
0

components/Am625Sip.tsx

import type { ChipProps } from "@tscircuit/props"
import { Fragment } from "react"
import { am625sipBalls } from "./am625sip-balls"

export function Am625Sip(props: ChipProps) {
  return (
    <chip
      {...props}
      manufacturerPartNumber="AM6254ATLHJAMKR"
      pinLabels={Object.fromEntries(
        am625sipBalls.map((ball, index) => [
          `pin${index + 1}`,
          [ball.ball, `${ball.signal}_${ball.ball}`],
        ]),
      )}
      footprint={
        <footprint>
          {am625sipBalls.map((ball, index) => (
            <Fragment key={ball.ball}>
            <smtpad
              portHints={[`pin${index + 1}`]}
              pcbX={ball.pcbX}
              pcbY={ball.pcbY}
              shape="circle"
              radius={0.15}
            />
            </Fragment>
          ))}
          <silkscreenrect pcbX={0} pcbY={0} width={13.4} height={13.4} />
          <silkscreencircle pcbX={-6.9} pcbY={6.9} radius={0.2} />
          <courtyardrect pcbX={0} pcbY={0} width={14} height={14} />
        </footprint>
      }
    />
  )
}