0hmX/mt41k512m8da-107-it-p-fanout

This code defines the physical footprint, routing, and layout configuration for a DDR3 memory module using surface-mount pads, vias, and copper traces on a printed circuit board (PCB).

Version
0.2.3
License
unset
Stars
0

src/saved-paths.ts

import { fanoutTracePath, type FanoutTracePath } from "@tscircuit/props"
import { assertLayoutProfile, type LayoutProfile } from "./profiles"
import outwardNorth from "./generated/outward_north.trace-paths.json"
import outwardSouth from "./generated/outward_south.trace-paths.json"
import inwardNorth from "./generated/inward_north.trace-paths.json"
import inwardSouth from "./generated/inward_south.trace-paths.json"
const paths = {outward_north:outwardNorth,outward_south:outwardSouth,inward_north:inwardNorth,inward_south:inwardSouth}
export function getRamFanoutTracePaths(profile:LayoutProfile="outward_north"): FanoutTracePath[] {
 assertLayoutProfile(profile)
 return structuredClone(paths[profile]).map(p=>fanoutTracePath.parse(p))
}