diff --git a/tests/board_samples/kicad_6/demorgan.kicad_sch b/tests/board_samples/kicad_6/demorgan.kicad_sch new file mode 100644 index 00000000..dc79239e --- /dev/null +++ b/tests/board_samples/kicad_6/demorgan.kicad_sch @@ -0,0 +1,441 @@ +(kicad_sch (version 20211123) (generator eeschema) + + (uuid 10109f84-4940-47f8-8640-91f185ac9bc1) + + (paper "A4") + + (lib_symbols + (symbol "74xx:74HC00" (pin_names (offset 1.016)) (in_bom yes) (on_board yes) + (property "Reference" "U" (id 0) (at 0 1.27 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "74HC00" (id 1) (at 0 -1.27 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74hc00" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_locked" "" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27))) + ) + (property "ki_keywords" "HCMOS nand 2-input" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "quad 2-input NAND gate" (id 6) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "DIP*W7.62mm* SO14*" (id 7) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "74HC00_1_1" + (arc (start 0 -3.81) (mid 3.81 0) (end 0 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy 0 3.81) + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 0 -3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin input line (at -7.62 2.54 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 -2.54 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + (pin output inverted (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "3" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74HC00_1_2" + (arc (start -3.81 -3.81) (mid -2.589 0) (end -3.81 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (arc (start -0.6096 -3.81) (mid 2.1842 -2.5851) (end 3.81 0) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -3.81 -3.81) + (xy -0.635 -3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -3.81 3.81) + (xy -0.635 3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -0.635 3.81) + (xy -3.81 3.81) + (xy -3.81 3.81) + (xy -3.556 3.4036) + (xy -3.0226 2.2606) + (xy -2.6924 1.0414) + (xy -2.6162 -0.254) + (xy -2.7686 -1.4986) + (xy -3.175 -2.7178) + (xy -3.81 -3.81) + (xy -3.81 -3.81) + (xy -0.635 -3.81) + ) + (stroke (width -25.4) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (arc (start 3.81 0) (mid 2.1915 2.5936) (end -0.6096 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin input inverted (at -7.62 2.54 0) (length 4.318) + (name "~" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin input inverted (at -7.62 -2.54 0) (length 4.318) + (name "~" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "3" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74HC00_2_1" + (arc (start 0 -3.81) (mid 3.81 0) (end 0 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy 0 3.81) + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 0 -3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin input line (at -7.62 2.54 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "4" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 -2.54 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "5" (effects (font (size 1.27 1.27)))) + ) + (pin output inverted (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "6" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74HC00_2_2" + (arc (start -3.81 -3.81) (mid -2.589 0) (end -3.81 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (arc (start -0.6096 -3.81) (mid 2.1842 -2.5851) (end 3.81 0) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -3.81 -3.81) + (xy -0.635 -3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -3.81 3.81) + (xy -0.635 3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -0.635 3.81) + (xy -3.81 3.81) + (xy -3.81 3.81) + (xy -3.556 3.4036) + (xy -3.0226 2.2606) + (xy -2.6924 1.0414) + (xy -2.6162 -0.254) + (xy -2.7686 -1.4986) + (xy -3.175 -2.7178) + (xy -3.81 -3.81) + (xy -3.81 -3.81) + (xy -0.635 -3.81) + ) + (stroke (width -25.4) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (arc (start 3.81 0) (mid 2.1915 2.5936) (end -0.6096 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin input inverted (at -7.62 2.54 0) (length 4.318) + (name "~" (effects (font (size 1.27 1.27)))) + (number "4" (effects (font (size 1.27 1.27)))) + ) + (pin input inverted (at -7.62 -2.54 0) (length 4.318) + (name "~" (effects (font (size 1.27 1.27)))) + (number "5" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "6" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74HC00_3_1" + (arc (start 0 -3.81) (mid 3.81 0) (end 0 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy 0 3.81) + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 0 -3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin input line (at -7.62 -2.54 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "10" (effects (font (size 1.27 1.27)))) + ) + (pin output inverted (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "8" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 2.54 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "9" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74HC00_3_2" + (arc (start -3.81 -3.81) (mid -2.589 0) (end -3.81 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (arc (start -0.6096 -3.81) (mid 2.1842 -2.5851) (end 3.81 0) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -3.81 -3.81) + (xy -0.635 -3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -3.81 3.81) + (xy -0.635 3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -0.635 3.81) + (xy -3.81 3.81) + (xy -3.81 3.81) + (xy -3.556 3.4036) + (xy -3.0226 2.2606) + (xy -2.6924 1.0414) + (xy -2.6162 -0.254) + (xy -2.7686 -1.4986) + (xy -3.175 -2.7178) + (xy -3.81 -3.81) + (xy -3.81 -3.81) + (xy -0.635 -3.81) + ) + (stroke (width -25.4) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (arc (start 3.81 0) (mid 2.1915 2.5936) (end -0.6096 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin input inverted (at -7.62 -2.54 0) (length 4.318) + (name "~" (effects (font (size 1.27 1.27)))) + (number "10" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "8" (effects (font (size 1.27 1.27)))) + ) + (pin input inverted (at -7.62 2.54 0) (length 4.318) + (name "~" (effects (font (size 1.27 1.27)))) + (number "9" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74HC00_4_1" + (arc (start 0 -3.81) (mid 3.81 0) (end 0 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy 0 3.81) + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 0 -3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin output inverted (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "11" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 2.54 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "12" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 -2.54 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "13" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74HC00_4_2" + (arc (start -3.81 -3.81) (mid -2.589 0) (end -3.81 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (arc (start -0.6096 -3.81) (mid 2.1842 -2.5851) (end 3.81 0) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -3.81 -3.81) + (xy -0.635 -3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -3.81 3.81) + (xy -0.635 3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -0.635 3.81) + (xy -3.81 3.81) + (xy -3.81 3.81) + (xy -3.556 3.4036) + (xy -3.0226 2.2606) + (xy -2.6924 1.0414) + (xy -2.6162 -0.254) + (xy -2.7686 -1.4986) + (xy -3.175 -2.7178) + (xy -3.81 -3.81) + (xy -3.81 -3.81) + (xy -0.635 -3.81) + ) + (stroke (width -25.4) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (arc (start 3.81 0) (mid 2.1915 2.5936) (end -0.6096 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin output line (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "11" (effects (font (size 1.27 1.27)))) + ) + (pin input inverted (at -7.62 2.54 0) (length 4.318) + (name "~" (effects (font (size 1.27 1.27)))) + (number "12" (effects (font (size 1.27 1.27)))) + ) + (pin input inverted (at -7.62 -2.54 0) (length 4.318) + (name "~" (effects (font (size 1.27 1.27)))) + (number "13" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74HC00_5_0" + (pin power_in line (at 0 12.7 270) (length 5.08) + (name "VCC" (effects (font (size 1.27 1.27)))) + (number "14" (effects (font (size 1.27 1.27)))) + ) + (pin power_in line (at 0 -12.7 90) (length 5.08) + (name "GND" (effects (font (size 1.27 1.27)))) + (number "7" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74HC00_5_1" + (rectangle (start -5.08 7.62) (end 5.08 -7.62) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + ) + ) + ) + + + (symbol (lib_id "74xx:74HC00") (at 147.32 91.44 0) (unit 1) (convert 2) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 8c6a821f-8e19-48f3-8f44-9b340f7689bc) + (property "Reference" "U?" (id 0) (at 147.32 83.9302 0)) + (property "Value" "" (id 1) (at 147.32 86.4671 0)) + (property "Footprint" "" (id 2) (at 147.32 91.44 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74hc00" (id 3) (at 147.32 91.44 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 4780a290-d25c-4459-9579-eba3f7678762)) + (pin "2" (uuid df68c26a-03b5-4466-aecf-ba34b7dce6b7)) + (pin "3" (uuid babeabf2-f3b0-4ed5-8d9e-0215947e6cf3)) + (pin "4" (uuid e8c50f1b-c316-4110-9cce-5c24c65a1eaa)) + (pin "5" (uuid d7269d2a-b8c0-422d-8f25-f79ea31bf75e)) + (pin "6" (uuid aca4de92-9c41-4c2b-9afa-540d02dafa1c)) + (pin "10" (uuid c43663ee-9a0d-4f27-a292-89ba89964065)) + (pin "8" (uuid c830e3bc-dc64-4f65-8f47-3b106bae2807)) + (pin "9" (uuid 25d545dc-8f50-4573-922c-35ef5a2a3a19)) + (pin "11" (uuid 1e8701fc-ad24-40ea-846a-e3db538d6077)) + (pin "12" (uuid d5641ac9-9be7-46bf-90b3-6c83d852b5ba)) + (pin "13" (uuid c25a772d-af9c-4ebc-96f6-0966738c13a8)) + (pin "14" (uuid 8c514922-ffe1-4e37-a260-e807409f2e0d)) + (pin "7" (uuid 40976bf0-19de-460f-ad64-224d4f51e16b)) + ) + + (sheet_instances + (path "/" (page "1")) + ) + + (symbol_instances + (path "/8c6a821f-8e19-48f3-8f44-9b340f7689bc" + (reference "U?") (unit 1) (value "74HC00") (footprint "") + ) + ) +)