diff --git a/qa/data/eeschema/issue12814.kicad_pro b/qa/data/eeschema/issue12814.kicad_pro new file mode 100644 index 0000000000..1acd2884f4 --- /dev/null +++ b/qa/data/eeschema/issue12814.kicad_pro @@ -0,0 +1,407 @@ +{ + "board": { + "3dviewports": [], + "design_settings": { + "defaults": { + "board_outline_line_width": 0.1, + "copper_line_width": 0.2, + "copper_text_size_h": 1.5, + "copper_text_size_v": 1.5, + "copper_text_thickness": 0.3, + "other_line_width": 0.15, + "silk_line_width": 0.15, + "silk_text_size_h": 1.0, + "silk_text_size_v": 1.0, + "silk_text_thickness": 0.15 + }, + "diff_pair_dimensions": [], + "drc_exclusions": [], + "rules": { + "min_copper_edge_clearance": 0.0, + "solder_mask_clearance": 0.0, + "solder_mask_min_width": 0.0 + }, + "track_widths": [], + "via_dimensions": [] + }, + "layer_presets": [], + "viewports": [] + }, + "boards": [], + "cvpcb": { + "equivalence_files": [] + }, + "erc": { + "erc_exclusions": [], + "meta": { + "version": 0 + }, + "pin_map": [ + [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 2 + ], + [ + 0, + 2, + 0, + 1, + 0, + 0, + 1, + 0, + 2, + 2, + 2, + 2 + ], + [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 0, + 1, + 2 + ], + [ + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 2, + 1, + 1, + 2 + ], + [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 2 + ], + [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 2 + ], + [ + 1, + 1, + 1, + 1, + 1, + 0, + 1, + 1, + 1, + 1, + 1, + 2 + ], + [ + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 2 + ], + [ + 0, + 2, + 1, + 2, + 0, + 0, + 1, + 0, + 2, + 2, + 2, + 2 + ], + [ + 0, + 2, + 0, + 1, + 0, + 0, + 1, + 0, + 2, + 0, + 0, + 2 + ], + [ + 0, + 2, + 1, + 1, + 0, + 0, + 1, + 0, + 2, + 0, + 0, + 2 + ], + [ + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2 + ] + ], + "rule_severities": { + "bus_definition_conflict": "error", + "bus_entry_needed": "error", + "bus_to_bus_conflict": "error", + "bus_to_net_conflict": "error", + "conflicting_netclasses": "error", + "different_unit_footprint": "error", + "different_unit_net": "error", + "duplicate_reference": "error", + "duplicate_sheet_names": "error", + "endpoint_off_grid": "warning", + "extra_units": "error", + "global_label_dangling": "warning", + "hier_label_mismatch": "error", + "label_dangling": "error", + "lib_symbol_issues": "warning", + "missing_bidi_pin": "warning", + "missing_input_pin": "warning", + "missing_power_pin": "error", + "missing_unit": "warning", + "multiple_net_names": "warning", + "net_not_bus_member": "warning", + "no_connect_connected": "warning", + "no_connect_dangling": "warning", + "pin_not_connected": "error", + "pin_not_driven": "error", + "pin_to_pin": "warning", + "power_pin_not_driven": "error", + "similar_labels": "warning", + "simulation_model_issue": "ignore", + "unannotated": "error", + "unit_value_mismatch": "error", + "unresolved_variable": "error", + "wire_dangling": "error" + } + }, + "libraries": { + "pinned_footprint_libs": [], + "pinned_symbol_libs": [] + }, + "meta": { + "filename": "issue12814.kicad_pro", + "version": 1 + }, + "net_settings": { + "classes": [ + { + "bus_width": 12, + "clearance": 0.2, + "diff_pair_gap": 0.25, + "diff_pair_via_gap": 0.25, + "diff_pair_width": 0.2, + "line_style": 0, + "microvia_diameter": 0.3, + "microvia_drill": 0.1, + "name": "Default", + "pcb_color": "rgba(0, 0, 0, 0.000)", + "schematic_color": "rgba(0, 0, 0, 0.000)", + "track_width": 0.25, + "via_diameter": 0.8, + "via_drill": 0.4, + "wire_width": 6 + } + ], + "meta": { + "version": 3 + }, + "net_colors": null, + "netclass_assignments": null, + "netclass_patterns": [] + }, + "pcbnew": { + "last_paths": { + "gencad": "", + "idf": "", + "netlist": "", + "plot": "", + "pos_files": "", + "specctra_dsn": "", + "step": "", + "svg": "", + "vrml": "" + }, + "page_layout_descr_file": "" + }, + "schematic": { + "annotate_start_num": 0, + "bom_fmt_presets": [], + "bom_fmt_settings": { + "field_delimiter": ",", + "keep_line_breaks": false, + "keep_tabs": false, + "name": "CSV", + "ref_delimiter": ",", + "ref_range_delimiter": "", + "string_delimiter": "\"" + }, + "bom_presets": [], + "bom_settings": { + "exclude_dnp": false, + "fields_ordered": [ + { + "group_by": false, + "label": "Reference", + "name": "Reference", + "show": true + }, + { + "group_by": true, + "label": "Value", + "name": "Value", + "show": true + }, + { + "group_by": false, + "label": "Datasheet", + "name": "Datasheet", + "show": true + }, + { + "group_by": false, + "label": "Footprint", + "name": "Footprint", + "show": true + }, + { + "group_by": false, + "label": "Qty", + "name": "${QUANTITY}", + "show": true + }, + { + "group_by": true, + "label": "DNP", + "name": "${DNP}", + "show": true + } + ], + "filter_string": "", + "group_symbols": true, + "name": "Grouped By Value", + "sort_asc": true, + "sort_field": "Reference" + }, + "connection_grid_size": 50.0, + "drawing": { + "dashed_lines_dash_length_ratio": 12.0, + "dashed_lines_gap_length_ratio": 3.0, + "default_line_thickness": 6.0, + "default_text_size": 50.0, + "field_names": [], + "intersheets_ref_own_page": false, + "intersheets_ref_prefix": "", + "intersheets_ref_short": false, + "intersheets_ref_show": false, + "intersheets_ref_suffix": "", + "junction_size_choice": 3, + "label_size_ratio": 0.375, + "operating_point_overlay_i_precision": 3, + "operating_point_overlay_i_range": "~A", + "operating_point_overlay_v_precision": 3, + "operating_point_overlay_v_range": "~V", + "overbar_offset_ratio": 1.23, + "pin_symbol_size": 25.0, + "text_offset_ratio": 0.15 + }, + "legacy_lib_dir": "", + "legacy_lib_list": [], + "meta": { + "version": 1 + }, + "net_format_name": "", + "page_layout_descr_file": "", + "plot_directory": "", + "spice_current_sheet_as_root": false, + "spice_external_command": "spice \"%I\"", + "spice_model_current_sheet_as_root": true, + "spice_save_all_currents": false, + "spice_save_all_dissipations": false, + "spice_save_all_voltages": false, + "subpart_first_id": 65, + "subpart_id_separator": 0 + }, + "sheets": [ + [ + "9d9c2574-56a3-45db-8021-2a92a85311b1", + "" + ], + [ + "9a030759-73ea-44ba-bd5b-ba78c58ff624", + "Drive" + ], + [ + "fd81cd4d-ed06-4c80-bc4c-cba1d4bc410f", + "Usage" + ] + ], + "text_variables": {} +} diff --git a/qa/data/eeschema/issue12814.kicad_sch b/qa/data/eeschema/issue12814.kicad_sch new file mode 100644 index 0000000000..caa32e2e81 --- /dev/null +++ b/qa/data/eeschema/issue12814.kicad_sch @@ -0,0 +1,61 @@ +(kicad_sch (version 20230819) (generator eeschema) + + (uuid 9d9c2574-56a3-45db-8021-2a92a85311b1) + + (paper "A4") + + (lib_symbols + ) + + + (bus (pts (xy 116.84 66.04) (xy 129.54 66.04)) + (stroke (width 0) (type default)) + (uuid 81974d25-c0e9-441c-bc85-27ea024c7251) + ) + + (sheet (at 76.2 54.61) (size 40.64 31.75) (fields_autoplaced) + (stroke (width 0.1524) (type solid)) + (fill (color 0 0 0 0.0000)) + (uuid 9a030759-73ea-44ba-bd5b-ba78c58ff624) + (property "Sheetname" "Drive" (at 76.2 53.8984 0) + (effects (font (size 1.27 1.27)) (justify left bottom)) + ) + (property "Sheetfile" "issue12814_1.kicad_sch" (at 76.2 86.9446 0) + (effects (font (size 1.27 1.27)) (justify left top)) + ) + (pin "A[0..2]" input (at 116.84 66.04 0) + (effects (font (size 1.27 1.27)) (justify right)) + (uuid 13a18ea9-dc2c-4521-84c7-cc78685d285c) + ) + (instances + (project "issue12814" + (path "/9d9c2574-56a3-45db-8021-2a92a85311b1" (page "2")) + ) + ) + ) + + (sheet (at 129.54 54.61) (size 43.18 31.75) (fields_autoplaced) + (stroke (width 0.1524) (type solid)) + (fill (color 0 0 0 0.0000)) + (uuid fd81cd4d-ed06-4c80-bc4c-cba1d4bc410f) + (property "Sheetname" "Usage" (at 129.54 53.8984 0) + (effects (font (size 1.27 1.27)) (justify left bottom)) + ) + (property "Sheetfile" "issue12814_2.kicad_sch" (at 129.54 86.9446 0) + (effects (font (size 1.27 1.27)) (justify left top)) + ) + (pin "A[0..2]" input (at 129.54 66.04 180) + (effects (font (size 1.27 1.27)) (justify left)) + (uuid 2ffe2f66-5971-469c-921b-edb737430ec5) + ) + (instances + (project "issue12814" + (path "/9d9c2574-56a3-45db-8021-2a92a85311b1" (page "3")) + ) + ) + ) + + (sheet_instances + (path "/" (page "1")) + ) +) diff --git a/qa/data/eeschema/issue12814_1.kicad_sch b/qa/data/eeschema/issue12814_1.kicad_sch new file mode 100644 index 0000000000..ee49d92cb0 --- /dev/null +++ b/qa/data/eeschema/issue12814_1.kicad_sch @@ -0,0 +1,870 @@ +(kicad_sch (version 20230819) (generator eeschema) + + (uuid 9b5b563f-9a65-45a4-bd13-26fa936a7866) + + (paper "A4") + + (lib_symbols + (symbol "74xx:74LS04" (exclude_from_sim no) (in_bom yes) (on_board yes) + (property "Reference" "U" (at 0 1.27 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "74LS04" (at 0 -1.27 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS04" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Hex Inverter" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_locked" "" (at 0 0 0) + (effects (font (size 1.27 1.27))) + ) + (property "ki_keywords" "TTL not inv" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "DIP*W7.62mm* SSOP?14* TSSOP?14*" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "74LS04_1_0" + (polyline + (pts + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 3.81 0) + (xy -3.81 3.81) + ) + (stroke (width 0.254) (type default)) + (fill (type background)) + ) + (pin input line (at -7.62 0 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "1" (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 "2" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS04_2_0" + (polyline + (pts + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 3.81 0) + (xy -3.81 3.81) + ) + (stroke (width 0.254) (type default)) + (fill (type background)) + ) + (pin input line (at -7.62 0 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "3" (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 "4" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS04_3_0" + (polyline + (pts + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 3.81 0) + (xy -3.81 3.81) + ) + (stroke (width 0.254) (type default)) + (fill (type background)) + ) + (pin input line (at -7.62 0 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 "74LS04_4_0" + (polyline + (pts + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 3.81 0) + (xy -3.81 3.81) + ) + (stroke (width 0.254) (type default)) + (fill (type background)) + ) + (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 0 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "9" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS04_5_0" + (polyline + (pts + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 3.81 0) + (xy -3.81 3.81) + ) + (stroke (width 0.254) (type default)) + (fill (type background)) + ) + (pin output inverted (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "10" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 0 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "11" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS04_6_0" + (polyline + (pts + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 3.81 0) + (xy -3.81 3.81) + ) + (stroke (width 0.254) (type default)) + (fill (type background)) + ) + (pin output inverted (at 7.62 0 180) (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 0 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "13" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS04_7_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 "74LS04_7_1" + (rectangle (start -5.08 7.62) (end 5.08 -7.62) + (stroke (width 0.254) (type default)) + (fill (type background)) + ) + ) + ) + (symbol "power:GND" (power) (pin_names (offset 0)) (exclude_from_sim no) (in_bom yes) (on_board yes) + (property "Reference" "#PWR" (at 0 -6.35 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (at 0 -3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Power symbol creates a global label with name \"GND\" , ground" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "global power" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (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 + (name "GND" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + ) + ) + (symbol "power:PWR_FLAG" (power) (pin_numbers hide) (pin_names (offset 0) hide) (exclude_from_sim no) (in_bom yes) (on_board yes) + (property "Reference" "#FLG" (at 0 1.905 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "PWR_FLAG" (at 0 3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Special symbol for telling ERC where power comes from" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "flag power" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "PWR_FLAG_0_0" + (pin power_out line (at 0 0 90) (length 0) + (name "pwr" (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)) + ) + ) + ) + (symbol "power:VCC" (power) (pin_names (offset 0)) (exclude_from_sim no) (in_bom yes) (on_board yes) + (property "Reference" "#PWR" (at 0 -3.81 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "VCC" (at 0 3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Power symbol creates a global label with name \"VCC\"" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "global power" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "VCC_0_1" + (polyline + (pts + (xy -0.762 1.27) + (xy 0 2.54) + ) + (stroke (width 0) (type default)) + (fill (type none)) + ) + (polyline + (pts + (xy 0 0) + (xy 0 2.54) + ) + (stroke (width 0) (type default)) + (fill (type none)) + ) + (polyline + (pts + (xy 0 2.54) + (xy 0.762 1.27) + ) + (stroke (width 0) (type default)) + (fill (type none)) + ) + ) + (symbol "VCC_1_1" + (pin power_in line (at 0 0 90) (length 0) hide + (name "VCC" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + ) + ) + ) + + (junction (at 74.93 92.71) (diameter 0) (color 0 0 0 0) + (uuid 1d7eaedf-f2fd-4620-bf09-d91463bc7f99) + ) + (junction (at 132.08 50.8) (diameter 0) (color 0 0 0 0) + (uuid 60b12172-0481-4957-b530-cc38cb78adba) + ) + (junction (at 74.93 77.47) (diameter 0) (color 0 0 0 0) + (uuid c5a90bcd-b93e-40f4-9f93-b60e27ea24ea) + ) + + (no_connect (at 160.02 67.31) (uuid 767378b8-c690-4478-bc31-24bb5a058267)) + (no_connect (at 161.29 115.57) (uuid aa47c636-cc96-4050-80ff-811afc7761b6)) + (no_connect (at 146.05 97.79) (uuid e965f501-7dba-4fe2-8249-b905a47acb1b)) + (no_connect (at 161.29 97.79) (uuid ed9d0500-9de7-4d41-a021-cd5e724d8050)) + (no_connect (at 146.05 115.57) (uuid fb6bc6e8-9921-45f3-ac09-5139ca2ac8d8)) + + (bus_entry (at 132.08 64.77) (size 2.54 2.54) + (stroke (width 0) (type default)) + (uuid 19ce8034-4c43-4d30-af52-54e3cf092163) + ) + (bus_entry (at 116.84 90.17) (size -2.54 2.54) + (stroke (width 0) (type default)) + (uuid 2633b096-bbb6-4aaf-9407-bfbae07980b1) + ) + (bus_entry (at 116.84 74.93) (size -2.54 2.54) + (stroke (width 0) (type default)) + (uuid 37f5f11e-6a5e-4958-9fb3-fc27fd0532b3) + ) + (bus_entry (at 116.84 58.42) (size -2.54 2.54) + (stroke (width 0) (type default)) + (uuid f0258d63-e178-46d3-ae7d-d77085318a42) + ) + + (wire (pts (xy 74.93 77.47) (xy 74.93 92.71)) + (stroke (width 0) (type default)) + (uuid 09d344f1-e4b7-4820-86d8-9887cdbe6f04) + ) + (wire (pts (xy 40.64 39.37) (xy 40.64 41.91)) + (stroke (width 0) (type default)) + (uuid 0a1434db-f6e0-4246-aea6-5c01c74c289b) + ) + (wire (pts (xy 74.93 77.47) (xy 83.82 77.47)) + (stroke (width 0) (type default)) + (uuid 132002f0-1119-4e9a-b582-40338f1b04bc) + ) + (bus (pts (xy 116.84 74.93) (xy 116.84 90.17)) + (stroke (width 0) (type default)) + (uuid 3248be55-610b-447e-967e-2420e1c6ede0) + ) + (bus (pts (xy 116.84 50.8) (xy 116.84 58.42)) + (stroke (width 0) (type default)) + (uuid 3b97b615-e288-41d9-8a22-c95c0d9a3f3d) + ) + + (wire (pts (xy 99.06 92.71) (xy 114.3 92.71)) + (stroke (width 0) (type default)) + (uuid 422aba9f-9f94-4e35-b9d6-54763beb5826) + ) + (wire (pts (xy 74.93 77.47) (xy 74.93 60.96)) + (stroke (width 0) (type default)) + (uuid 4b6216a0-1a59-4df2-bb2e-b59719007a70) + ) + (wire (pts (xy 74.93 60.96) (xy 83.82 60.96)) + (stroke (width 0) (type default)) + (uuid 5604a960-d8f7-42df-8b9d-229efafdab13) + ) + (wire (pts (xy 134.62 67.31) (xy 144.78 67.31)) + (stroke (width 0) (type default)) + (uuid 6406faa7-9dc2-403e-aca7-26a15db0f7dd) + ) + (wire (pts (xy 34.29 41.91) (xy 40.64 41.91)) + (stroke (width 0) (type default)) + (uuid 6d23027b-b44a-469c-b58d-bfe8a337e69d) + ) + (bus (pts (xy 146.05 50.8) (xy 132.08 50.8)) + (stroke (width 0) (type default)) + (uuid 88a192ca-ab83-4688-ad47-d2134b92622b) + ) + + (wire (pts (xy 74.93 92.71) (xy 83.82 92.71)) + (stroke (width 0) (type default)) + (uuid 8b489e98-4117-4bc2-a424-1e1d7036b77d) + ) + (wire (pts (xy 99.06 60.96) (xy 114.3 60.96)) + (stroke (width 0) (type default)) + (uuid 91bad57a-c285-46d9-920b-af675b576d08) + ) + (wire (pts (xy 74.93 111.76) (xy 74.93 92.71)) + (stroke (width 0) (type default)) + (uuid a11cfd22-459e-4498-9162-96017c01ef39) + ) + (bus (pts (xy 116.84 58.42) (xy 116.84 74.93)) + (stroke (width 0) (type default)) + (uuid acda6fc9-ae62-4e09-a574-5d1d5b7609e1) + ) + (bus (pts (xy 132.08 50.8) (xy 132.08 64.77)) + (stroke (width 0) (type default)) + (uuid c9839e23-f7e5-447b-ac00-0a33f7880766) + ) + + (wire (pts (xy 99.06 77.47) (xy 114.3 77.47)) + (stroke (width 0) (type default)) + (uuid cdbd78b4-dd51-45b4-8de8-c4d7b26e6211) + ) + (bus (pts (xy 132.08 50.8) (xy 116.84 50.8)) + (stroke (width 0) (type default)) + (uuid d5e75914-aa43-4d40-b2a3-8c165d393c06) + ) + + (wire (pts (xy 34.29 39.37) (xy 34.29 41.91)) + (stroke (width 0) (type default)) + (uuid de738ddd-23b9-4ccd-ba81-c7c2c0ed0481) + ) + + (label "A1" (at 137.16 67.31 0) (fields_autoplaced) + (effects (font (size 1.27 1.27)) (justify left bottom)) + (uuid 1c511da8-162b-423e-8279-7de60167909d) + ) + (label "A0" (at 110.49 60.96 0) (fields_autoplaced) + (effects (font (size 1.27 1.27)) (justify left bottom)) + (uuid 64e7fbb1-bb33-4acd-b206-5ef60a20b5f7) + ) + (label "A2" (at 110.49 92.71 0) (fields_autoplaced) + (effects (font (size 1.27 1.27)) (justify left bottom)) + (uuid 8403f9c5-b908-4e0d-9d92-07f27a88ca61) + ) + (label "A1" (at 109.22 77.47 0) (fields_autoplaced) + (effects (font (size 1.27 1.27)) (justify left bottom)) + (uuid 8a2e03f8-d4c5-4d64-a77e-d7fecc19cc80) + ) + (label "A[0..2]" (at 121.92 50.8 0) (fields_autoplaced) + (effects (font (size 1.27 1.27)) (justify left bottom)) + (uuid c6462877-a542-4946-bbdc-78d808c1e226) + ) + + (hierarchical_label "A[0..2]" (shape input) (at 146.05 50.8 0) (fields_autoplaced) + (effects (font (size 1.27 1.27)) (justify left)) + (uuid 226e1334-3233-446d-88c2-bda0758d56b9) + ) + + (symbol (lib_id "74xx:74LS04") (at 153.67 97.79 0) (unit 5) + (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) + (uuid 0ea882fb-f346-4f1a-9423-dbc47ded0205) + (property "Reference" "U1" (at 153.67 88.9 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "74LS04" (at 153.67 91.44 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 153.67 97.79 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS04" (at 153.67 97.79 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Hex Inverter" (at 153.67 97.79 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "10" (uuid c1f33821-3403-45fc-8c7f-a1267190c022)) + (pin "14" (uuid a2a32bd8-bd96-4398-90f4-03f60fecdf1e)) + (pin "13" (uuid 6ecbf797-b0cf-4d9b-b408-ba1cf1bc468c)) + (pin "7" (uuid 7187399c-ec1f-4221-93b9-b88cd8c196e7)) + (pin "8" (uuid 7deef948-df35-4513-b862-5dc79cd79faf)) + (pin "12" (uuid d2a91e88-ca0f-4ea8-9c4e-fcaa903cd0be)) + (pin "9" (uuid f70acdc8-292b-4505-b5a9-c63f8ce466df)) + (pin "11" (uuid 00b70eba-662c-4e9b-964e-f0698bf0a4b8)) + (pin "6" (uuid 09c06ea4-596c-4eaf-8d5a-84ae89b17747)) + (pin "1" (uuid 6c9b28c1-4316-482a-b44e-aeabf994a3d0)) + (pin "5" (uuid 143666a9-5096-4b45-b7b4-527db59f9ede)) + (pin "3" (uuid c65f4118-eae8-41c1-b515-b96040e5fadf)) + (pin "4" (uuid f3d6f9aa-88a3-4278-99fd-0175e08fffaf)) + (pin "2" (uuid 665df13e-5de5-4a90-a659-c47211d41fb8)) + (instances + (project "issue12814" + (path "/9d9c2574-56a3-45db-8021-2a92a85311b1/9a030759-73ea-44ba-bd5b-ba78c58ff624" + (reference "U1") (unit 5) + ) + ) + ) + ) + + (symbol (lib_id "power:VCC") (at 34.29 39.37 0) (unit 1) + (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) + (uuid 1ff11d6c-adf9-4e61-8d6d-130577837fec) + (property "Reference" "#PWR04" (at 34.29 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "VCC" (at 34.29 34.29 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 34.29 39.37 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (at 34.29 39.37 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Power symbol creates a global label with name \"VCC\"" (at 34.29 39.37 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 1714bf5e-e01d-49c0-98f5-18aaa592189e)) + (instances + (project "issue12814" + (path "/9d9c2574-56a3-45db-8021-2a92a85311b1/9a030759-73ea-44ba-bd5b-ba78c58ff624" + (reference "#PWR04") (unit 1) + ) + ) + ) + ) + + (symbol (lib_id "74xx:74LS04") (at 91.44 92.71 0) (unit 3) + (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) + (uuid 2a1824a7-66ec-44d4-9f04-9c9aecba191e) + (property "Reference" "U1" (at 91.44 83.82 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "74LS04" (at 91.44 86.36 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 91.44 92.71 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS04" (at 91.44 92.71 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Hex Inverter" (at 91.44 92.71 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "10" (uuid c1f33821-3403-45fc-8c7f-a1267190c023)) + (pin "14" (uuid a2a32bd8-bd96-4398-90f4-03f60fecdf1f)) + (pin "13" (uuid 6ecbf797-b0cf-4d9b-b408-ba1cf1bc468d)) + (pin "7" (uuid 7187399c-ec1f-4221-93b9-b88cd8c196e8)) + (pin "8" (uuid 7deef948-df35-4513-b862-5dc79cd79fb0)) + (pin "12" (uuid d2a91e88-ca0f-4ea8-9c4e-fcaa903cd0bf)) + (pin "9" (uuid f70acdc8-292b-4505-b5a9-c63f8ce466e0)) + (pin "11" (uuid 00b70eba-662c-4e9b-964e-f0698bf0a4b9)) + (pin "6" (uuid 09c06ea4-596c-4eaf-8d5a-84ae89b17748)) + (pin "1" (uuid 6c9b28c1-4316-482a-b44e-aeabf994a3d1)) + (pin "5" (uuid 143666a9-5096-4b45-b7b4-527db59f9edf)) + (pin "3" (uuid c65f4118-eae8-41c1-b515-b96040e5fae0)) + (pin "4" (uuid f3d6f9aa-88a3-4278-99fd-0175e08fffb0)) + (pin "2" (uuid 665df13e-5de5-4a90-a659-c47211d41fb9)) + (instances + (project "issue12814" + (path "/9d9c2574-56a3-45db-8021-2a92a85311b1/9a030759-73ea-44ba-bd5b-ba78c58ff624" + (reference "U1") (unit 3) + ) + ) + ) + ) + + (symbol (lib_id "74xx:74LS04") (at 91.44 60.96 0) (unit 1) + (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) + (uuid 48c6b4bb-5021-468f-bb09-6f5323a28cc7) + (property "Reference" "U1" (at 91.44 52.07 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "74LS04" (at 91.44 54.61 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 91.44 60.96 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS04" (at 91.44 60.96 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Hex Inverter" (at 91.44 60.96 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "10" (uuid c1f33821-3403-45fc-8c7f-a1267190c024)) + (pin "14" (uuid a2a32bd8-bd96-4398-90f4-03f60fecdf20)) + (pin "13" (uuid 6ecbf797-b0cf-4d9b-b408-ba1cf1bc468e)) + (pin "7" (uuid 7187399c-ec1f-4221-93b9-b88cd8c196e9)) + (pin "8" (uuid 7deef948-df35-4513-b862-5dc79cd79fb1)) + (pin "12" (uuid d2a91e88-ca0f-4ea8-9c4e-fcaa903cd0c0)) + (pin "9" (uuid f70acdc8-292b-4505-b5a9-c63f8ce466e1)) + (pin "11" (uuid 00b70eba-662c-4e9b-964e-f0698bf0a4ba)) + (pin "6" (uuid 09c06ea4-596c-4eaf-8d5a-84ae89b17749)) + (pin "1" (uuid 6c9b28c1-4316-482a-b44e-aeabf994a3d2)) + (pin "5" (uuid 143666a9-5096-4b45-b7b4-527db59f9ee0)) + (pin "3" (uuid c65f4118-eae8-41c1-b515-b96040e5fae1)) + (pin "4" (uuid f3d6f9aa-88a3-4278-99fd-0175e08fffb1)) + (pin "2" (uuid 665df13e-5de5-4a90-a659-c47211d41fba)) + (instances + (project "issue12814" + (path "/9d9c2574-56a3-45db-8021-2a92a85311b1/9a030759-73ea-44ba-bd5b-ba78c58ff624" + (reference "U1") (unit 1) + ) + ) + ) + ) + + (symbol (lib_id "power:GND") (at 120.65 144.78 0) (unit 1) + (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) + (uuid 626027c6-9e1b-43c2-9464-b518642bcbf6) + (property "Reference" "#PWR02" (at 120.65 151.13 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (at 120.65 149.86 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 120.65 144.78 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (at 120.65 144.78 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Power symbol creates a global label with name \"GND\" , ground" (at 120.65 144.78 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 30044a20-dcf0-43ed-8f5f-ac9d10e6f936)) + (instances + (project "issue12814" + (path "/9d9c2574-56a3-45db-8021-2a92a85311b1/9a030759-73ea-44ba-bd5b-ba78c58ff624" + (reference "#PWR02") (unit 1) + ) + ) + ) + ) + + (symbol (lib_id "74xx:74LS04") (at 152.4 67.31 0) (unit 4) + (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) + (uuid 6d95a234-ea98-490d-9f8f-f05f1063ff01) + (property "Reference" "U1" (at 152.4 58.42 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "74LS04" (at 152.4 60.96 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 152.4 67.31 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS04" (at 152.4 67.31 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Hex Inverter" (at 152.4 67.31 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "10" (uuid c1f33821-3403-45fc-8c7f-a1267190c025)) + (pin "14" (uuid a2a32bd8-bd96-4398-90f4-03f60fecdf21)) + (pin "13" (uuid 6ecbf797-b0cf-4d9b-b408-ba1cf1bc468f)) + (pin "7" (uuid 7187399c-ec1f-4221-93b9-b88cd8c196ea)) + (pin "8" (uuid 7deef948-df35-4513-b862-5dc79cd79fb2)) + (pin "12" (uuid d2a91e88-ca0f-4ea8-9c4e-fcaa903cd0c1)) + (pin "9" (uuid f70acdc8-292b-4505-b5a9-c63f8ce466e2)) + (pin "11" (uuid 00b70eba-662c-4e9b-964e-f0698bf0a4bb)) + (pin "6" (uuid 09c06ea4-596c-4eaf-8d5a-84ae89b1774a)) + (pin "1" (uuid 6c9b28c1-4316-482a-b44e-aeabf994a3d3)) + (pin "5" (uuid 143666a9-5096-4b45-b7b4-527db59f9ee1)) + (pin "3" (uuid c65f4118-eae8-41c1-b515-b96040e5fae2)) + (pin "4" (uuid f3d6f9aa-88a3-4278-99fd-0175e08fffb2)) + (pin "2" (uuid 665df13e-5de5-4a90-a659-c47211d41fbb)) + (instances + (project "issue12814" + (path "/9d9c2574-56a3-45db-8021-2a92a85311b1/9a030759-73ea-44ba-bd5b-ba78c58ff624" + (reference "U1") (unit 4) + ) + ) + ) + ) + + (symbol (lib_id "power:VCC") (at 120.65 119.38 0) (unit 1) + (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) + (uuid 89a482f5-b70a-4372-bd8e-0af65e503bab) + (property "Reference" "#PWR01" (at 120.65 123.19 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "VCC" (at 120.65 114.3 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 120.65 119.38 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (at 120.65 119.38 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Power symbol creates a global label with name \"VCC\"" (at 120.65 119.38 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid b1f5fcf1-38e0-4b02-8bce-0d4ca37597f4)) + (instances + (project "issue12814" + (path "/9d9c2574-56a3-45db-8021-2a92a85311b1/9a030759-73ea-44ba-bd5b-ba78c58ff624" + (reference "#PWR01") (unit 1) + ) + ) + ) + ) + + (symbol (lib_id "74xx:74LS04") (at 153.67 115.57 0) (unit 6) + (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) + (uuid 8c2c5fc0-d74a-41eb-bbbf-dfd62553e61b) + (property "Reference" "U1" (at 153.67 106.68 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "74LS04" (at 153.67 109.22 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 153.67 115.57 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS04" (at 153.67 115.57 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Hex Inverter" (at 153.67 115.57 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "10" (uuid c1f33821-3403-45fc-8c7f-a1267190c026)) + (pin "14" (uuid a2a32bd8-bd96-4398-90f4-03f60fecdf22)) + (pin "13" (uuid 6ecbf797-b0cf-4d9b-b408-ba1cf1bc4690)) + (pin "7" (uuid 7187399c-ec1f-4221-93b9-b88cd8c196eb)) + (pin "8" (uuid 7deef948-df35-4513-b862-5dc79cd79fb3)) + (pin "12" (uuid d2a91e88-ca0f-4ea8-9c4e-fcaa903cd0c2)) + (pin "9" (uuid f70acdc8-292b-4505-b5a9-c63f8ce466e3)) + (pin "11" (uuid 00b70eba-662c-4e9b-964e-f0698bf0a4bc)) + (pin "6" (uuid 09c06ea4-596c-4eaf-8d5a-84ae89b1774b)) + (pin "1" (uuid 6c9b28c1-4316-482a-b44e-aeabf994a3d4)) + (pin "5" (uuid 143666a9-5096-4b45-b7b4-527db59f9ee2)) + (pin "3" (uuid c65f4118-eae8-41c1-b515-b96040e5fae3)) + (pin "4" (uuid f3d6f9aa-88a3-4278-99fd-0175e08fffb3)) + (pin "2" (uuid 665df13e-5de5-4a90-a659-c47211d41fbc)) + (instances + (project "issue12814" + (path "/9d9c2574-56a3-45db-8021-2a92a85311b1/9a030759-73ea-44ba-bd5b-ba78c58ff624" + (reference "U1") (unit 6) + ) + ) + ) + ) + + (symbol (lib_id "74xx:74LS04") (at 91.44 77.47 0) (unit 2) + (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) + (uuid 9026d633-b610-4235-b62a-980af41b1676) + (property "Reference" "U1" (at 91.44 68.58 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "74LS04" (at 91.44 71.12 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 91.44 77.47 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS04" (at 91.44 77.47 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Hex Inverter" (at 91.44 77.47 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "10" (uuid c1f33821-3403-45fc-8c7f-a1267190c027)) + (pin "14" (uuid a2a32bd8-bd96-4398-90f4-03f60fecdf23)) + (pin "13" (uuid 6ecbf797-b0cf-4d9b-b408-ba1cf1bc4691)) + (pin "7" (uuid 7187399c-ec1f-4221-93b9-b88cd8c196ec)) + (pin "8" (uuid 7deef948-df35-4513-b862-5dc79cd79fb4)) + (pin "12" (uuid d2a91e88-ca0f-4ea8-9c4e-fcaa903cd0c3)) + (pin "9" (uuid f70acdc8-292b-4505-b5a9-c63f8ce466e4)) + (pin "11" (uuid 00b70eba-662c-4e9b-964e-f0698bf0a4bd)) + (pin "6" (uuid 09c06ea4-596c-4eaf-8d5a-84ae89b1774c)) + (pin "1" (uuid 6c9b28c1-4316-482a-b44e-aeabf994a3d5)) + (pin "5" (uuid 143666a9-5096-4b45-b7b4-527db59f9ee3)) + (pin "3" (uuid c65f4118-eae8-41c1-b515-b96040e5fae4)) + (pin "4" (uuid f3d6f9aa-88a3-4278-99fd-0175e08fffb4)) + (pin "2" (uuid 665df13e-5de5-4a90-a659-c47211d41fbd)) + (instances + (project "issue12814" + (path "/9d9c2574-56a3-45db-8021-2a92a85311b1/9a030759-73ea-44ba-bd5b-ba78c58ff624" + (reference "U1") (unit 2) + ) + ) + ) + ) + + (symbol (lib_id "74xx:74LS04") (at 120.65 132.08 0) (unit 7) + (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) + (uuid b0203b05-f01b-416d-bf2e-36daa92850be) + (property "Reference" "U1" (at 127 130.8099 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "74LS04" (at 127 133.3499 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Footprint" "" (at 120.65 132.08 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS04" (at 120.65 132.08 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Hex Inverter" (at 120.65 132.08 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "10" (uuid c1f33821-3403-45fc-8c7f-a1267190c028)) + (pin "14" (uuid a2a32bd8-bd96-4398-90f4-03f60fecdf24)) + (pin "13" (uuid 6ecbf797-b0cf-4d9b-b408-ba1cf1bc4692)) + (pin "7" (uuid 7187399c-ec1f-4221-93b9-b88cd8c196ed)) + (pin "8" (uuid 7deef948-df35-4513-b862-5dc79cd79fb5)) + (pin "12" (uuid d2a91e88-ca0f-4ea8-9c4e-fcaa903cd0c4)) + (pin "9" (uuid f70acdc8-292b-4505-b5a9-c63f8ce466e5)) + (pin "11" (uuid 00b70eba-662c-4e9b-964e-f0698bf0a4be)) + (pin "6" (uuid 09c06ea4-596c-4eaf-8d5a-84ae89b1774d)) + (pin "1" (uuid 6c9b28c1-4316-482a-b44e-aeabf994a3d6)) + (pin "5" (uuid 143666a9-5096-4b45-b7b4-527db59f9ee4)) + (pin "3" (uuid c65f4118-eae8-41c1-b515-b96040e5fae5)) + (pin "4" (uuid f3d6f9aa-88a3-4278-99fd-0175e08fffb5)) + (pin "2" (uuid 665df13e-5de5-4a90-a659-c47211d41fbe)) + (instances + (project "issue12814" + (path "/9d9c2574-56a3-45db-8021-2a92a85311b1/9a030759-73ea-44ba-bd5b-ba78c58ff624" + (reference "U1") (unit 7) + ) + ) + ) + ) + + (symbol (lib_id "power:GND") (at 74.93 111.76 0) (unit 1) + (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) + (uuid d1f5ebbc-9601-4409-8a39-0fadb71aa308) + (property "Reference" "#PWR03" (at 74.93 118.11 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (at 74.93 116.84 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 74.93 111.76 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (at 74.93 111.76 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Power symbol creates a global label with name \"GND\" , ground" (at 74.93 111.76 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid b2ba16b0-1280-40e4-8067-362fb8a569bd)) + (instances + (project "issue12814" + (path "/9d9c2574-56a3-45db-8021-2a92a85311b1/9a030759-73ea-44ba-bd5b-ba78c58ff624" + (reference "#PWR03") (unit 1) + ) + ) + ) + ) + + (symbol (lib_id "power:PWR_FLAG") (at 40.64 39.37 0) (unit 1) + (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) + (uuid dc0c64af-8040-4c41-af31-19a1958b2c74) + (property "Reference" "#FLG01" (at 40.64 37.465 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "PWR_FLAG" (at 40.64 34.29 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 40.64 39.37 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (at 40.64 39.37 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Special symbol for telling ERC where power comes from" (at 40.64 39.37 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid b993dd80-b604-4ca1-b6d2-a36f23ee8fcf)) + (instances + (project "issue12814" + (path "/9d9c2574-56a3-45db-8021-2a92a85311b1/9a030759-73ea-44ba-bd5b-ba78c58ff624" + (reference "#FLG01") (unit 1) + ) + ) + ) + ) +) diff --git a/qa/data/eeschema/issue12814_2.kicad_sch b/qa/data/eeschema/issue12814_2.kicad_sch new file mode 100644 index 0000000000..4248448c35 --- /dev/null +++ b/qa/data/eeschema/issue12814_2.kicad_sch @@ -0,0 +1,475 @@ +(kicad_sch (version 20230819) (generator eeschema) + + (uuid 6872e4bc-16cd-41ca-a040-4bec79014681) + + (paper "A4") + + (lib_symbols + (symbol "74xx:74LS138" (pin_names (offset 1.016)) (exclude_from_sim no) (in_bom yes) (on_board yes) + (property "Reference" "U" (at -7.62 11.43 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "74LS138" (at -7.62 -13.97 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS138" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Decoder 3 to 8 active low outputs" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_locked" "" (at 0 0 0) + (effects (font (size 1.27 1.27))) + ) + (property "ki_keywords" "TTL DECOD DECOD8" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "DIP?16*" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "74LS138_1_0" + (pin input line (at -12.7 7.62 0) (length 5.08) + (name "A0" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin output output_low (at 12.7 -5.08 180) (length 5.08) + (name "O5" (effects (font (size 1.27 1.27)))) + (number "10" (effects (font (size 1.27 1.27)))) + ) + (pin output output_low (at 12.7 -2.54 180) (length 5.08) + (name "O4" (effects (font (size 1.27 1.27)))) + (number "11" (effects (font (size 1.27 1.27)))) + ) + (pin output output_low (at 12.7 0 180) (length 5.08) + (name "O3" (effects (font (size 1.27 1.27)))) + (number "12" (effects (font (size 1.27 1.27)))) + ) + (pin output output_low (at 12.7 2.54 180) (length 5.08) + (name "O2" (effects (font (size 1.27 1.27)))) + (number "13" (effects (font (size 1.27 1.27)))) + ) + (pin output output_low (at 12.7 5.08 180) (length 5.08) + (name "O1" (effects (font (size 1.27 1.27)))) + (number "14" (effects (font (size 1.27 1.27)))) + ) + (pin output output_low (at 12.7 7.62 180) (length 5.08) + (name "O0" (effects (font (size 1.27 1.27)))) + (number "15" (effects (font (size 1.27 1.27)))) + ) + (pin power_in line (at 0 15.24 270) (length 5.08) + (name "VCC" (effects (font (size 1.27 1.27)))) + (number "16" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -12.7 5.08 0) (length 5.08) + (name "A1" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -12.7 2.54 0) (length 5.08) + (name "A2" (effects (font (size 1.27 1.27)))) + (number "3" (effects (font (size 1.27 1.27)))) + ) + (pin input input_low (at -12.7 -10.16 0) (length 5.08) + (name "E1" (effects (font (size 1.27 1.27)))) + (number "4" (effects (font (size 1.27 1.27)))) + ) + (pin input input_low (at -12.7 -7.62 0) (length 5.08) + (name "E2" (effects (font (size 1.27 1.27)))) + (number "5" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -12.7 -5.08 0) (length 5.08) + (name "E3" (effects (font (size 1.27 1.27)))) + (number "6" (effects (font (size 1.27 1.27)))) + ) + (pin output output_low (at 12.7 -10.16 180) (length 5.08) + (name "O7" (effects (font (size 1.27 1.27)))) + (number "7" (effects (font (size 1.27 1.27)))) + ) + (pin power_in line (at 0 -17.78 90) (length 5.08) + (name "GND" (effects (font (size 1.27 1.27)))) + (number "8" (effects (font (size 1.27 1.27)))) + ) + (pin output output_low (at 12.7 -7.62 180) (length 5.08) + (name "O6" (effects (font (size 1.27 1.27)))) + (number "9" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS138_1_1" + (rectangle (start -7.62 10.16) (end 7.62 -12.7) + (stroke (width 0.254) (type default)) + (fill (type background)) + ) + ) + ) + (symbol "power:GND" (power) (pin_names (offset 0)) (exclude_from_sim no) (in_bom yes) (on_board yes) + (property "Reference" "#PWR" (at 0 -6.35 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (at 0 -3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Power symbol creates a global label with name \"GND\" , ground" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "global power" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (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 + (name "GND" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + ) + ) + (symbol "power:PWR_FLAG" (power) (pin_numbers hide) (pin_names (offset 0) hide) (exclude_from_sim no) (in_bom yes) (on_board yes) + (property "Reference" "#FLG" (at 0 1.905 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "PWR_FLAG" (at 0 3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Special symbol for telling ERC where power comes from" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "flag power" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "PWR_FLAG_0_0" + (pin power_out line (at 0 0 90) (length 0) + (name "pwr" (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)) + ) + ) + ) + (symbol "power:VCC" (power) (pin_names (offset 0)) (exclude_from_sim no) (in_bom yes) (on_board yes) + (property "Reference" "#PWR" (at 0 -3.81 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "VCC" (at 0 3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Power symbol creates a global label with name \"VCC\"" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "global power" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "VCC_0_1" + (polyline + (pts + (xy -0.762 1.27) + (xy 0 2.54) + ) + (stroke (width 0) (type default)) + (fill (type none)) + ) + (polyline + (pts + (xy 0 0) + (xy 0 2.54) + ) + (stroke (width 0) (type default)) + (fill (type none)) + ) + (polyline + (pts + (xy 0 2.54) + (xy 0.762 1.27) + ) + (stroke (width 0) (type default)) + (fill (type none)) + ) + ) + (symbol "VCC_1_1" + (pin power_in line (at 0 0 90) (length 0) hide + (name "VCC" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + ) + ) + ) + + (junction (at 133.35 106.68) (diameter 0) (color 0 0 0 0) + (uuid 591f0034-1c08-4385-8710-c0d768959d8f) + ) + (junction (at 146.05 116.84) (diameter 0) (color 0 0 0 0) + (uuid b64e93fb-af17-48bf-b415-65b806c8699c) + ) + (junction (at 133.35 109.22) (diameter 0) (color 0 0 0 0) + (uuid ff76e434-337c-4c44-9216-1bb5329e9465) + ) + + (no_connect (at 158.75 106.68) (uuid 05604f50-7b37-42fd-be9c-c54f3786b1b2)) + (no_connect (at 158.75 109.22) (uuid 091322b6-8f18-4b59-a0bd-732e79ca7f42)) + (no_connect (at 158.75 99.06) (uuid 5f9e85f1-a98c-4b9c-96f6-00b8e2fd9e5b)) + (no_connect (at 158.75 96.52) (uuid 69b0189b-e87e-4cb8-b2e5-f324be88cd0f)) + (no_connect (at 158.75 101.6) (uuid 7caba47a-90e5-496e-994b-e363b369cb7d)) + (no_connect (at 158.75 93.98) (uuid aeb6352b-4803-468c-9577-3b87cd1b434c)) + (no_connect (at 158.75 91.44) (uuid dfcc0890-6c8b-4487-82bf-01970cfe62af)) + (no_connect (at 158.75 104.14) (uuid ec507f0b-d744-4433-a7a0-74a05a37ccb5)) + + (bus_entry (at 116.84 88.9) (size 2.54 2.54) + (stroke (width 0) (type default)) + (uuid 37fe642c-d525-4639-bf08-461c8e08b026) + ) + (bus_entry (at 116.84 93.98) (size 2.54 2.54) + (stroke (width 0) (type default)) + (uuid 4068cb17-b46e-43c0-b306-7df3a2c33b3b) + ) + (bus_entry (at 116.84 91.44) (size 2.54 2.54) + (stroke (width 0) (type default)) + (uuid 73cef5fb-4174-405d-a0de-634eee362434) + ) + + (wire (pts (xy 133.35 109.22) (xy 133.35 116.84)) + (stroke (width 0) (type default)) + (uuid 178fcdab-ba5c-454c-9247-e8c95bd6c15d) + ) + (bus (pts (xy 86.36 64.77) (xy 116.84 64.77)) + (stroke (width 0) (type default)) + (uuid 20152e6a-1b2e-4042-8b8f-93125fff953c) + ) + (bus (pts (xy 116.84 91.44) (xy 116.84 93.98)) + (stroke (width 0) (type default)) + (uuid 2d774613-d103-4f92-afc7-5ea7fea64e56) + ) + (bus (pts (xy 116.84 88.9) (xy 116.84 91.44)) + (stroke (width 0) (type default)) + (uuid 3e187b0d-f042-41ae-943d-0084bde57665) + ) + + (wire (pts (xy 146.05 116.84) (xy 175.26 116.84)) + (stroke (width 0) (type default)) + (uuid 61094eaf-f91e-497e-8166-d02aa99c7b33) + ) + (wire (pts (xy 175.26 116.84) (xy 175.26 115.57)) + (stroke (width 0) (type default)) + (uuid 72dd73d1-ce1f-4645-94dc-3c5e9de68043) + ) + (wire (pts (xy 133.35 116.84) (xy 146.05 116.84)) + (stroke (width 0) (type default)) + (uuid 7cbe4a58-f6ae-4829-a24a-65da50e7e0c9) + ) + (wire (pts (xy 119.38 93.98) (xy 133.35 93.98)) + (stroke (width 0) (type default)) + (uuid 82626ab4-c048-42a5-be32-a608bb5ecc5c) + ) + (wire (pts (xy 133.35 106.68) (xy 133.35 109.22)) + (stroke (width 0) (type default)) + (uuid a0f66a67-2d4f-4796-96b9-5461f082e48e) + ) + (bus (pts (xy 116.84 64.77) (xy 116.84 88.9)) + (stroke (width 0) (type default)) + (uuid b9bcf62b-e852-4d3e-a1a7-2c2e9c12de35) + ) + + (wire (pts (xy 119.38 91.44) (xy 133.35 91.44)) + (stroke (width 0) (type default)) + (uuid e8e1b2a0-a26b-489d-8d6e-ded650605f7e) + ) + (wire (pts (xy 119.38 96.52) (xy 133.35 96.52)) + (stroke (width 0) (type default)) + (uuid fb38bfae-e032-4395-8985-97101621dc3a) + ) + (wire (pts (xy 133.35 104.14) (xy 133.35 106.68)) + (stroke (width 0) (type default)) + (uuid fbe8cc01-1a76-41ca-8141-56f1641f6b96) + ) + + (label "A1" (at 133.35 93.98 0) (fields_autoplaced) + (effects (font (size 1.27 1.27)) (justify left bottom)) + (uuid 282c151e-75dd-4c68-b308-00699e2a9d59) + ) + (label "A[0..2]" (at 93.98 64.77 0) (fields_autoplaced) + (effects (font (size 1.27 1.27)) (justify left bottom)) + (uuid 4f21bed6-6f5e-4394-844f-1128cfadd2b3) + ) + (label "A2" (at 133.35 96.52 0) (fields_autoplaced) + (effects (font (size 1.27 1.27)) (justify left bottom)) + (uuid e3c46e1d-1eb0-4b43-b9e8-e8ed1cf471bd) + ) + (label "A0" (at 133.35 91.44 0) (fields_autoplaced) + (effects (font (size 1.27 1.27)) (justify left bottom)) + (uuid e96f1529-2a0f-421f-814b-f555d9bb351d) + ) + + (hierarchical_label "A[0..2]" (shape input) (at 86.36 64.77 180) (fields_autoplaced) + (effects (font (size 1.27 1.27)) (justify right)) + (uuid 1b9b23a3-d7af-4acb-86ce-d2c3b62d2ba8) + ) + + (symbol (lib_id "power:PWR_FLAG") (at 175.26 115.57 0) (unit 1) + (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) + (uuid 265c390b-dfa4-4ded-b3c0-a64d7e852a3b) + (property "Reference" "#FLG02" (at 175.26 113.665 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "PWR_FLAG" (at 175.26 110.49 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 175.26 115.57 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (at 175.26 115.57 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Special symbol for telling ERC where power comes from" (at 175.26 115.57 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid ff09da93-83e0-4294-841b-2c9fa9d5feb5)) + (instances + (project "issue12814" + (path "/9d9c2574-56a3-45db-8021-2a92a85311b1/fd81cd4d-ed06-4c80-bc4c-cba1d4bc410f" + (reference "#FLG02") (unit 1) + ) + ) + ) + ) + + (symbol (lib_id "power:VCC") (at 146.05 83.82 0) (unit 1) + (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) + (uuid 2cfafb54-44b2-4d23-8777-6a5aea97f1be) + (property "Reference" "#PWR05" (at 146.05 87.63 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "VCC" (at 146.05 78.74 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 146.05 83.82 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (at 146.05 83.82 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Power symbol creates a global label with name \"VCC\"" (at 146.05 83.82 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 68f035a8-c984-46d6-9021-cb487b69e745)) + (instances + (project "issue12814" + (path "/9d9c2574-56a3-45db-8021-2a92a85311b1/fd81cd4d-ed06-4c80-bc4c-cba1d4bc410f" + (reference "#PWR05") (unit 1) + ) + ) + ) + ) + + (symbol (lib_id "power:GND") (at 146.05 116.84 0) (unit 1) + (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) + (uuid 3cb53738-fc5e-418a-9319-ae679c48e3c2) + (property "Reference" "#PWR06" (at 146.05 123.19 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (at 146.05 121.92 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 146.05 116.84 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (at 146.05 116.84 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Power symbol creates a global label with name \"GND\" , ground" (at 146.05 116.84 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 8748e088-cf03-4dee-a82c-181fb597d790)) + (instances + (project "issue12814" + (path "/9d9c2574-56a3-45db-8021-2a92a85311b1/fd81cd4d-ed06-4c80-bc4c-cba1d4bc410f" + (reference "#PWR06") (unit 1) + ) + ) + ) + ) + + (symbol (lib_id "74xx:74LS138") (at 146.05 99.06 0) (unit 1) + (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) + (uuid a47e62d0-6d36-402f-8a08-f4532bf659d8) + (property "Reference" "U2" (at 148.2441 83.82 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "74LS138" (at 148.2441 86.36 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Footprint" "" (at 146.05 99.06 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS138" (at 146.05 99.06 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Decoder 3 to 8 active low outputs" (at 146.05 99.06 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "4" (uuid 48d6ebc7-e962-4ba1-a428-80a38574ba6c)) + (pin "10" (uuid 0e047d96-e512-4e1d-a722-b9a2c061e462)) + (pin "13" (uuid f727509a-9445-4509-8725-92dfbc818384)) + (pin "12" (uuid de3e72c0-ba4e-4910-92ba-1ec6cbeee4c7)) + (pin "11" (uuid 9047155a-d66d-4c4e-af11-c8cf5205bcdd)) + (pin "5" (uuid 1510b2e7-912c-4179-8216-e5d6023291d1)) + (pin "3" (uuid ed3b1501-f406-4330-89ab-bcaa4444ad54)) + (pin "8" (uuid 65500f6e-4d2d-4c34-89e4-ab10b55782d5)) + (pin "2" (uuid b6752884-b0a3-42ea-8c61-6b4e68d40e0b)) + (pin "9" (uuid 124c892b-71b2-4a69-bccd-2316cdbfbd3e)) + (pin "6" (uuid 2122f164-dc30-4a5c-9972-464cb2315d66)) + (pin "15" (uuid 0f39f711-d217-4b46-ba25-0e67f9712b08)) + (pin "16" (uuid 86fc53bf-2703-40fe-806a-871398fe76aa)) + (pin "7" (uuid de424f87-d1b3-4ec6-a907-a4485d05d709)) + (pin "1" (uuid 418f8854-e299-411f-bc00-aa978e2976f0)) + (pin "14" (uuid fc3a9eaa-67fa-446e-83ef-548d1f452871)) + (instances + (project "issue12814" + (path "/9d9c2574-56a3-45db-8021-2a92a85311b1/fd81cd4d-ed06-4c80-bc4c-cba1d4bc410f" + (reference "U2") (unit 1) + ) + ) + ) + ) +) diff --git a/qa/tests/eeschema/erc/test_erc_hierarchical_schematics.cpp b/qa/tests/eeschema/erc/test_erc_hierarchical_schematics.cpp index d5f144f4ae..b33803bb93 100644 --- a/qa/tests/eeschema/erc/test_erc_hierarchical_schematics.cpp +++ b/qa/tests/eeschema/erc/test_erc_hierarchical_schematics.cpp @@ -44,7 +44,8 @@ BOOST_FIXTURE_TEST_CASE( ERCHierarchicalSchematics, ERC_REGRESSION_TEST_FIXTURE // Check not-connected ERC errors - std::vector> tests = { { "issue10926_1", 3 } }; + std::vector> tests = { { "issue10926_1", 3 }, + { "issue12814", 0 } }; for( const std::pair& test : tests ) {