-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathport2-sdcard-interface.rules
107 lines (106 loc) · 3.46 KB
/
port2-sdcard-interface.rules
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
95
96
97
98
99
100
101
102
103
104
105
106
107
(rules PCB port2-sdcard-interface
(snap_angle
fortyfive_degree
)
(autoroute_settings
(fanout on)
(autoroute on)
(postroute on)
(vias on)
(via_costs 50)
(plane_via_costs 5)
(start_ripup_costs 100)
(start_pass_no 24141)
(layer_rule F.Cu
(active on)
(preferred_direction vertical)
(preferred_direction_trace_costs 1.8)
(against_preferred_direction_trace_costs 3.0)
)
(layer_rule In1.Cu
(active on)
(preferred_direction horizontal)
(preferred_direction_trace_costs 1.0)
(against_preferred_direction_trace_costs 1.8)
)
(layer_rule In2.Cu
(active on)
(preferred_direction vertical)
(preferred_direction_trace_costs 1.0)
(against_preferred_direction_trace_costs 2.2)
)
(layer_rule B.Cu
(active on)
(preferred_direction horizontal)
(preferred_direction_trace_costs 1.8)
(against_preferred_direction_trace_costs 2.6)
)
)
(rule
(width 250.0)
(clear 200.2)
(clear 125.0 (type smd_to_turn_gap))
)
(padstack "Via[0-3]_800:400_um"
(shape
(circle F.Cu 800.0 0.0 0.0)
)
(shape
(circle In1.Cu 800.0 0.0 0.0)
)
(shape
(circle In2.Cu 800.0 0.0 0.0)
)
(shape
(circle B.Cu 800.0 0.0 0.0)
)
(attach off)
)
(via
"Via[0-3]_800:400_um" "Via[0-3]_800:400_um" default
)
(via
"Via[0-3]_800:400_um-kicad_default" "Via[0-3]_800:400_um" "kicad_default"
)
(via_rule
default "Via[0-3]_800:400_um"
)
(via_rule
"kicad_default" "Via[0-3]_800:400_um-kicad_default"
)
(class default
(clearance_class default)
(via_rule default)
(rule
(width 250.0)
)
(circuit
(use_layer F.Cu In1.Cu In2.Cu B.Cu)
)
)
(class "kicad_default"
VCC GND "Net-(U7A-RCext)" ~{RES} CA0 D0 D1 CA1
CA2 D2 D3 CA3 CA4 D4 D5 CA5
CA6 D6 D7 CA7 CA8 CA9 CA10 CA11
"Net-(U7A-Cext)" CA12 CA13 CA14 CA15 "Net-(U7B-RCext)" ~{RD} ~{WR}
"Net-(U7B-Cext)" 16MHz "Net-(D1-A)" "Net-(D1-K)" "Net-(D2-A)" "Net-(D2-K)" "unconnected-(J2-Pin_12a-Pad12a)" ~{CS}
CLK MOSI MISO A1 A5 A7 "unconnected-(J2-Pin_11b-Pad11b)" "unconnected-(J2-Pin_1a-Pad1a)"
~{IORQ} A6 A4 A2 A0 "Net-(D3-A)" "Net-(R4-Pad1)" "Net-(U17-E1)"
"unconnected-(U5-Q1-Pad13)" "unconnected-(U5-Q2-Pad12)" "unconnected-(U5-Q3-Pad11)" "Net-(D4-A)" "unconnected-(U6-O5-Pad10)" "unconnected-(U6-O6-Pad9)" "unconnected-(U6-O7-Pad7)" ~{CLKSTOP}
"SD_SPI" "Net-(U2-Pad3)" "~{CLKSTART_DB}" CLKSTOP ~{CLK} "Net-(U17-E3)" "Net-(U7A-Q)" CS
"unconnected-(U7B-Q-Pad5)" "unconnected-(U7A-~{Q}-Pad4)" "Net-(U8-Cp)" "Net-(U11-Cp)" ~{S4} ~{S3} ~{S2} ~{S1}
~{CLKSTART} "~{SER_RD}" "Net-(U4-Pad12)" "~{SDOUT_SET}" "~{SDOUT_RESET}" "~{SER_WR}" "~{SDCS_SET}" "~{SDCS_RESET}"
"Net-(U14-Pad3)" "unconnected-(U12-~{Q7}-Pad7)" "unconnected-(U13-QH'-Pad9)" A3 "unconnected-(U15-NC-Pad30)" ~{S13} ROM16 "unconnected-(U15-NC-Pad1)"
~{S14} RAM16 "unconnected-(U1-NC-Pad1)" "unconnected-(U17-O7-Pad7)" "unconnected-(U17-O6-Pad9)" ~{S12} ~{S11} ~{S10}
~{S9} "Net-(U18A-C)" "unconnected-(U18A-~{Q}-Pad6)" "unconnected-(U18B-~{Q}-Pad8)" "Net-(U18B-C)" "unconnected-(U20-Oa>b-Pad5)" "unconnected-(U20-Oa<b-Pad7)" "unconnected-(X1-NC-Pad1)"
"Net-(U3A-Q)" "Net-(U3B-Q)" "LED_SEL" ~{S5} "unconnected-(U3A-~{Q}-Pad6)" "unconnected-(U3B-~{Q}-Pad8)"
(clearance_class "kicad_default")
(via_rule kicad_default)
(rule
(width 250.0)
)
(circuit
(use_layer F.Cu In1.Cu In2.Cu B.Cu)
)
)
)