board
OCuLink Riser for the Supermicro AIOM Slot
Public Unreviewedby John Lauer
Passive OCP NIC 3.0 SFF card that breaks a Supermicro AIOM slot's PCIe x16 into four OCuLink 4i ports (4 x4, Gen4): 6-layer, 85 ohm, length-matched, DRC-clean KiCad project with Gerbers, BOM and CPL.
main
John Lauer
README: component table per the wiki format, open-source section, no duplicate hero; generators at gen/
39a59ef
7d ago
#!/usr/bin/env python3
"""From KiCad's exported schematic netlist, the names KiCad gives unconnected pins ('unconnected-(J1A-SMRST0#-PadA9)'),
so the board's unused pads carry the same net and schematic parity is exact."""
import re, json, os, sys
ROOT = os.path.join(os.path.dirname(__file__), "..")
t = re.sub(r"\s+", " ", open(os.path.join(ROOT, "kicad", "sch.net")).read())
out = {}
for b in t.split("(net (code")[1:]:
name = re.search(r'\(name "([^"]*)"\)', b).group(1)
if name.startswith("unconnected-"):
for r, p in re.findall(r'\(node \(ref "([^"]+)"\) \(pin "([^"]+)"\)', b):
out[f"{r}.{p}"] = name
json.dump(out, open(os.path.join(ROOT, "design", "nc_nets.json"), "w"), indent=0)
print(len(out), "unconnected pins named")