diff --git a/eeschema/connection_graph.cpp b/eeschema/connection_graph.cpp index c711935136..c213d55e58 100644 --- a/eeschema/connection_graph.cpp +++ b/eeschema/connection_graph.cpp @@ -1782,7 +1782,7 @@ void CONNECTION_GRAPH::processSubGraphs() subgraph->m_bus_neighbors[member].insert( candidate ); candidate->m_bus_parents[member].insert( subgraph ); } - else + else if( connection->Type() == candidate->m_driver_connection->Type() ) { wxLogTrace( ConnTrace, wxS( "%lu (%s) absorbs neighbor %lu (%s)" ), subgraph->m_code, connection->Name(), diff --git a/qa/data/eeschema/netlists/issue16439/issue16439.kicad_pro b/qa/data/eeschema/netlists/issue16439/issue16439.kicad_pro new file mode 100644 index 0000000000..d5bdcf7026 --- /dev/null +++ b/qa/data/eeschema/netlists/issue16439/issue16439.kicad_pro @@ -0,0 +1,406 @@ +{ + "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": [] + }, + "ipc2581": { + "dist": "", + "distpn": "", + "internal_id": "", + "mfg": "", + "mpn": "" + }, + "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": "issue16439.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": "KiCad", + "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": [ + [ + "010744f2-9f0e-4dbc-8f2a-30c04f561e63", + "Root" + ] + ], + "text_variables": {} +} diff --git a/qa/data/eeschema/netlists/issue16439/issue16439.kicad_sch b/qa/data/eeschema/netlists/issue16439/issue16439.kicad_sch new file mode 100644 index 0000000000..4675428252 --- /dev/null +++ b/qa/data/eeschema/netlists/issue16439/issue16439.kicad_sch @@ -0,0 +1,1053 @@ +(kicad_sch + (version 20231120) + (generator "eeschema") + (generator_version "7.99") + (uuid "010744f2-9f0e-4dbc-8f2a-30c04f561e63") + (paper "A4") + (lib_symbols + (symbol "Connector:TestPoint" + (pin_numbers hide) + (pin_names + (offset 0.762) hide) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "TP" + (at 0 6.858 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "TestPoint" + (at 0 5.08 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 5.08 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 5.08 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "test point" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_keywords" "test point tp" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_fp_filters" "Pin* Test*" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "TestPoint_0_1" + (circle + (center 0 3.302) + (radius 0.762) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + ) + (symbol "TestPoint_1_1" + (pin passive line + (at 0 0 90) + (length 2.54) + (name "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + ) + ) + (bus_alias "demo_alias" + (members "A[0..1]" "B[0..1]") + ) + (junction + (at 133.35 87.63) + (diameter 0) + (color 0 0 0 0) + (uuid "519b1ce5-3c02-426e-a309-3384a5a5f814") + ) + (bus_entry + (at 133.35 123.19) + (size 2.54 -2.54) + (stroke + (width 0) + (type default) + ) + (uuid "12a5c1b7-f101-4d2c-ad28-e92f06b8bacc") + ) + (bus_entry + (at 133.35 82.55) + (size 2.54 -2.54) + (stroke + (width 0) + (type default) + ) + (uuid "336c50fe-446b-4476-9efa-456c96527847") + ) + (bus_entry + (at 133.35 92.71) + (size 2.54 2.54) + (stroke + (width 0) + (type default) + ) + (uuid "4d36eb38-5fc0-42d0-8f21-58609c57445c") + ) + (bus_entry + (at 133.35 110.49) + (size 2.54 -2.54) + (stroke + (width 0) + (type default) + ) + (uuid "54e17822-fcd7-431d-994c-c09174390bd6") + ) + (bus_entry + (at 133.35 120.65) + (size 2.54 -2.54) + (stroke + (width 0) + (type default) + ) + (uuid "6566f6c4-917f-4f4c-a86e-6c87040699a9") + ) + (bus_entry + (at 133.35 107.95) + (size 2.54 -2.54) + (stroke + (width 0) + (type default) + ) + (uuid "690dac38-a9a0-41fc-9718-4d020f773816") + ) + (bus_entry + (at 133.35 90.17) + (size 2.54 2.54) + (stroke + (width 0) + (type default) + ) + (uuid "6fe4e625-5fa9-4286-b534-cf5dc2998202") + ) + (bus_entry + (at 133.35 85.09) + (size 2.54 -2.54) + (stroke + (width 0) + (type default) + ) + (uuid "94230661-549e-4652-845b-87b8a9a49985") + ) + (bus_entry + (at 133.35 85.09) + (size 2.54 -2.54) + (stroke + (width 0) + (type default) + ) + (uuid "9849656d-c6d5-4052-92a6-3e1067f74a85") + ) + (bus_entry + (at 133.35 92.71) + (size 2.54 2.54) + (stroke + (width 0) + (type default) + ) + (uuid "c05e0d01-7ced-4088-bca8-7caf873228e3") + ) + (bus_entry + (at 133.35 90.17) + (size 2.54 2.54) + (stroke + (width 0) + (type default) + ) + (uuid "e7c4b470-5ea0-47a8-b5a2-67a8370be43e") + ) + (bus_entry + (at 133.35 82.55) + (size 2.54 -2.54) + (stroke + (width 0) + (type default) + ) + (uuid "f9f3a222-c312-4439-8b7a-5a35d79a7a12") + ) + (bus + (pts + (xy 129.54 87.63) (xy 133.35 87.63) + ) + (stroke + (width 0) + (type default) + ) + (uuid "29e3c771-d36f-4ce7-8ae4-d0f9cedc2cf9") + ) + (wire + (pts + (xy 135.89 105.41) (xy 149.86 105.41) + ) + (stroke + (width 0) + (type default) + ) + (uuid "2b483ee0-98c8-4172-bf9e-dfc5875f3790") + ) + (wire + (pts + (xy 135.89 95.25) (xy 149.86 95.25) + ) + (stroke + (width 0) + (type default) + ) + (uuid "303a2dcb-47f7-4b1b-bbfb-6d8bd9e9f476") + ) + (bus + (pts + (xy 133.35 90.17) (xy 133.35 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "53d5fb44-92d0-4556-a35b-ce75c3b063da") + ) + (wire + (pts + (xy 135.89 92.71) (xy 149.86 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "59d1d28f-5d4e-46cf-8533-7f93f05ff78e") + ) + (wire + (pts + (xy 135.89 82.55) (xy 149.86 82.55) + ) + (stroke + (width 0) + (type default) + ) + (uuid "66706219-8dcd-4ef0-9fa9-bde349a71367") + ) + (bus + (pts + (xy 133.35 107.95) (xy 133.35 110.49) + ) + (stroke + (width 0) + (type default) + ) + (uuid "673630b0-146b-4e7e-9506-803bc150d394") + ) + (wire + (pts + (xy 135.89 80.01) (xy 149.86 80.01) + ) + (stroke + (width 0) + (type default) + ) + (uuid "740359ed-408a-4842-90b8-07f5c8a3fbd9") + ) + (bus + (pts + (xy 133.35 90.17) (xy 133.35 87.63) + ) + (stroke + (width 0) + (type default) + ) + (uuid "841e2f1b-6df5-490b-b3c6-41a4d0dcfa4d") + ) + (wire + (pts + (xy 135.89 120.65) (xy 149.86 120.65) + ) + (stroke + (width 0) + (type default) + ) + (uuid "89b7e1b9-660b-409c-9f19-c6e0e5f0b7b9") + ) + (wire + (pts + (xy 135.89 118.11) (xy 149.86 118.11) + ) + (stroke + (width 0) + (type default) + ) + (uuid "89ed1c11-1f76-4981-bd62-210eaf29cce4") + ) + (wire + (pts + (xy 135.89 107.95) (xy 149.86 107.95) + ) + (stroke + (width 0) + (type default) + ) + (uuid "91d2b092-a3c9-47e4-883d-c66fb92a1093") + ) + (bus + (pts + (xy 109.22 110.49) (xy 133.35 110.49) + ) + (stroke + (width 0) + (type default) + ) + (uuid "a0872dfe-877d-412c-849d-bb88bf2145b2") + ) + (bus + (pts + (xy 133.35 120.65) (xy 133.35 123.19) + ) + (stroke + (width 0) + (type default) + ) + (uuid "b5ff7c2b-e39d-4b60-aed5-113fcbab13e1") + ) + (bus + (pts + (xy 109.22 123.19) (xy 133.35 123.19) + ) + (stroke + (width 0) + (type default) + ) + (uuid "ce8a8d32-de1b-414b-bc5b-b5210f543f73") + ) + (bus + (pts + (xy 133.35 82.55) (xy 133.35 85.09) + ) + (stroke + (width 0) + (type default) + ) + (uuid "d1cd21d0-5a99-4a87-88a2-e2d546d818a6") + ) + (bus + (pts + (xy 133.35 85.09) (xy 133.35 87.63) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f299ed35-472a-4d71-b4f5-e2ab1f069e29") + ) + (label "demo_bus.B0" + (at 149.86 92.71 180) + (fields_autoplaced yes) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "0aeb0b36-9b5f-41e6-adbe-f7b5e9131d1a") + ) + (label "demo_bus.A0" + (at 149.86 80.01 180) + (fields_autoplaced yes) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "25731a41-0820-4090-93df-59c0cee54b93") + ) + (label "demo_bus.B0" + (at 149.86 118.11 180) + (fields_autoplaced yes) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "2a5593fe-1799-4022-b851-b11605e36ed7") + ) + (label "demo_bus.A[0..1]" + (at 109.22 110.49 0) + (fields_autoplaced yes) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "7ed160a4-2b38-4760-a25a-466101ea6ec1") + ) + (label "demo_bus.B1" + (at 149.86 95.25 180) + (fields_autoplaced yes) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "89ab904e-2d21-4af5-9dde-a4cb5ccac4fa") + ) + (label "demo_bus.A1" + (at 149.86 107.95 180) + (fields_autoplaced yes) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "98c98e11-3b78-4888-907a-3de783fabcb8") + ) + (label "demo_bus.A1" + (at 149.86 82.55 180) + (fields_autoplaced yes) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "a8b92b51-1d29-4c9d-b56c-418d022fe5d7") + ) + (label "demo_bus.B[0..1]" + (at 109.22 123.19 0) + (fields_autoplaced yes) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "b05a97ef-a608-47c1-8842-d54de1dbce7a") + ) + (label "demo_bus.A0" + (at 149.86 105.41 180) + (fields_autoplaced yes) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "d96f8b48-766d-41cc-a83d-553016739471") + ) + (label "demo_bus.B1" + (at 149.86 120.65 180) + (fields_autoplaced yes) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "ec43a6fe-dea7-49f8-a156-e59ef2a8c4cf") + ) + (hierarchical_label "demo_bus{demo_alias}" + (shape input) + (at 129.54 87.63 180) + (fields_autoplaced yes) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + (uuid "5998f3bf-dae3-4d85-aaea-a5687e223e9b") + ) + (symbol + (lib_id "Connector:TestPoint") + (at 149.86 105.41 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "14c4399a-ebdd-4981-90af-83d7f164e8a6") + (property "Reference" "TP5" + (at 154.94 104.1399 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Value" "TestPoint" + (at 154.94 106.6799 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Footprint" "" + (at 149.86 110.49 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 149.86 110.49 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "test point" + (at 149.86 105.41 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "392540d4-6893-4720-8b4c-1f9167682691") + ) + (instances + (project "issue16439" + (path "/010744f2-9f0e-4dbc-8f2a-30c04f561e63" + (reference "TP5") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "Connector:TestPoint") + (at 149.86 107.95 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "1eda2f02-eb82-4ef1-8d5b-b2c8ec178ee0") + (property "Reference" "TP6" + (at 153.162 110.49 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "TestPoint" + (at 153.162 113.03 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 149.86 113.03 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 149.86 113.03 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "test point" + (at 149.86 107.95 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "0a19aff4-2162-4ed0-8683-c482cb8f435f") + ) + (instances + (project "issue16439" + (path "/010744f2-9f0e-4dbc-8f2a-30c04f561e63" + (reference "TP6") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "Connector:TestPoint") + (at 149.86 82.55 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "3b7f5c58-4f10-4191-baac-35e1103379be") + (property "Reference" "TP2" + (at 153.162 85.09 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "TestPoint" + (at 153.162 87.63 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 149.86 87.63 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 149.86 87.63 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "test point" + (at 149.86 82.55 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "2c9032e6-da28-4892-b38b-3aab151af615") + ) + (instances + (project "issue16439" + (path "/010744f2-9f0e-4dbc-8f2a-30c04f561e63" + (reference "TP2") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "Connector:TestPoint") + (at 149.86 92.71 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "6b3cfa96-91c4-4e66-bdde-45ccf39d8e73") + (property "Reference" "TP3" + (at 154.94 91.4399 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Value" "TestPoint" + (at 154.94 93.9799 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Footprint" "" + (at 149.86 97.79 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 149.86 97.79 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "test point" + (at 149.86 92.71 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "ceada224-b038-4e95-9c00-2cf21b09ce82") + ) + (instances + (project "issue16439" + (path "/010744f2-9f0e-4dbc-8f2a-30c04f561e63" + (reference "TP3") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "Connector:TestPoint") + (at 149.86 120.65 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "ad20a64d-3eb5-409e-9ad0-0893125e985f") + (property "Reference" "TP8" + (at 153.162 123.19 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "TestPoint" + (at 153.162 125.73 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 149.86 125.73 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 149.86 125.73 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "test point" + (at 149.86 120.65 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "c6e64ce9-91d5-4633-9b1a-22c6079bbb7e") + ) + (instances + (project "issue16439" + (path "/010744f2-9f0e-4dbc-8f2a-30c04f561e63" + (reference "TP8") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "Connector:TestPoint") + (at 149.86 95.25 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "c1ca0707-68dd-4ad1-9f82-bfcf8e993e07") + (property "Reference" "TP4" + (at 153.162 97.79 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "TestPoint" + (at 153.162 100.33 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 149.86 100.33 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 149.86 100.33 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "test point" + (at 149.86 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "879b5e09-ca06-40c5-b353-494c114be17a") + ) + (instances + (project "issue16439" + (path "/010744f2-9f0e-4dbc-8f2a-30c04f561e63" + (reference "TP4") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "Connector:TestPoint") + (at 149.86 80.01 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "d9c88d01-d1e7-4826-af61-75398396f4c0") + (property "Reference" "TP1" + (at 154.94 78.7399 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Value" "TestPoint" + (at 154.94 81.2799 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Footprint" "" + (at 149.86 85.09 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 149.86 85.09 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "test point" + (at 149.86 80.01 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "a1820c79-1ce1-44f5-9dc8-8a2ddb297547") + ) + (instances + (project "issue16439" + (path "/010744f2-9f0e-4dbc-8f2a-30c04f561e63" + (reference "TP1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "Connector:TestPoint") + (at 149.86 118.11 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "ef1253e1-680c-4ae8-af9d-df3335e9d564") + (property "Reference" "TP7" + (at 154.94 116.8399 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Value" "TestPoint" + (at 154.94 119.3799 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Footprint" "" + (at 149.86 123.19 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 149.86 123.19 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "test point" + (at 149.86 118.11 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "2384f68c-970c-475f-9fdc-84f284621b61") + ) + (instances + (project "issue16439" + (path "/010744f2-9f0e-4dbc-8f2a-30c04f561e63" + (reference "TP7") + (unit 1) + ) + ) + ) + ) + (sheet_instances + (path "/" + (page "1") + ) + ) +) \ No newline at end of file diff --git a/qa/data/eeschema/netlists/issue16439/issue16439.net b/qa/data/eeschema/netlists/issue16439/issue16439.net new file mode 100644 index 0000000000..7dd0cf7098 --- /dev/null +++ b/qa/data/eeschema/netlists/issue16439/issue16439.net @@ -0,0 +1,165 @@ +(export (version "E") + (design + (source "/home/jon/work/kicad/qa/data/eeschema/netlists/issue16439/issue16439.kicad_sch") + (date "2023-12-30T10:51:29-0500") + (tool "Eeschema 7.99.0-4122-g2ecf1ac23f-dirty") + (sheet (number "1") (name "/") (tstamps "/") + (title_block + (title) + (company) + (rev) + (date) + (source "issue16439.kicad_sch") + (comment (number "1") (value "")) + (comment (number "2") (value "")) + (comment (number "3") (value "")) + (comment (number "4") (value "")) + (comment (number "5") (value "")) + (comment (number "6") (value "")) + (comment (number "7") (value "")) + (comment (number "8") (value "")) + (comment (number "9") (value ""))))) + (components + (comp (ref "TP1") + (value "TestPoint") + (description "test point") + (fields + (field (name "Footprint")) + (field (name "Datasheet")) + (field (name "Description") "test point")) + (libsource (lib "Connector") (part "TestPoint") (description "test point")) + (property (name "Sheetname") (value "Root")) + (property (name "Sheetfile") (value "issue16439.kicad_sch")) + (property (name "ki_keywords") (value "test point tp")) + (property (name "ki_fp_filters") (value "Pin* Test*")) + (sheetpath (names "/") (tstamps "/")) + (tstamps "d9c88d01-d1e7-4826-af61-75398396f4c0")) + (comp (ref "TP2") + (value "TestPoint") + (description "test point") + (fields + (field (name "Footprint")) + (field (name "Datasheet")) + (field (name "Description") "test point")) + (libsource (lib "Connector") (part "TestPoint") (description "test point")) + (property (name "Sheetname") (value "Root")) + (property (name "Sheetfile") (value "issue16439.kicad_sch")) + (property (name "ki_keywords") (value "test point tp")) + (property (name "ki_fp_filters") (value "Pin* Test*")) + (sheetpath (names "/") (tstamps "/")) + (tstamps "3b7f5c58-4f10-4191-baac-35e1103379be")) + (comp (ref "TP3") + (value "TestPoint") + (description "test point") + (fields + (field (name "Footprint")) + (field (name "Datasheet")) + (field (name "Description") "test point")) + (libsource (lib "Connector") (part "TestPoint") (description "test point")) + (property (name "Sheetname") (value "Root")) + (property (name "Sheetfile") (value "issue16439.kicad_sch")) + (property (name "ki_keywords") (value "test point tp")) + (property (name "ki_fp_filters") (value "Pin* Test*")) + (sheetpath (names "/") (tstamps "/")) + (tstamps "6b3cfa96-91c4-4e66-bdde-45ccf39d8e73")) + (comp (ref "TP4") + (value "TestPoint") + (description "test point") + (fields + (field (name "Footprint")) + (field (name "Datasheet")) + (field (name "Description") "test point")) + (libsource (lib "Connector") (part "TestPoint") (description "test point")) + (property (name "Sheetname") (value "Root")) + (property (name "Sheetfile") (value "issue16439.kicad_sch")) + (property (name "ki_keywords") (value "test point tp")) + (property (name "ki_fp_filters") (value "Pin* Test*")) + (sheetpath (names "/") (tstamps "/")) + (tstamps "c1ca0707-68dd-4ad1-9f82-bfcf8e993e07")) + (comp (ref "TP5") + (value "TestPoint") + (description "test point") + (fields + (field (name "Footprint")) + (field (name "Datasheet")) + (field (name "Description") "test point")) + (libsource (lib "Connector") (part "TestPoint") (description "test point")) + (property (name "Sheetname") (value "Root")) + (property (name "Sheetfile") (value "issue16439.kicad_sch")) + (property (name "ki_keywords") (value "test point tp")) + (property (name "ki_fp_filters") (value "Pin* Test*")) + (sheetpath (names "/") (tstamps "/")) + (tstamps "14c4399a-ebdd-4981-90af-83d7f164e8a6")) + (comp (ref "TP6") + (value "TestPoint") + (description "test point") + (fields + (field (name "Footprint")) + (field (name "Datasheet")) + (field (name "Description") "test point")) + (libsource (lib "Connector") (part "TestPoint") (description "test point")) + (property (name "Sheetname") (value "Root")) + (property (name "Sheetfile") (value "issue16439.kicad_sch")) + (property (name "ki_keywords") (value "test point tp")) + (property (name "ki_fp_filters") (value "Pin* Test*")) + (sheetpath (names "/") (tstamps "/")) + (tstamps "1eda2f02-eb82-4ef1-8d5b-b2c8ec178ee0")) + (comp (ref "TP7") + (value "TestPoint") + (description "test point") + (fields + (field (name "Footprint")) + (field (name "Datasheet")) + (field (name "Description") "test point")) + (libsource (lib "Connector") (part "TestPoint") (description "test point")) + (property (name "Sheetname") (value "Root")) + (property (name "Sheetfile") (value "issue16439.kicad_sch")) + (property (name "ki_keywords") (value "test point tp")) + (property (name "ki_fp_filters") (value "Pin* Test*")) + (sheetpath (names "/") (tstamps "/")) + (tstamps "ef1253e1-680c-4ae8-af9d-df3335e9d564")) + (comp (ref "TP8") + (value "TestPoint") + (description "test point") + (fields + (field (name "Footprint")) + (field (name "Datasheet")) + (field (name "Description") "test point")) + (libsource (lib "Connector") (part "TestPoint") (description "test point")) + (property (name "Sheetname") (value "Root")) + (property (name "Sheetfile") (value "issue16439.kicad_sch")) + (property (name "ki_keywords") (value "test point tp")) + (property (name "ki_fp_filters") (value "Pin* Test*")) + (sheetpath (names "/") (tstamps "/")) + (tstamps "ad20a64d-3eb5-409e-9ad0-0893125e985f"))) + (libparts + (libpart (lib "Connector") (part "TestPoint") + (description "test point") + (docs "~") + (footprints + (fp "Pin*") + (fp "Test*")) + (fields + (field (name "Reference") "TP") + (field (name "Value") "TestPoint") + (field (name "Footprint")) + (field (name "Datasheet") "~") + (field (name "Description") "test point")) + (pins + (pin (num "1") (name "1") (type "passive"))))) + (libraries + (library (logical "Connector") + (uri "/usr/share/kicad/symbols//Connector.kicad_sym"))) + (nets + (net (code "1") (name "/demo_bus.A0") + (node (ref "TP1") (pin "1") (pinfunction "1") (pintype "passive")) + (node (ref "TP5") (pin "1") (pinfunction "1") (pintype "passive"))) + (net (code "2") (name "/demo_bus.A1") + (node (ref "TP2") (pin "1") (pinfunction "1") (pintype "passive")) + (node (ref "TP6") (pin "1") (pinfunction "1") (pintype "passive"))) + (net (code "4") (name "/demo_bus.B0") + (node (ref "TP3") (pin "1") (pinfunction "1") (pintype "passive")) + (node (ref "TP7") (pin "1") (pinfunction "1") (pintype "passive"))) + (net (code "5") (name "/demo_bus.B1") + (node (ref "TP4") (pin "1") (pinfunction "1") (pintype "passive")) + (node (ref "TP8") (pin "1") (pinfunction "1") (pintype "passive"))))) \ No newline at end of file diff --git a/qa/tests/eeschema/test_netlist_exporter_kicad.cpp b/qa/tests/eeschema/test_netlist_exporter_kicad.cpp index dbbef3385f..d896385464 100644 --- a/qa/tests/eeschema/test_netlist_exporter_kicad.cpp +++ b/qa/tests/eeschema/test_netlist_exporter_kicad.cpp @@ -204,5 +204,10 @@ BOOST_AUTO_TEST_CASE( Issue16003 ) TestNetlist( "issue16003" ); } +BOOST_AUTO_TEST_CASE( Issue16439 ) +{ + TestNetlist( "issue16439" ); +} + BOOST_AUTO_TEST_SUITE_END()