diff --git a/qa/data/eeschema/ERC_dynamic_power_symbol_test.kicad_pro b/qa/data/eeschema/ERC_dynamic_power_symbol_test.kicad_pro new file mode 100644 index 0000000000..9345082687 --- /dev/null +++ b/qa/data/eeschema/ERC_dynamic_power_symbol_test.kicad_pro @@ -0,0 +1,411 @@ +{ + "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": "ERC_dynamic_power_symbol_test.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": 25.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": [ + [ + "00325d8e-72cb-4ca3-8445-d6b5e061276d", + "" + ], + [ + "c7b6fd2e-05cd-4dd4-8428-8dccf678354a", + "ERC_dynamic_power_symbol_subsheet" + ], + [ + "088a9fe0-ec9a-43a7-9e7e-edfb4cee57b2", + "ERC_dynamic_power_symbol_subsheet1" + ], + [ + "356ec2aa-e896-4e5b-96d5-f383f5c93ff2", + "ERC_dynamic_power_symbol_subsheet2" + ] + ], + "text_variables": {} +} diff --git a/qa/data/eeschema/ERC_dynamic_power_symbol_test.kicad_sch b/qa/data/eeschema/ERC_dynamic_power_symbol_test.kicad_sch new file mode 100644 index 0000000000..49ab4719ff --- /dev/null +++ b/qa/data/eeschema/ERC_dynamic_power_symbol_test.kicad_sch @@ -0,0 +1,291 @@ +(kicad_sch (version 20230819) (generator eeschema) + + (uuid 00325d8e-72cb-4ca3-8445-d6b5e061276d) + + (paper "A5") + + (lib_symbols + (symbol "PCM_4ms_Power-symbol: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" "" (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: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)))) + ) + ) + ) + ) + + (junction (at 97.155 73.025) (diameter 0) (color 0 0 0 0) + (uuid 318873ba-93d0-4611-adbd-ab20b3bf8da2) + ) + (junction (at 97.155 88.265) (diameter 0) (color 0 0 0 0) + (uuid 7dd8ed2a-e1f6-4007-9d1d-92b533495aee) + ) + (junction (at 97.155 69.85) (diameter 0) (color 0 0 0 0) + (uuid 83871bdf-6b08-4ac2-bad8-9ef65b3c79df) + ) + (junction (at 81.915 54.61) (diameter 0) (color 0 0 0 0) + (uuid bfb8ab1c-d3b9-4129-9f01-9f99e284c17f) + ) + (junction (at 97.155 54.61) (diameter 0) (color 0 0 0 0) + (uuid c95d470c-e721-4ed3-b686-41e6d3e42fc1) + ) + + (wire (pts (xy 97.155 54.61) (xy 103.505 54.61)) + (stroke (width 0) (type default)) + (uuid 25c8d790-f49a-4d2a-bf36-5092484d0993) + ) + (wire (pts (xy 103.505 88.265) (xy 97.155 88.265)) + (stroke (width 0) (type default)) + (uuid 3b568d7a-4e3e-4cb7-a2a5-d4a40caec794) + ) + (wire (pts (xy 97.155 73.025) (xy 97.155 69.85)) + (stroke (width 0) (type default)) + (uuid 548ce8a3-928e-4470-b180-e1983c5f2e59) + ) + (wire (pts (xy 97.155 73.025) (xy 103.505 73.025)) + (stroke (width 0) (type default)) + (uuid 5e5d7738-6a11-402a-a270-14233883574e) + ) + (wire (pts (xy 97.155 69.85) (xy 97.155 54.61)) + (stroke (width 0) (type default)) + (uuid 82e0575b-5426-48ca-9a77-2a998559130a) + ) + (wire (pts (xy 81.915 54.61) (xy 81.915 59.055)) + (stroke (width 0) (type default)) + (uuid 98fb714b-ecfc-498d-b5ba-2470d43f6f35) + ) + (wire (pts (xy 81.915 54.61) (xy 97.155 54.61)) + (stroke (width 0) (type default)) + (uuid a93a2ae6-bcee-4b61-942d-9cec89db1cb1) + ) + (wire (pts (xy 103.505 69.85) (xy 97.155 69.85)) + (stroke (width 0) (type default)) + (uuid c156654b-4712-42d1-8613-602e2d88fff9) + ) + (wire (pts (xy 97.155 88.265) (xy 97.155 73.025)) + (stroke (width 0) (type default)) + (uuid ca52f235-4198-4e5f-9e48-80670d79ce88) + ) + (wire (pts (xy 81.915 52.705) (xy 81.915 54.61)) + (stroke (width 0) (type default)) + (uuid d70f84e2-4886-4606-ba5f-b24ec036f382) + ) + (wire (pts (xy 97.155 88.265) (xy 97.155 91.44)) + (stroke (width 0) (type default)) + (uuid e69ef9e1-0e20-467f-884c-e2e0101ae07a) + ) + (wire (pts (xy 97.155 91.44) (xy 103.505 91.44)) + (stroke (width 0) (type default)) + (uuid ea0f7891-d2c5-425b-8e3a-f5dde385e419) + ) + + (symbol (lib_id "PCM_4ms_Power-symbol:PWR_FLAG") (at 81.915 52.705 0) (unit 1) + (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) + (uuid 528bd027-e74e-400a-8ca2-cf0652e9fae7) + (property "Reference" "#FLG0101" (at 81.915 50.8 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "PWR_FLAG" (at 81.915 48.5719 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 81.915 52.705 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (at 81.915 52.705 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "" (at 81.915 52.705 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid e08d6487-ccd7-4390-8e85-2bec8cc362df)) + (instances + (project "ERC_dynamic_power_symbol_test" + (path "/00325d8e-72cb-4ca3-8445-d6b5e061276d" + (reference "#FLG0101") (unit 1) + ) + ) + ) + ) + + (symbol (lib_id "power:GND") (at 81.915 59.055 0) (unit 1) + (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) + (uuid 78a241b3-2465-484a-9234-d60d4e95876e) + (property "Reference" "#PWR0101" (at 81.915 65.405 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (at 81.915 63.1881 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 81.915 59.055 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (at 81.915 59.055 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Power symbol creates a global label with name \"GND\" , ground" (at 81.915 59.055 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid f207bbaa-5dcb-41ec-b174-ceddb9408aaa)) + (instances + (project "ERC_dynamic_power_symbol_test" + (path "/00325d8e-72cb-4ca3-8445-d6b5e061276d" + (reference "#PWR0101") (unit 1) + ) + ) + ) + ) + + (sheet (at 103.505 66.04) (size 24.765 10.795) (fields_autoplaced) + (stroke (width 0.1524) (type solid)) + (fill (color 0 0 0 0.0000)) + (uuid 088a9fe0-ec9a-43a7-9e7e-edfb4cee57b2) + (property "Sheetname" "ERC_dynamic_power_symbol_subsheet1" (at 103.505 65.3284 0) + (effects (font (size 1.27 1.27)) (justify left bottom)) + ) + (property "Sheetfile" "erc_test_dynamic_power_symbol_subsheet.kicad_sch" (at 103.505 77.4196 0) + (effects (font (size 1.27 1.27)) (justify left top)) + ) + (property "param" "param_subsheet_1" (at 103.505 66.04 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "REF_NODE" input (at 103.505 69.85 180) + (effects (font (size 1.27 1.27)) (justify left)) + (uuid 0a11936d-6619-423b-b15f-0eb82d418c39) + ) + (pin "${param}" input (at 103.505 73.025 180) + (effects (font (size 1.27 1.27)) (justify left)) + (uuid d55efedc-5409-4a66-ad09-ef4373b04f6c) + ) + (instances + (project "ERC_dynamic_power_symbol_test" + (path "/00325d8e-72cb-4ca3-8445-d6b5e061276d" (page "3")) + ) + ) + ) + + (sheet (at 103.505 84.455) (size 24.765 10.795) (fields_autoplaced) + (stroke (width 0.1524) (type solid)) + (fill (color 0 0 0 0.0000)) + (uuid 356ec2aa-e896-4e5b-96d5-f383f5c93ff2) + (property "Sheetname" "ERC_dynamic_power_symbol_subsheet2" (at 103.505 83.7434 0) + (effects (font (size 1.27 1.27)) (justify left bottom)) + ) + (property "Sheetfile" "erc_test_dynamic_power_symbol_subsheet.kicad_sch" (at 103.505 95.8346 0) + (effects (font (size 1.27 1.27)) (justify left top)) + ) + (property "param" "param_subsheet_2" (at 103.505 84.455 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "REF_NODE" input (at 103.505 88.265 180) + (effects (font (size 1.27 1.27)) (justify left)) + (uuid 4065714c-1c4a-41a6-b87d-db2c45a3ac64) + ) + (pin "${param}" input (at 103.505 91.44 180) + (effects (font (size 1.27 1.27)) (justify left)) + (uuid 6db95d1f-4031-4232-a08d-617be8a00d5a) + ) + (instances + (project "ERC_dynamic_power_symbol_test" + (path "/00325d8e-72cb-4ca3-8445-d6b5e061276d" (page "4")) + ) + ) + ) + + (sheet (at 103.505 50.8) (size 15.24 7.62) (fields_autoplaced) + (stroke (width 0.1524) (type solid)) + (fill (color 0 0 0 0.0000)) + (uuid c7b6fd2e-05cd-4dd4-8428-8dccf678354a) + (property "Sheetname" "ERC_dynamic_power_symbol_subsheet" (at 103.505 50.0884 0) + (effects (font (size 1.27 1.27)) (justify left bottom)) + ) + (property "Sheetfile" "erc_test_dynamic_power_symbol_subsheet.kicad_sch" (at 103.505 59.0046 0) + (effects (font (size 1.27 1.27)) (justify left top)) + ) + (property "param" "param_subsheet" (at 103.505 50.8 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "REF_NODE" input (at 103.505 54.61 180) + (effects (font (size 1.27 1.27)) (justify left)) + (uuid 769a5a79-6118-41b6-93fe-cf2c04ffe283) + ) + (instances + (project "ERC_dynamic_power_symbol_test" + (path "/00325d8e-72cb-4ca3-8445-d6b5e061276d" (page "2")) + ) + ) + ) + + (sheet_instances + (path "/" (page "1")) + ) +) diff --git a/qa/data/eeschema/erc_test_dynamic_power_symbol_subsheet.kicad_sch b/qa/data/eeschema/erc_test_dynamic_power_symbol_subsheet.kicad_sch new file mode 100644 index 0000000000..1fe5f56c7c --- /dev/null +++ b/qa/data/eeschema/erc_test_dynamic_power_symbol_subsheet.kicad_sch @@ -0,0 +1,271 @@ +(kicad_sch (version 20230819) (generator eeschema) + + (uuid 3c62b2d9-e85b-41ac-b240-e9fba27dce75) + + (paper "A5") + + (lib_symbols + (symbol ".Project_Library:REF${#}" (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" "REF${#}" (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 local label (not global) with name \"REF${#}\", where the text variable \"#\" is the current sheet number " (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "local power" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "REF${#}_1_1" + (polyline + (pts + (xy 0 0) + (xy 0 -1.905) + (xy 1.27 -1.27) + (xy 0 -2.54) + (xy -1.27 -1.27) + (xy 0 -1.905) + ) + (stroke (width 0) (type default)) + (fill (type outline)) + ) + (pin power_in line (at 0 0 270) (length 0) hide + (name "REF${#}" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + ) + ) + (symbol "Device:R" (pin_numbers hide) (pin_names (offset 0)) (exclude_from_sim no) (in_bom yes) (on_board yes) + (property "Reference" "R" (at 2.032 0 90) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "R" (at 0 0 90) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at -1.778 0 90) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Resistor" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "R res resistor" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "R_*" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "R_0_1" + (rectangle (start -1.016 -2.54) (end 1.016 2.54) + (stroke (width 0.254) (type default)) + (fill (type none)) + ) + ) + (symbol "R_1_1" + (pin passive line (at 0 3.81 270) (length 1.27) + (name "~" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at 0 -3.81 90) (length 1.27) + (name "~" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + ) + ) + (symbol "PCM_4ms_Power-symbol: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" "" (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)) + ) + ) + ) + ) + + (junction (at 52.07 56.515) (diameter 0) (color 0 0 0 0) + (uuid 4d7ab109-3052-4d81-8202-b1562ac838f1) + ) + (junction (at 76.2 56.515) (diameter 0) (color 0 0 0 0) + (uuid bc9460a4-99cc-4bdb-8e43-a384bbfc72aa) + ) + + (wire (pts (xy 52.07 56.515) (xy 57.15 56.515)) + (stroke (width 0) (type default)) + (uuid 79105409-01a7-4863-becb-bdee5c98b930) + ) + (wire (pts (xy 52.07 72.39) (xy 46.355 72.39)) + (stroke (width 0) (type default)) + (uuid 82b61808-c9ab-4a47-afc9-7d70785a53e5) + ) + (wire (pts (xy 46.355 56.515) (xy 52.07 56.515)) + (stroke (width 0) (type default)) + (uuid 886d34f4-cb4c-488b-9285-8343e265f56a) + ) + (wire (pts (xy 64.77 56.515) (xy 76.2 56.515)) + (stroke (width 0) (type default)) + (uuid bd37f502-7ffa-41ad-92d6-c62fe54d9619) + ) + (wire (pts (xy 76.2 56.515) (xy 76.2 62.23)) + (stroke (width 0) (type default)) + (uuid d4af9bf7-4447-4477-936e-5ddb4503a8ff) + ) + (wire (pts (xy 52.07 56.515) (xy 52.07 72.39)) + (stroke (width 0) (type default)) + (uuid e3d7f375-c20f-4a01-8a2b-b6365bb37095) + ) + (wire (pts (xy 76.2 51.435) (xy 76.2 56.515)) + (stroke (width 0) (type default)) + (uuid ef9b8d67-23ec-4755-83d2-bd1af884a0c6) + ) + + (hierarchical_label "${param}" (shape input) (at 46.355 72.39 180) (fields_autoplaced) + (effects (font (size 1.27 1.27)) (justify right)) + (uuid 5b7361e7-1bbc-4e69-aa47-4c25593681d8) + ) + (hierarchical_label "REF_NODE" (shape input) (at 46.355 56.515 180) (fields_autoplaced) + (effects (font (size 1.27 1.27)) (justify right)) + (uuid 6af255fa-cae8-4410-a1a0-a9da5295758d) + ) + + (symbol (lib_id "PCM_4ms_Power-symbol:PWR_FLAG") (at 76.2 51.435 0) (unit 1) + (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) + (uuid 6059cea7-e82b-44fb-ad00-7e6582d903eb) + (property "Reference" "#FLG0201" (at 76.2 49.53 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "PWR_FLAG" (at 76.2 47.3019 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 76.2 51.435 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (at 76.2 51.435 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "" (at 76.2 51.435 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid c87469b5-b57a-439d-af20-56a874e1fe4b)) + (instances + (project "ERC_dynamic_power_symbol_test" + (path "/00325d8e-72cb-4ca3-8445-d6b5e061276d/c7b6fd2e-05cd-4dd4-8428-8dccf678354a" + (reference "#FLG0201") (unit 1) + ) + (path "/00325d8e-72cb-4ca3-8445-d6b5e061276d/088a9fe0-ec9a-43a7-9e7e-edfb4cee57b2" + (reference "#FLG0301") (unit 1) + ) + (path "/00325d8e-72cb-4ca3-8445-d6b5e061276d/356ec2aa-e896-4e5b-96d5-f383f5c93ff2" + (reference "#FLG0401") (unit 1) + ) + ) + ) + ) + + (symbol (lib_id ".Project_Library:REF${#}") (at 76.2 62.23 0) (unit 1) + (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) + (uuid b2b6c513-6b49-4516-9750-e44a26481ea2) + (property "Reference" "#PWR0201" (at 76.2 68.58 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "REF${#}" (at 76.2 66.3631 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 76.2 62.23 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (at 76.2 62.23 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Power symbol creates a local label (not global) with name \"REF${#}\", where the text variable \"#\" is the current sheet number " (at 76.2 62.23 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid e2bc9777-d2f7-41f5-b26c-c2ca3f254bcf)) + (instances + (project "ERC_dynamic_power_symbol_test" + (path "/00325d8e-72cb-4ca3-8445-d6b5e061276d/c7b6fd2e-05cd-4dd4-8428-8dccf678354a" + (reference "#PWR0201") (unit 1) + ) + (path "/00325d8e-72cb-4ca3-8445-d6b5e061276d/088a9fe0-ec9a-43a7-9e7e-edfb4cee57b2" + (reference "#PWR0301") (unit 1) + ) + (path "/00325d8e-72cb-4ca3-8445-d6b5e061276d/356ec2aa-e896-4e5b-96d5-f383f5c93ff2" + (reference "#PWR0401") (unit 1) + ) + ) + ) + ) + + (symbol (lib_id "Device:R") (at 60.96 56.515 90) (unit 1) + (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) + (uuid fbe14eb8-65ef-4b4b-9471-e98e2dbc2edc) + (property "Reference" "R201" (at 60.96 51.3545 90) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "0R" (at 60.96 53.7788 90) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (at 60.96 58.293 90) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (at 60.96 56.515 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Description" "Resistor" (at 60.96 56.515 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 0130a35f-faa1-40c8-bb2e-a1a7fcd4327a)) + (pin "2" (uuid 467ae783-b011-4c07-85c0-2f988a5d1d1f)) + (instances + (project "ERC_dynamic_power_symbol_test" + (path "/00325d8e-72cb-4ca3-8445-d6b5e061276d/c7b6fd2e-05cd-4dd4-8428-8dccf678354a" + (reference "R201") (unit 1) + ) + (path "/00325d8e-72cb-4ca3-8445-d6b5e061276d/088a9fe0-ec9a-43a7-9e7e-edfb4cee57b2" + (reference "R301") (unit 1) + ) + (path "/00325d8e-72cb-4ca3-8445-d6b5e061276d/356ec2aa-e896-4e5b-96d5-f383f5c93ff2" + (reference "R401") (unit 1) + ) + ) + ) + ) +)