kicad-source/qa/data/eeschema/ground_pin_test_mixed.kicad_sch
Seth Hillbrand d8a99ea38f ADDED: New ERC test for mis-match GND pins
If you have a pin with a label containing the letters "GND" in it and it
is not connected to a net with a label also containing "GND" AND there
is another pin on your symbol that _is_ connected to a net containing
"GND", then there is a likelihood that you have accidentally mixed up
your connections to the GND pin
2025-08-07 15:42:56 -07:00

1107 lines
17 KiB
Plaintext

(kicad_sch
(version 20250610)
(generator "eeschema")
(generator_version "9.99")
(uuid "5e4b0281-93a3-49ab-a5a7-472966b09c07")
(paper "A4")
(lib_symbols
(symbol "Device:R"
(pin_numbers
(hide yes)
)
(pin_names
(offset 0)
)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(duplicate_pin_numbers_are_jumpers no)
(property "Reference" "R"
(at 2.032 0 90)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "R"
(at 0 0 90)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at -1.778 0 90)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" "Resistor"
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "ki_keywords" "R res resistor"
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "ki_fp_filters" "R_*"
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(symbol "R_0_1"
(rectangle
(start -1.016 -2.54)
(end 1.016 2.54)
(stroke
(width 0.254)
(type default)
)
(fill
(type none)
)
)
)
(symbol "R_1_1"
(pin passive line
(at 0 3.81 270)
(length 1.27)
(name ""
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at 0 -3.81 90)
(length 1.27)
(name ""
(effects
(font
(size 1.27 1.27)
)
)
)
(number "2"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
(embedded_fonts no)
)
(symbol "Test:Test_Symbol_GND"
(pin_numbers
(hide yes)
)
(pin_names
(offset 0.254)
)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(duplicate_pin_numbers_are_jumpers no)
(property "Reference" "U"
(at 0 2.54 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "Test_Symbol_GND"
(at 0 -2.54 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(symbol "Test_Symbol_GND_0_1"
(rectangle
(start -2.54 1.27)
(end 2.54 -1.27)
(stroke
(width 0.254)
(type default)
)
(fill
(type background)
)
)
)
(symbol "Test_Symbol_GND_1_1"
(pin power_in line
(at -5.08 0 0)
(length 2.54)
(name "VCC"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin power_in line
(at 5.08 0 180)
(length 2.54)
(name "GND"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "2"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
(embedded_fonts no)
)
(symbol "Test:Test_Symbol_Multiple_GND"
(pin_numbers
(hide yes)
)
(pin_names
(offset 0.254)
)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(duplicate_pin_numbers_are_jumpers no)
(property "Reference" "U?"
(at 3.81 -1.27 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "Test_Symbol_Multiple_GND"
(at 3.81 6.35 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(symbol "Test_Symbol_Multiple_GND_0_1"
(rectangle
(start -6.35 5.08)
(end 7.62 -5.08)
(stroke
(width 0.254)
(type default)
)
(fill
(type background)
)
)
)
(symbol "Test_Symbol_Multiple_GND_1_1"
(pin power_in line
(at -8.89 3.81 0)
(length 2.54)
(name "VCC"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin power_in line
(at 10.16 3.81 180)
(length 2.54)
(name "GND"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "2"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin power_in line
(at 10.16 1.27 180)
(length 2.54)
(name "GND_ALT"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "3"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
(embedded_fonts no)
)
(symbol "power:GND"
(power global)
(pin_names
(offset 0)
)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(duplicate_pin_numbers_are_jumpers no)
(property "Reference" "#PWR"
(at 0 -6.35 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "GND"
(at 0 -3.81 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(symbol "GND_0_1"
(polyline
(pts
(xy 0 0) (xy 0 -1.27) (xy 1.27 -1.27) (xy 0 -2.54) (xy -1.27 -1.27) (xy 0 -1.27)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
)
(symbol "GND_1_1"
(pin power_in line
(at 0 0 270)
(length 0)
(hide yes)
(name ""
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
(embedded_fonts no)
)
(symbol "power:PWR_FLAG"
(power global)
(pin_numbers
(hide yes)
)
(pin_names
(offset 0)
(hide yes)
)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(duplicate_pin_numbers_are_jumpers no)
(property "Reference" "#FLG"
(at 0 1.905 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "PWR_FLAG"
(at 0 3.81 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" "Special symbol for telling ERC where power comes from"
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "ki_keywords" "flag power"
(at 0 0 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(symbol "PWR_FLAG_0_0"
(pin power_out line
(at 0 0 90)
(length 0)
(name ""
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
(symbol "PWR_FLAG_0_1"
(polyline
(pts
(xy 0 0) (xy 0 1.27) (xy -1.016 1.905) (xy 0 2.54) (xy 1.016 1.905) (xy 0 1.27)
)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
)
(embedded_fonts no)
)
)
(junction
(at 142.24 74.93)
(diameter 0)
(color 0 0 0 0)
(uuid "0b27e657-483d-4872-9d1c-ced877bf1517")
)
(junction
(at 110.49 72.39)
(diameter 0)
(color 0 0 0 0)
(uuid "558e5598-91c8-46b0-ba85-928333a3c233")
)
(junction
(at 142.24 72.39)
(diameter 0)
(color 0 0 0 0)
(uuid "b48ca839-b7ed-4ec3-b18b-84cb622499e1")
)
(wire
(pts
(xy 102.87 72.39) (xy 102.87 59.69)
)
(stroke
(width 0)
(type default)
)
(uuid "03c31267-9c13-4fcb-aeaf-eb68ccb97c3f")
)
(wire
(pts
(xy 127 59.69) (xy 161.29 59.69)
)
(stroke
(width 0)
(type default)
)
(uuid "0a64cf2b-c02b-43df-889c-0f1545616de5")
)
(wire
(pts
(xy 161.29 59.69) (xy 161.29 72.39)
)
(stroke
(width 0)
(type default)
)
(uuid "169cd462-b8f0-4365-9cd9-2c71ff26e37c")
)
(wire
(pts
(xy 142.24 72.39) (xy 161.29 72.39)
)
(stroke
(width 0)
(type default)
)
(uuid "2b592fc8-2f30-418b-82bd-bccdc1d742d5")
)
(wire
(pts
(xy 132.08 74.93) (xy 142.24 74.93)
)
(stroke
(width 0)
(type default)
)
(uuid "5d86d214-f580-4d52-af01-17fe9ef992cf")
)
(wire
(pts
(xy 102.87 59.69) (xy 119.38 59.69)
)
(stroke
(width 0)
(type default)
)
(uuid "a8fa1004-55e3-4519-8c6c-7aa0de5464d1")
)
(wire
(pts
(xy 110.49 72.39) (xy 113.03 72.39)
)
(stroke
(width 0)
(type default)
)
(uuid "aa46e3ee-89ca-430a-bede-5d58165d812f")
)
(wire
(pts
(xy 132.08 72.39) (xy 142.24 72.39)
)
(stroke
(width 0)
(type default)
)
(uuid "aea1199c-998c-422a-8370-112eb04407ac")
)
(wire
(pts
(xy 102.87 72.39) (xy 110.49 72.39)
)
(stroke
(width 0)
(type default)
)
(uuid "af065edb-92b0-4d94-9350-cf0fe63b7af8")
)
(wire
(pts
(xy 142.24 74.93) (xy 153.67 74.93)
)
(stroke
(width 0)
(type default)
)
(uuid "c2fd646b-d9f6-4ebc-a231-5cc338fbb24d")
)
(wire
(pts
(xy 153.67 74.93) (xy 153.67 82.55)
)
(stroke
(width 0)
(type default)
)
(uuid "d710fbda-39c8-4a8c-b027-90a2f7adb657")
)
(label "VCC"
(at 107.95 72.39 0)
(effects
(font
(size 1.27 1.27)
)
)
(uuid "3614192b-2f62-4aed-a52a-24b58a562229")
)
(label "OTHER"
(at 161.29 72.39 0)
(effects
(font
(size 1.27 1.27)
)
)
(uuid "d2537025-5d01-41fe-b2c3-991c7dbe6837")
)
(symbol
(lib_id "Device:R")
(at 123.19 59.69 90)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "1d17b68b-b62b-44e8-b205-e6b816fb65d0")
(property "Reference" "R1"
(at 123.19 53.34 90)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "R"
(at 123.19 55.88 90)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 123.19 61.468 90)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 123.19 59.69 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" "Resistor"
(at 123.19 59.69 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(pin "1"
(uuid "05a42244-9bf1-4ed8-b8b8-d721423f1f6b")
)
(pin "2"
(uuid "ec33e901-8962-4cc4-9719-643b90fb6e4c")
)
(instances
(project ""
(path "/5e4b0281-93a3-49ab-a5a7-472966b09c07"
(reference "R1")
(unit 1)
)
)
)
)
(symbol
(lib_id "power:PWR_FLAG")
(at 142.24 72.39 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "55016dd0-86d4-43c4-8d5b-77cbcffbb85d")
(property "Reference" "#FLG02"
(at 142.24 70.485 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "PWR_FLAG"
(at 142.24 67.31 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 142.24 72.39 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 142.24 72.39 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" "Special symbol for telling ERC where power comes from"
(at 142.24 72.39 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(pin "1"
(uuid "4ed54e9f-8db7-4b05-945e-caa12cdaad5d")
)
(instances
(project ""
(path "/5e4b0281-93a3-49ab-a5a7-472966b09c07"
(reference "#FLG02")
(unit 1)
)
)
)
)
(symbol
(lib_id "power:PWR_FLAG")
(at 110.49 72.39 180)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "5ae9573f-65b6-4fc4-9b5e-ae5e53086718")
(property "Reference" "#FLG01"
(at 110.49 74.295 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "PWR_FLAG"
(at 110.49 77.47 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 110.49 72.39 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 110.49 72.39 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" "Special symbol for telling ERC where power comes from"
(at 110.49 72.39 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(pin "1"
(uuid "4ed54e9f-8db7-4b05-945e-caa12cdaad5d")
)
(instances
(project ""
(path "/5e4b0281-93a3-49ab-a5a7-472966b09c07"
(reference "#FLG01")
(unit 1)
)
)
)
)
(symbol
(lib_id "power:PWR_FLAG")
(at 142.24 74.93 180)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "9603a3c1-f21a-4a55-a5ec-431c5f8ee086")
(property "Reference" "#FLG03"
(at 142.24 76.835 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "PWR_FLAG"
(at 142.24 80.01 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 142.24 74.93 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 142.24 74.93 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" "Special symbol for telling ERC where power comes from"
(at 142.24 74.93 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(pin "1"
(uuid "4ed54e9f-8db7-4b05-945e-caa12cdaad5d")
)
(instances
(project ""
(path "/5e4b0281-93a3-49ab-a5a7-472966b09c07"
(reference "#FLG03")
(unit 1)
)
)
)
)
(symbol
(lib_id "power:GND")
(at 153.67 82.55 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(uuid "99c04430-50cf-4216-8d3b-e8fe5c448e36")
(property "Reference" "#PWR01"
(at 153.67 88.9 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "GND"
(at 153.67 86.36 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 153.67 82.55 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 153.67 82.55 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 153.67 82.55 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(pin "1"
(uuid "9fb00e34-3f12-41b3-b64f-554d6358716e")
)
(instances
(project "ground_pin_test_mixed"
(path "/5e4b0281-93a3-49ab-a5a7-472966b09c07"
(reference "#PWR01")
(unit 1)
)
)
)
)
(symbol
(lib_id "Test:Test_Symbol_Multiple_GND")
(at 121.92 76.2 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "d8eaf934-6715-43b2-b2f4-46653da95b1c")
(property "Reference" "U1"
(at 122.555 66.04 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "Test_Symbol_Multiple_GND"
(at 122.555 68.58 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 121.92 76.2 0)
(hide yes)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 121.92 76.2 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 121.92 76.2 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(pin "1"
(uuid "77d83cc2-ad36-413b-959e-5200cdfcf65e")
)
(pin "2"
(uuid "863e2415-9bff-4ae8-a11e-0b50c8fdd2cf")
)
(pin "3"
(uuid "6c159536-57cc-4c6a-a6fe-9fa605a2e09a")
)
(instances
(project "ground_pin_test_mixed"
(path "/5e4b0281-93a3-49ab-a5a7-472966b09c07"
(reference "U1")
(unit 1)
)
)
)
)
(sheet_instances
(path "/"
(page "1")
)
)
(embedded_fonts no)
)