-
Notifications
You must be signed in to change notification settings - Fork 0
/
default_fields.yml
94 lines (93 loc) · 2.81 KB
/
default_fields.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# These will be added to *every* non-power component
defaults:
Populated: true
Reference:
# Match based on reference minus digits. Every match is applied, not just the first.
/^(?!(TP|FD)).*/: # Anything not TP or FD
Fields:
MPN:
Alternative_MPNs:
Populated: true
/^DF|TP$/:
Fields:
Populated: false
/^C|R|D|FB$/: # Match some common stuff
Fields:
Footprint_Prefix:
Package: "1608"
Footprint_Density: B
Height:
Footprint_Postfix:
C: # Match any capacitor
Fields: # These will also be added to matched Component_Name fields
# Reference, Value, Footprint and Datasheet are always added.
Value_type: Capacitance
Tolerance: 10%
Voltage: 16V
Footprint_Library: SH_Capacitors
Spice_Primitive: C
Spice_Netlist_Enabled: true
Generate_Fields: Footprint
Component_Name:
# Match specific component names by string or regular expression:
/^CP/: # Match any Component_Name that starts with `CP`
Fields:
ESR:
Ripple_Current:
Ripple_Current_Frequency:
Lifetime: 2000h
/^(?!CP).*/:
Fields:
Dielectric: X7R
R:
Fields: # These will also be added to matched Component_Name fields
# Reference, Value, Footprint and Datasheet are always added.
Value_type: Resistance
Tolerance: 5%
Footprint_Library: SH_Resistors
Spice_Primitive: R
Spice_Netlist_Enabled: true
Generate_Fields: Footprint
D:
Fields:
Tolerance: 10%
Current:
Component_Name:
/led/i:
Fields:
Value_type: Label
/zener/i:
Fields:
Value_type: Vz
/schottky|dsmall/i:
Fields:
Value_type: If
L:
Fields:
Value_type: Inductance
Tolerance: ±20%
Current_Rating:
Saturation_Current:
DCR:
Shielded: true
Spice_Netlist_Enabled: true
Spice_Primitive: I
FB:
Fields:
Value_type: Impedance
Current_Rating:
DCR:
Spice_Netlist_Enabled: true
Spice_Primitive: I
K: # Relays
Fields:
Value_type: Product_Series
Contact_Form: SPDT
Current_Rating:
Switching_Voltage:
Coil_Type:
Coil_Voltage:
Coil_Current:
U:
Fields:
Value_type: Product_Series