0hmX/simplified-am62l-computer

This code defines components and scripts for physically representing and routing high-speed DDR memory signals, power lines, and ground planes on an 8-layer PCB with detailed pin assignments, copper pours, and precise via and trace layouts based on TI EVM reference data.

Version
1.0.16
License
unset
Stars
0

imports/XRCGB25M000F3A00R0/XRCGB25M000F3A00R0.tsx

import objPath from "./XRCGB25M000F3A00R0.obj"
import type { CrystalProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["pin1"],
  pin2: ["GND1"],
  pin3: ["pin3"],
  pin4: ["GND2"]
} as const

export const XRCGB25M000F3A00R0 = (props: Omit<CrystalProps, "frequency" | "loadCapacitance" | "pinVariant">) => {
  return (
    <crystal frequency="25MHz" loadCapacitance="6pF" pinVariant="four_pin"
      symbol={false ? (
        <symbol>
          <port name="pin1" pinNumber={1} aliases={["1"]} direction="left" schX={-7.62} schY={-2.54} schStemLength={2.54} />
          <port name="pin3" pinNumber={3} aliases={["3"]} direction="right" schX={7.62} schY={2.54} schStemLength={2.54} />
          <port name="pin4" pinNumber={4} aliases={["GND2","GND"]} direction="left" schX={-7.62} schY={2.54} schStemLength={2.54} />
          <port name="pin2" pinNumber={2} aliases={["GND1","GND"]} direction="right" schX={7.62} schY={-2.54} schStemLength={2.54} />
          <schematicrect schX={0} schY={0} width={10.16} height={10.16} strokeWidth={0.254} color="#880000" />
          <schematiccircle center={{ x: -3.81, y: -3.81 }} radius={0.381} strokeWidth={0.254} color="#880000" isFilled fillColor="#880000" />
          <schematicpath points={[{"x":-1.27,"y":-1.778},{"x":-1.27,"y":1.778}]} strokeWidth={0.254} strokeColor="#881100" />
          <schematicpath points={[{"x":1.27,"y":-1.778},{"x":1.27,"y":1.778}]} strokeWidth={0.254} strokeColor="#881100" />
          <schematicpath points={[{"x":-5.08,"y":-2.54},{"x":-2.54,"y":-2.54},{"x":-2.54,"y":0},{"x":-1.27,"y":0}]} strokeWidth={0.254} strokeColor="#880000" />
          <schematicpath points={[{"x":5.08,"y":2.54},{"x":2.54,"y":2.54},{"x":2.54,"y":0},{"x":1.27,"y":0}]} strokeWidth={0.254} strokeColor="#880000" />
          <schematicrect schX={0} schY={0} width={1.016} height={3.556} strokeWidth={0.254} color="#880000" />
        </symbol>
      ) : undefined}
      supplierPartNumbers={{
  "jlcpcb": [
    "C467842"
  ]
}}
      manufacturerPartNumber="XRCGB25M000F3A00R0"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-0.650113mm" pcbY="-0.450088mm" width="0.850011mm" height="0.6999986mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="0.650113mm" pcbY="-0.450088mm" width="0.850011mm" height="0.6999986mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.650113mm" pcbY="0.449834mm" width="0.850011mm" height="0.6999986mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-0.649859mm" pcbY="0.450088mm" width="0.850011mm" height="0.6999986mm" shape="rect" />
<silkscreenpath route={[{"x":-1.2698729999999614,"y":1.0160000000000764},{"x":-1.2698729999999614,"y":-1.143000000000029},{"x":1.2701269999998885,"y":-1.143000000000029},{"x":1.2701269999998885,"y":1.0160000000000764},{"x":-1.2698729999999614,"y":1.0160000000000764}]} />
<silkscreenpath route={[{"x":-1.5238730000000942,"y":-0.2539999999999054},{"x":-1.5238730000000942,"y":-1.3969999999999345},{"x":-0.5078730000000178,"y":-1.3969999999999345}]} />
<silkscreentext text="{NAME}" pcbX="-0.126873mm" pcbY="2.016mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.7738730000000942,"y":1.2660000000000764},{"x":1.5201269999998885,"y":1.2660000000000764},{"x":1.5201269999998885,"y":-1.6469999999999345},{"x":-1.7738730000000942,"y":-1.6469999999999345},{"x":-1.7738730000000942,"y":1.2660000000000764}]} />
      </footprint>}
      cadModel={{
        objUrl: objPath,
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0.0050000000000000044, y: 0, z: -0.01 },
      }}
      {...props}
    />
  )
}