← Commit history

orderable attributes: rebuild .lbr with adom-lbr 2.18.0 so MPN, MANUFACTURER and the distributor part numbers reach <technology> (LCSC_PN C18215). The published library carried no attributes at all, so a BOM had nothing to buy from. Distributor PNs matched on exact MPN AND corroborating manufacturer.

Ray ·0b7ca138d7 · ·parent 8e46b1e
2 files changed +50−30
dm9161aep.lbr+42−24
@@ -102,6 +102,18 @@   <smd name="46" x="-1.7500" y="4.1625" dx="0.3000" dy="1.4750" layer="1"/>   <smd name="47" x="-2.2500" y="4.1625" dx="0.3000" dy="1.4750" layer="1"/>   <smd name="48" x="-2.7500" y="4.1625" dx="0.3000" dy="1.4750" layer="1"/>+  <polygon width="0.1200" layer="21">+    <vertex x="-4.2500" y="3.1600"/>+    <vertex x="-4.5900" y="3.6300"/>+    <vertex x="-3.9100" y="3.6300"/>+  </polygon>+  <polygon width="0.1000" layer="51">+    <vertex x="-2.5000" y="3.5000"/>+    <vertex x="3.5000" y="3.5000"/>+    <vertex x="3.5000" y="-3.5000"/>+    <vertex x="-3.5000" y="-3.5000"/>+    <vertex x="-3.5000" y="2.5000"/>+  </polygon>   <wire x1="-3.6100" y1="3.6100" x2="-3.1600" y2="3.6100" width="0.1200" layer="21"/>   <wire x1="-3.6100" y1="3.1600" x2="-3.6100" y2="3.6100" width="0.1200" layer="21"/>   <wire x1="-3.6100" y1="-3.6100" x2="-3.6100" y2="-3.1600" width="0.1200" layer="21"/>@@ -112,7 +124,7 @@   <wire x1="3.6100" y1="-3.6100" x2="3.1600" y2="-3.6100" width="0.1200" layer="21"/>   <text x="0" y="5.500" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-5.500" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-4.2500" y="3.1600"/><vertex x="-4.5900" y="3.6300"/><vertex x="-3.9100" y="3.6300"/></polygon></package>+</package> </packages> <symbols> <symbol name="DM9161AEP">@@ -137,11 +149,11 @@   <pin name="LED2/OP2" x="-17.78" y="-2.54" length="middle" direction="io"/>   <pin name="CABLESTS/LINKSTS" x="-17.78" y="-5.08" length="middle" direction="io"/>   <pin name="DGND" x="-17.78" y="-7.62" length="middle" direction="pwr"/>-  <pin name="TXER/TXD[4]" x="-17.78" y="-10.16" length="middle" direction="in"/>-  <pin name="TXD[3]" x="-17.78" y="-12.7" length="middle" direction="in"/>-  <pin name="TXD[2]" x="-17.78" y="-15.24" length="middle" direction="in"/>-  <pin name="TXD[1]" x="-17.78" y="-17.78" length="middle" direction="in"/>-  <pin name="TXD[0]" x="-17.78" y="-20.32" length="middle" direction="in"/>+  <pin name="TXER/TXD_4" x="-17.78" y="-10.16" length="middle" direction="in"/>+  <pin name="TXD_3" x="-17.78" y="-12.7" length="middle" direction="in"/>+  <pin name="TXD_2" x="-17.78" y="-15.24" length="middle" direction="in"/>+  <pin name="TXD_1" x="-17.78" y="-17.78" length="middle" direction="in"/>+  <pin name="TXD_0" x="-17.78" y="-20.32" length="middle" direction="in"/>   <pin name="TXEN" x="-17.78" y="-22.86" length="middle" direction="in"/>   <pin name="TXCLK/ISOLATE" x="-17.78" y="-25.4" length="middle" direction="hiz"/>   <pin name="DVDD" x="-17.78" y="-27.94" length="middle" direction="pwr"/>@@ -156,19 +168,19 @@   <pin name="DVDD@2" x="17.78" y="10.16" length="middle" direction="pwr" rot="R180"/>   <pin name="RESET#" x="17.78" y="7.62" length="middle" direction="in" rot="R180"/>   <pin name="DISMDIX" x="17.78" y="5.08" length="middle" direction="in" rot="R180"/>-  <pin name="RXER/RXD[4]/RPTR" x="17.78" y="2.54" length="middle" direction="hiz" rot="R180"/>+  <pin name="RXER/RXD_4_/RPTR" x="17.78" y="2.54" length="middle" direction="hiz" rot="R180"/>   <pin name="RXDV/TESTMODE" x="17.78" y="0" length="middle" direction="hiz" rot="R180"/>   <pin name="COL/RMII" x="17.78" y="-2.54" length="middle" direction="hiz" rot="R180"/>-  <pin name="CRS/PHYAD[4]" x="17.78" y="-5.08" length="middle" direction="hiz" rot="R180"/>+  <pin name="CRS/PHYAD_4" x="17.78" y="-5.08" length="middle" direction="hiz" rot="R180"/>   <pin name="RXCLK/10BTSER" x="17.78" y="-7.62" length="middle" direction="hiz" rot="R180"/>   <pin name="DGND@3" x="17.78" y="-10.16" length="middle" direction="pwr" rot="R180"/>   <pin name="MDINTR#" x="17.78" y="-12.7" length="middle" direction="hiz" rot="R180"/>   <pin name="LEDMODE" x="17.78" y="-15.24" length="middle" direction="in" rot="R180"/>   <pin name="DVDD@3" x="17.78" y="-17.78" length="middle" direction="pwr" rot="R180"/>-  <pin name="RXD[0]/PHYAD[0]" x="17.78" y="-20.32" length="middle" direction="hiz" rot="R180"/>-  <pin name="RXD[1]/PHYAD[1]" x="17.78" y="-22.86" length="middle" direction="hiz" rot="R180"/>-  <pin name="RXD[2]/PHYAD[2]" x="17.78" y="-25.4" length="middle" direction="hiz" rot="R180"/>-  <pin name="RXD[3]/PHYAD[3]" x="17.78" y="-27.94" length="middle" direction="hiz" rot="R180"/>+  <pin name="RXD_0_/PHYAD_0" x="17.78" y="-20.32" length="middle" direction="hiz" rot="R180"/>+  <pin name="RXD_1_/PHYAD_1" x="17.78" y="-22.86" length="middle" direction="hiz" rot="R180"/>+  <pin name="RXD_2_/PHYAD_2" x="17.78" y="-25.4" length="middle" direction="hiz" rot="R180"/>+  <pin name="RXD_3_/PHYAD_3" x="17.78" y="-27.94" length="middle" direction="hiz" rot="R180"/>   <pin name="MDIO" x="17.78" y="-30.48" length="middle" direction="io" rot="R180"/> </symbol> </symbols>@@ -196,11 +208,11 @@         <connect gate="G$1" pin="LED2/OP2" pad="13"/>         <connect gate="G$1" pin="CABLESTS/LINKSTS" pad="14"/>         <connect gate="G$1" pin="DGND" pad="15"/>-        <connect gate="G$1" pin="TXER/TXD[4]" pad="16"/>-        <connect gate="G$1" pin="TXD[3]" pad="17"/>-        <connect gate="G$1" pin="TXD[2]" pad="18"/>-        <connect gate="G$1" pin="TXD[1]" pad="19"/>-        <connect gate="G$1" pin="TXD[0]" pad="20"/>+        <connect gate="G$1" pin="TXER/TXD_4" pad="16"/>+        <connect gate="G$1" pin="TXD_3" pad="17"/>+        <connect gate="G$1" pin="TXD_2" pad="18"/>+        <connect gate="G$1" pin="TXD_1" pad="19"/>+        <connect gate="G$1" pin="TXD_0" pad="20"/>         <connect gate="G$1" pin="TXEN" pad="21"/>         <connect gate="G$1" pin="TXCLK/ISOLATE" pad="22"/>         <connect gate="G$1" pin="DVDD" pad="23"/>@@ -215,22 +227,28 @@         <connect gate="G$1" pin="DVDD@2" pad="41"/>         <connect gate="G$1" pin="RESET#" pad="40"/>         <connect gate="G$1" pin="DISMDIX" pad="39"/>-        <connect gate="G$1" pin="RXER/RXD[4]/RPTR" pad="38"/>+        <connect gate="G$1" pin="RXER/RXD_4_/RPTR" pad="38"/>         <connect gate="G$1" pin="RXDV/TESTMODE" pad="37"/>         <connect gate="G$1" pin="COL/RMII" pad="36"/>-        <connect gate="G$1" pin="CRS/PHYAD[4]" pad="35"/>+        <connect gate="G$1" pin="CRS/PHYAD_4" pad="35"/>         <connect gate="G$1" pin="RXCLK/10BTSER" pad="34"/>         <connect gate="G$1" pin="DGND@3" pad="33"/>         <connect gate="G$1" pin="MDINTR#" pad="32"/>         <connect gate="G$1" pin="LEDMODE" pad="31"/>         <connect gate="G$1" pin="DVDD@3" pad="30"/>-        <connect gate="G$1" pin="RXD[0]/PHYAD[0]" pad="29"/>-        <connect gate="G$1" pin="RXD[1]/PHYAD[1]" pad="28"/>-        <connect gate="G$1" pin="RXD[2]/PHYAD[2]" pad="27"/>-        <connect gate="G$1" pin="RXD[3]/PHYAD[3]" pad="26"/>+        <connect gate="G$1" pin="RXD_0_/PHYAD_0" pad="29"/>+        <connect gate="G$1" pin="RXD_1_/PHYAD_1" pad="28"/>+        <connect gate="G$1" pin="RXD_2_/PHYAD_2" pad="27"/>+        <connect gate="G$1" pin="RXD_3_/PHYAD_3" pad="26"/>         <connect gate="G$1" pin="MDIO" pad="25"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="DM9161AEP" constant="no"/>+          <attribute name="MANUFACTURER" value="DAVICOM" constant="no"/>+          <attribute name="LCSC_PN" value="C18215" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
page.json+8−6
@@ -26,7 +26,9 @@       "model_3d_step": "dm9161aep.step",       "lbr": "dm9161aep.lbr"     },-    "distributor_links": {},+    "distributor_links": {+      "lcsc": "C18215"+    },     "pins": [       {         "number": "1",@@ -44,13 +46,13 @@         "number": "3",         "name": "RX+",         "type": "input",-        "description": "Differential receive pair positive input from the magnetics/RJ45 (100Ω differential). Carries data recovered from the media."+        "description": "Differential receive pair positive input from the magnetics/RJ45 (100\u03a9 differential). Carries data recovered from the media."       },       {         "number": "4",         "name": "RX-",         "type": "input",-        "description": "Differential receive pair negative input from the magnetics/RJ45 (100Ω differential)."+        "description": "Differential receive pair negative input from the magnetics/RJ45 (100\u03a9 differential)."       },       {         "number": "5",@@ -176,7 +178,7 @@         "number": "25",         "name": "MDIO",         "type": "bidirectional",-        "description": "Management data I/O, bidirectional serial data for accessing PHY MII registers. Requires an external ~1.5kΩ pull-up."+        "description": "Management data I/O, bidirectional serial data for accessing PHY MII registers. Requires an external ~1.5k\u03a9 pull-up."       },       {         "number": "26",@@ -308,13 +310,13 @@         "number": "47",         "name": "BGRESG",         "type": "passive",-        "description": "Bandgap reference resistor ground return. Connects one end of the external 6.8kΩ ±1% bandgap reference resistor to analog ground."+        "description": "Bandgap reference resistor ground return. Connects one end of the external 6.8k\u03a9 \u00b11% bandgap reference resistor to analog ground."       },       {         "number": "48",         "name": "BGRES",         "type": "passive",-        "description": "Bandgap voltage reference. Tie an external 6.8kΩ ±1% resistor between BGRES and BGRESG to set the internal bias current."+        "description": "Bandgap voltage reference. Tie an external 6.8k\u03a9 \u00b11% resistor between BGRES and BGRESG to set the internal bias current."       }     ],     "provenance": {