Fix some issues with group bus prefix handling

Fixes https://gitlab.com/kicad/code/kicad/-/issues/7196
This commit is contained in:
Jon Evans 2021-03-04 23:37:33 -05:00
parent ccaf352a5e
commit 5ca7a2c457
8 changed files with 1144 additions and 14 deletions

View File

@ -130,6 +130,7 @@ void SCH_CONNECTION::ConfigureFromLabel( const wxString& aLabel )
m_name = aLabel;
m_local_name = aLabel;
m_local_prefix = m_prefix;
wxString prefix;
std::vector<wxString> members;
@ -149,6 +150,7 @@ void SCH_CONNECTION::ConfigureFromLabel( const wxString& aLabel )
member->m_type = CONNECTION_TYPE::NET;
member->m_prefix = m_prefix;
member->m_local_name = vector_member;
member->m_local_prefix = m_prefix;
member->m_vector_index = i++;
member->SetName( vector_member );
member->SetGraph( m_graph );
@ -202,6 +204,7 @@ void SCH_CONNECTION::Reset()
m_type = CONNECTION_TYPE::NONE;
m_name.Empty();
m_local_name.Empty();
m_local_prefix.Empty();
m_cached_name.Empty();
m_cached_name_with_path.Empty();
m_prefix.Empty();
@ -221,7 +224,7 @@ void SCH_CONNECTION::Reset()
}
void SCH_CONNECTION::Clone( SCH_CONNECTION& aOther )
void SCH_CONNECTION::Clone( const SCH_CONNECTION& aOther )
{
m_graph = aOther.m_graph;
// Note: m_lastDriver is not cloned as it needs to be the last driver of *this* connection
@ -230,10 +233,13 @@ void SCH_CONNECTION::Clone( SCH_CONNECTION& aOther )
m_name = aOther.m_name;
// Note: m_local_name is not cloned if not set yet
if( m_local_name.IsEmpty() )
{
m_local_name = aOther.LocalName();
m_local_prefix = aOther.Prefix();
}
m_prefix = aOther.Prefix();
m_bus_prefix = aOther.BusPrefix();
// m_bus_prefix is not cloned; only used for local names
m_suffix = aOther.Suffix();
m_net_code = aOther.NetCode();
m_bus_code = aOther.BusCode();
@ -245,20 +251,34 @@ void SCH_CONNECTION::Clone( SCH_CONNECTION& aOther )
// Note: subgraph code isn't cloned, it should remain with the original object
// Handle vector bus members: make sure local names are preserved where possible
std::vector<std::shared_ptr<SCH_CONNECTION>>& otherMembers = aOther.Members();
const std::vector<std::shared_ptr<SCH_CONNECTION>>& otherMembers = aOther.Members();
if( m_type == CONNECTION_TYPE::BUS && aOther.Type() == CONNECTION_TYPE::BUS &&
m_members.size() == otherMembers.size() )
if( m_type == CONNECTION_TYPE::BUS && aOther.Type() == CONNECTION_TYPE::BUS )
{
for( size_t i = 0; i < m_members.size(); ++i )
if( m_members.empty() )
{
m_members[i]->Clone( *otherMembers[i] );
}
m_members = otherMembers;
}
else
{
size_t cloneLimit = std::min( m_members.size(), otherMembers.size() );
for( size_t i = 0; i < cloneLimit; ++i )
m_members[i]->Clone( *otherMembers[i] );
}
}
else if( m_type == CONNECTION_TYPE::BUS_GROUP && aOther.Type() == CONNECTION_TYPE::BUS_GROUP )
{
if( m_members.empty() || m_members.size() != otherMembers.size() )
{
m_members = otherMembers;
}
else
{
for( size_t i = 0; i < m_members.size(); ++i )
m_members[i]->Clone( *otherMembers[i] );
}
}
m_type = aOther.Type();

View File

@ -99,7 +99,7 @@ public:
*
* @param aOther is the connection to clone
*/
void Clone( SCH_CONNECTION& aOther );
void Clone( const SCH_CONNECTION& aOther );
SCH_ITEM* Parent() const { return m_parent; }
@ -143,7 +143,7 @@ public:
wxString FullLocalName() const
{
return m_prefix + m_local_name + m_suffix;
return m_local_prefix + m_local_name + m_suffix;
}
void SetName( const wxString& aName )
@ -267,6 +267,9 @@ private:
/// Prefix if connection is member of a labeled bus group (or "" if not)
wxString m_prefix;
/// Local prefix for group bus members (used with m_local_name)
wxString m_local_prefix;
/// Optional prefix of a bux group (always empty for nets and vector buses)
wxString m_bus_prefix;

View File

@ -0,0 +1,301 @@
{
"board": {
"layer_presets": []
},
"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_label_syntax": "error",
"bus_to_bus_conflict": "error",
"bus_to_net_conflict": "error",
"different_unit_footprint": "error",
"different_unit_net": "error",
"duplicate_reference": "error",
"duplicate_sheet_names": "error",
"extra_units": "error",
"global_label_dangling": "warning",
"hier_label_mismatch": "error",
"label_dangling": "error",
"lib_symbol_issues": "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",
"unannotated": "error",
"unit_value_mismatch": "error",
"unresolved_variable": "error",
"wire_dangling": "error"
}
},
"libraries": {
"pinned_footprint_libs": [],
"pinned_symbol_libs": []
},
"meta": {
"filename": "prefix_bus_alias.kicad_pro",
"version": 1
},
"net_settings": {
"classes": [
{
"bus_width": 12.0,
"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.0
}
],
"meta": {
"version": 0
},
"net_colors": null
},
"pcbnew": {
"last_paths": {
"gencad": "",
"idf": "",
"netlist": "",
"specctra_dsn": "",
"step": "",
"vrml": ""
},
"page_layout_descr_file": ""
},
"schematic": {
"drawing": {
"default_bus_thickness": 12.0,
"default_junction_size": 40.0,
"default_line_thickness": 6.0,
"default_text_size": 50.0,
"default_wire_thickness": 6.0,
"field_names": [],
"intersheets_ref_prefix": "",
"intersheets_ref_short": false,
"intersheets_ref_show": false,
"intersheets_ref_suffix": "",
"junction_size_choice": 3,
"pin_symbol_size": 25.0,
"text_offset_ratio": 0.3
},
"legacy_lib_dir": "",
"legacy_lib_list": [],
"meta": {
"version": 0
},
"net_format_name": "KiCad",
"page_layout_descr_file": "",
"plot_directory": "",
"spice_adjust_passive_values": false,
"spice_external_command": "spice \"%I\"",
"subpart_first_id": 65,
"subpart_id_separator": 0
},
"sheets": [
[
"f0fa0db3-6edc-40e8-bad3-f5b79017ea91",
""
],
[
"f0fa0db3-6edc-40e8-bad3-f5b79017ea91",
"Subsheet 1"
],
[
"febe4196-6574-438a-acc7-f0fe3ed4f05c",
"Subsheet2"
]
],
"text_variables": {}
}

View File

@ -0,0 +1,60 @@
(kicad_sch (version 20210126) (generator eeschema)
(paper "A4")
(lib_symbols
)
(bus (pts (xy 83.82 43.18) (xy 114.3 43.18))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 5867095a-fa92-4441-9601-461810bd37ed)
)
(sheet (at 60.96 40.64) (size 22.86 11.43)
(stroke (width 0.001) (type solid) (color 0 0 0 0))
(fill (color 0 0 0 0.0000))
(uuid f0fa0db3-6edc-40e8-bad3-f5b79017ea91)
(property "Sheet name" "Subsheet 1" (id 0) (at 60.96 40.0041 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
(property "Sheet file" "subsheet1.kicad_sch" (id 1) (at 60.96 52.5789 0)
(effects (font (size 1.27 1.27) italic) (justify left top))
)
(pin "Foo{Bus1}" bidirectional (at 83.82 43.18 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid dc7b6902-3235-4675-b806-691d50add88f)
)
)
(sheet (at 114.3 40.64) (size 22.86 11.43)
(stroke (width 0.001) (type solid) (color 0 0 0 0))
(fill (color 0 0 0 0.0000))
(uuid febe4196-6574-438a-acc7-f0fe3ed4f05c)
(property "Sheet name" "Subsheet2" (id 0) (at 114.3 40.0041 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
(property "Sheet file" "subsheet2.kicad_sch" (id 1) (at 114.3 52.5789 0)
(effects (font (size 1.27 1.27)) (justify left top))
)
(pin "Bar{Bus1}" bidirectional (at 114.3 43.18 180)
(effects (font (size 1.27 1.27)) (justify left))
(uuid aa674f68-010d-4915-8a55-f03c9d976749)
)
)
(sheet_instances
(path "/" (page "1"))
(path "/f0fa0db3-6edc-40e8-bad3-f5b79017ea91/" (page "2"))
(path "/febe4196-6574-438a-acc7-f0fe3ed4f05c/" (page "3"))
)
(symbol_instances
(path "/f0fa0db3-6edc-40e8-bad3-f5b79017ea91/3931f39c-8ab8-4fed-bea5-f51ad460910c"
(reference "J1") (unit 1) (value "Conn_02x05_Odd_Even") (footprint "Connector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_Vertical")
)
(path "/febe4196-6574-438a-acc7-f0fe3ed4f05c/4657f001-6170-44af-b9d7-533b2cbe84db"
(reference "J2") (unit 1) (value "Conn_02x05_Odd_Even") (footprint "Connector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_Vertical")
)
)
)

View File

@ -0,0 +1,127 @@
(export (version "E")
(design
(source "prefix_bus_alias.kicad_sch")
(date "Thu 04 Mar 2021 23:36:38 EST")
(tool "Eeschema (5.99.0-9614-g4ddb942ec0-dirty)")
(sheet (number "1") (name "/") (tstamps "/")
(title_block
(title)
(company)
(rev)
(date)
(source "prefix_bus_alias.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 ""))))
(sheet (number "2") (name "/Subsheet 1/") (tstamps "/f0fa0db3-6edc-40e8-bad3-f5b79017ea91/")
(title_block
(title)
(company)
(rev)
(date)
(source "subsheet1.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 ""))))
(sheet (number "3") (name "/Subsheet2/") (tstamps "/febe4196-6574-438a-acc7-f0fe3ed4f05c/")
(title_block
(title)
(company)
(rev)
(date)
(source "subsheet2.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 "J1")
(value "Conn_02x05_Odd_Even")
(footprint "Connector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_Vertical")
(datasheet "~")
(libsource (lib "Connector_Generic") (part "Conn_02x05_Odd_Even") (description "Generic connector, double row, 02x05, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)"))
(property (name "Sheetname") (value "Subsheet 1"))
(property (name "Sheetfile") (value "subsheet1.kicad_sch"))
(sheetpath (names "/Subsheet 1/") (tstamps "/f0fa0db3-6edc-40e8-bad3-f5b79017ea91/"))
(tstamps "3931f39c-8ab8-4fed-bea5-f51ad460910c"))
(comp (ref "J2")
(value "Conn_02x05_Odd_Even")
(footprint "Connector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_Vertical")
(datasheet "~")
(libsource (lib "Connector_Generic") (part "Conn_02x05_Odd_Even") (description "Generic connector, double row, 02x05, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)"))
(property (name "Sheetname") (value "Subsheet2"))
(property (name "Sheetfile") (value "subsheet2.kicad_sch"))
(sheetpath (names "/Subsheet2/") (tstamps "/febe4196-6574-438a-acc7-f0fe3ed4f05c/"))
(tstamps "4657f001-6170-44af-b9d7-533b2cbe84db")))
(libparts
(libpart (lib "Connector_Generic") (part "Conn_02x05_Odd_Even")
(description "Generic connector, double row, 02x05, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)")
(docs "~")
(footprints
(fp "Connector*:*_2x??_*"))
(fields
(field (name "Reference") "J")
(field (name "Value") "Conn_02x05_Odd_Even")
(field (name "Datasheet") "~"))
(pins
(pin (num "1") (name "Pin_1") (type "passive"))
(pin (num "2") (name "Pin_2") (type "passive"))
(pin (num "3") (name "Pin_3") (type "passive"))
(pin (num "4") (name "Pin_4") (type "passive"))
(pin (num "5") (name "Pin_5") (type "passive"))
(pin (num "6") (name "Pin_6") (type "passive"))
(pin (num "7") (name "Pin_7") (type "passive"))
(pin (num "8") (name "Pin_8") (type "passive"))
(pin (num "9") (name "Pin_9") (type "passive"))
(pin (num "10") (name "Pin_10") (type "passive")))))
(libraries
(library (logical "Connector_Generic")
(uri "Connector_Generic.lib")))
(nets
(net (code "1") (name "/Subsheet 1/Foo.CTL1")
(node (ref "J1") (pin "8") (pinfunction "Pin_8") (pintype "passive"))
(node (ref "J2") (pin "8") (pinfunction "Pin_8") (pintype "passive")))
(net (code "2") (name "/Subsheet 1/Foo.CTL2")
(node (ref "J1") (pin "10") (pinfunction "Pin_10") (pintype "passive"))
(node (ref "J2") (pin "10") (pinfunction "Pin_10") (pintype "passive")))
(net (code "3") (name "/Subsheet 1/Foo.D0")
(node (ref "J1") (pin "1") (pinfunction "Pin_1") (pintype "passive"))
(node (ref "J2") (pin "1") (pinfunction "Pin_1") (pintype "passive")))
(net (code "4") (name "/Subsheet 1/Foo.D1")
(node (ref "J1") (pin "3") (pinfunction "Pin_3") (pintype "passive"))
(node (ref "J2") (pin "3") (pinfunction "Pin_3") (pintype "passive")))
(net (code "5") (name "/Subsheet 1/Foo.D2")
(node (ref "J1") (pin "5") (pinfunction "Pin_5") (pintype "passive"))
(node (ref "J2") (pin "5") (pinfunction "Pin_5") (pintype "passive")))
(net (code "6") (name "/Subsheet 1/Foo.D3")
(node (ref "J1") (pin "7") (pinfunction "Pin_7") (pintype "passive"))
(node (ref "J2") (pin "7") (pinfunction "Pin_7") (pintype "passive")))
(net (code "7") (name "/Subsheet 1/Foo.D4")
(node (ref "J1") (pin "9") (pinfunction "Pin_9") (pintype "passive"))
(node (ref "J2") (pin "9") (pinfunction "Pin_9") (pintype "passive")))
(net (code "8") (name "/Subsheet 1/Foo.D5")
(node (ref "J1") (pin "2") (pinfunction "Pin_2") (pintype "passive"))
(node (ref "J2") (pin "2") (pinfunction "Pin_2") (pintype "passive")))
(net (code "9") (name "/Subsheet 1/Foo.D6")
(node (ref "J1") (pin "4") (pinfunction "Pin_4") (pintype "passive"))
(node (ref "J2") (pin "4") (pinfunction "Pin_4") (pintype "passive")))
(net (code "10") (name "/Subsheet 1/Foo.D7")
(node (ref "J1") (pin "6") (pinfunction "Pin_6") (pintype "passive"))
(node (ref "J2") (pin "6") (pinfunction "Pin_6") (pintype "passive")))))

View File

@ -0,0 +1,307 @@
(kicad_sch (version 20210126) (generator eeschema)
(paper "A4")
(lib_symbols
(symbol "Connector_Generic:Conn_02x05_Odd_Even" (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
(property "Reference" "J" (id 0) (at 1.27 7.62 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "Conn_02x05_Odd_Even" (id 1) (at 1.27 -7.62 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (id 2) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "connector" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Generic connector, double row, 02x05, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "Connector*:*_2x??_*" (id 6) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "Conn_02x05_Odd_Even_1_1"
(rectangle (start -1.27 -4.953) (end 0 -5.207)
(stroke (width 0.1524)) (fill (type none))
)
(rectangle (start -1.27 -2.413) (end 0 -2.667)
(stroke (width 0.1524)) (fill (type none))
)
(rectangle (start -1.27 0.127) (end 0 -0.127)
(stroke (width 0.1524)) (fill (type none))
)
(rectangle (start -1.27 2.667) (end 0 2.413)
(stroke (width 0.1524)) (fill (type none))
)
(rectangle (start -1.27 5.207) (end 0 4.953)
(stroke (width 0.1524)) (fill (type none))
)
(rectangle (start 3.81 -4.953) (end 2.54 -5.207)
(stroke (width 0.1524)) (fill (type none))
)
(rectangle (start 3.81 -2.413) (end 2.54 -2.667)
(stroke (width 0.1524)) (fill (type none))
)
(rectangle (start 3.81 0.127) (end 2.54 -0.127)
(stroke (width 0.1524)) (fill (type none))
)
(rectangle (start 3.81 2.667) (end 2.54 2.413)
(stroke (width 0.1524)) (fill (type none))
)
(rectangle (start 3.81 5.207) (end 2.54 4.953)
(stroke (width 0.1524)) (fill (type none))
)
(rectangle (start -1.27 6.35) (end 3.81 -6.35)
(stroke (width 0.254)) (fill (type background))
)
(pin passive line (at -5.08 5.08 0) (length 3.81)
(name "Pin_1" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 7.62 -5.08 180) (length 3.81)
(name "Pin_10" (effects (font (size 1.27 1.27))))
(number "10" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 7.62 5.08 180) (length 3.81)
(name "Pin_2" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin passive line (at -5.08 2.54 0) (length 3.81)
(name "Pin_3" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 7.62 2.54 180) (length 3.81)
(name "Pin_4" (effects (font (size 1.27 1.27))))
(number "4" (effects (font (size 1.27 1.27))))
)
(pin passive line (at -5.08 0 0) (length 3.81)
(name "Pin_5" (effects (font (size 1.27 1.27))))
(number "5" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 7.62 0 180) (length 3.81)
(name "Pin_6" (effects (font (size 1.27 1.27))))
(number "6" (effects (font (size 1.27 1.27))))
)
(pin passive line (at -5.08 -2.54 0) (length 3.81)
(name "Pin_7" (effects (font (size 1.27 1.27))))
(number "7" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 7.62 -2.54 180) (length 3.81)
(name "Pin_8" (effects (font (size 1.27 1.27))))
(number "8" (effects (font (size 1.27 1.27))))
)
(pin passive line (at -5.08 -5.08 0) (length 3.81)
(name "Pin_9" (effects (font (size 1.27 1.27))))
(number "9" (effects (font (size 1.27 1.27))))
)
)
)
)
(bus_alias "Bus1" (members "D[0..7]" "CTL1" "CTL2"))
(junction (at 31.75 20.32) (diameter 1.016) (color 0 0 0 0))
(bus_entry (at 31.75 27.94) (size 2.54 2.54)
(stroke (width 0.1524) (type solid) (color 0 0 0 0))
(uuid 625f447f-992a-429c-a766-0f6eeed3b01e)
)
(bus_entry (at 31.75 30.48) (size 2.54 2.54)
(stroke (width 0.1524) (type solid) (color 0 0 0 0))
(uuid a13731f1-8f6b-4c05-aa81-a7c3e72ce435)
)
(bus_entry (at 31.75 33.02) (size 2.54 2.54)
(stroke (width 0.1524) (type solid) (color 0 0 0 0))
(uuid 372482be-5f10-4b10-be73-e286f836eec2)
)
(bus_entry (at 31.75 35.56) (size 2.54 2.54)
(stroke (width 0.1524) (type solid) (color 0 0 0 0))
(uuid 7bcf5328-e3f1-4cdc-aec7-27934fafc036)
)
(bus_entry (at 31.75 38.1) (size 2.54 2.54)
(stroke (width 0.1524) (type solid) (color 0 0 0 0))
(uuid 01abf833-1155-4515-b405-5bfbc367c243)
)
(bus_entry (at 62.23 27.94) (size -2.54 2.54)
(stroke (width 0.1524) (type solid) (color 0 0 0 0))
(uuid 35fc912d-c5d0-4a91-8922-1fc950824731)
)
(bus_entry (at 62.23 30.48) (size -2.54 2.54)
(stroke (width 0.1524) (type solid) (color 0 0 0 0))
(uuid d29de3be-7b06-406d-893d-e421222b8e27)
)
(bus_entry (at 62.23 33.02) (size -2.54 2.54)
(stroke (width 0.1524) (type solid) (color 0 0 0 0))
(uuid e60e4647-552b-44d5-b89b-00b8b28619a4)
)
(bus_entry (at 62.23 35.56) (size -2.54 2.54)
(stroke (width 0.1524) (type solid) (color 0 0 0 0))
(uuid fae2b0cd-57ce-467d-b659-388bcc312f4c)
)
(bus_entry (at 62.23 38.1) (size -2.54 2.54)
(stroke (width 0.1524) (type solid) (color 0 0 0 0))
(uuid e041973b-52f1-4059-9be2-fcb278066ca1)
)
(wire (pts (xy 34.29 30.48) (xy 41.91 30.48))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 23b1449d-36ee-4c8c-9ad0-77ac8c834412)
)
(wire (pts (xy 34.29 33.02) (xy 41.91 33.02))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid a3d6e9ad-8b24-443d-9ae0-638dc852470b)
)
(wire (pts (xy 34.29 35.56) (xy 41.91 35.56))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid d0e672d4-d43c-4c8a-b917-59d2ec5323ac)
)
(wire (pts (xy 34.29 38.1) (xy 41.91 38.1))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 9bbcce96-1fbe-4ba9-a9d6-a103870dad51)
)
(wire (pts (xy 34.29 40.64) (xy 41.91 40.64))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 521432e5-0e72-4fc3-bc7d-3c0f3c7f9548)
)
(wire (pts (xy 54.61 30.48) (xy 59.69 30.48))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid bdbb67df-5b78-4106-a131-7c4a30d7d804)
)
(wire (pts (xy 54.61 33.02) (xy 59.69 33.02))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 36f8db2e-0dd3-46ea-9597-4af8740828d6)
)
(wire (pts (xy 54.61 35.56) (xy 59.69 35.56))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 11793863-e2d0-4071-bc28-0aa63af63b0d)
)
(wire (pts (xy 54.61 38.1) (xy 59.69 38.1))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid a305b370-eec8-42de-9c2d-4085ddd30d05)
)
(wire (pts (xy 54.61 40.64) (xy 59.69 40.64))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 89ad3ad3-dc91-48d6-b310-3c16bb850b61)
)
(bus (pts (xy 29.21 20.32) (xy 31.75 20.32))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid e2eed31b-63b2-47f4-abb0-5ec86b98864a)
)
(bus (pts (xy 31.75 20.32) (xy 31.75 27.94))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 4a6e6d45-a1cd-45cb-849f-b7f7b565274d)
)
(bus (pts (xy 31.75 20.32) (xy 62.23 20.32))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid e2eed31b-63b2-47f4-abb0-5ec86b98864a)
)
(bus (pts (xy 31.75 27.94) (xy 31.75 30.48))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 4a6e6d45-a1cd-45cb-849f-b7f7b565274d)
)
(bus (pts (xy 31.75 30.48) (xy 31.75 33.02))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 4a6e6d45-a1cd-45cb-849f-b7f7b565274d)
)
(bus (pts (xy 31.75 33.02) (xy 31.75 35.56))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 4a6e6d45-a1cd-45cb-849f-b7f7b565274d)
)
(bus (pts (xy 31.75 35.56) (xy 31.75 38.1))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 4a6e6d45-a1cd-45cb-849f-b7f7b565274d)
)
(bus (pts (xy 62.23 20.32) (xy 62.23 27.94))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid ca176b47-e5d5-4bb6-8035-4e032dcbc3c5)
)
(bus (pts (xy 62.23 27.94) (xy 62.23 30.48))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid ca176b47-e5d5-4bb6-8035-4e032dcbc3c5)
)
(bus (pts (xy 62.23 30.48) (xy 62.23 33.02))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid ca176b47-e5d5-4bb6-8035-4e032dcbc3c5)
)
(bus (pts (xy 62.23 33.02) (xy 62.23 35.56))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid ca176b47-e5d5-4bb6-8035-4e032dcbc3c5)
)
(bus (pts (xy 62.23 35.56) (xy 62.23 38.1))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid ca176b47-e5d5-4bb6-8035-4e032dcbc3c5)
)
(label "Foo.D0" (at 41.91 30.48 180)
(effects (font (size 1.27 1.27)) (justify right bottom))
(uuid d6e5907a-0d95-4d4c-ae9f-72148ffa8173)
)
(label "Foo.D1" (at 41.91 33.02 180)
(effects (font (size 1.27 1.27)) (justify right bottom))
(uuid 7f0ce3c9-39eb-4efc-9763-3764825617d4)
)
(label "Foo.D2" (at 41.91 35.56 180)
(effects (font (size 1.27 1.27)) (justify right bottom))
(uuid ea7bd06f-c6a0-4353-9765-c98c4c4dc097)
)
(label "Foo.D3" (at 41.91 38.1 180)
(effects (font (size 1.27 1.27)) (justify right bottom))
(uuid d20032db-8e8b-4184-a8ea-d92d8f76750c)
)
(label "Foo.D4" (at 41.91 40.64 180)
(effects (font (size 1.27 1.27)) (justify right bottom))
(uuid e9cfd258-d721-4b8b-af0d-85fb3620dd8c)
)
(label "Foo.D5" (at 54.61 30.48 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 4f86d461-f581-411d-8da7-76eef529a893)
)
(label "Foo.D6" (at 54.61 33.02 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid f66c509f-3c2e-4423-b496-b83ad38347cd)
)
(label "Foo.D7" (at 54.61 35.56 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 89e3c711-ffa3-48aa-abf5-89744d53bb9f)
)
(label "Foo.CTL1" (at 54.61 38.1 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid ba2a30c9-3870-4bc3-b8a3-bf2eb14044d2)
)
(label "Foo.CTL2" (at 54.61 40.64 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 4ef3d651-de89-4e8f-9e7a-2bc977b19ecc)
)
(hierarchical_label "Foo{Bus1}" (shape bidirectional) (at 29.21 20.32 180)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 18e63454-c749-4661-a788-2c6a42eec1e9)
)
(symbol (lib_id "Connector_Generic:Conn_02x05_Odd_Even") (at 46.99 35.56 0) (unit 1)
(in_bom yes) (on_board yes)
(uuid 3931f39c-8ab8-4fed-bea5-f51ad460910c)
(property "Reference" "J1" (id 0) (at 48.26 27.94 0))
(property "Value" "Conn_02x05_Odd_Even" (id 1) (at 48.26 43.18 0))
(property "Footprint" "Connector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_Vertical" (id 2) (at 46.99 35.56 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 46.99 35.56 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 443b03b3-9e84-4238-8b29-5c8d48f81863))
(pin "10" (uuid 428659a1-1fdc-482c-8428-bffe246e3602))
(pin "2" (uuid f04efafd-bf82-4be7-9608-794481a08ca5))
(pin "3" (uuid 53035b27-e8ba-482c-8ecd-9de6a898e47c))
(pin "4" (uuid 4f160e5b-5b69-4a11-b496-b5062a4c648f))
(pin "5" (uuid af2ab1ee-f1fb-44c7-8f4c-6ee98f1ee95c))
(pin "6" (uuid 6d73d3b6-68fd-45bd-bf01-a223fc51be70))
(pin "7" (uuid 1744b850-010a-400e-9ad7-15eab262061f))
(pin "8" (uuid 9ed1a8d3-65bc-4eb9-86c2-89f004f71a9b))
(pin "9" (uuid f610c970-6b3a-435c-b261-e7ccb1b0bc68))
)
)

View File

@ -0,0 +1,306 @@
(kicad_sch (version 20210126) (generator eeschema)
(paper "A4")
(lib_symbols
(symbol "Connector_Generic:Conn_02x05_Odd_Even" (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
(property "Reference" "J" (id 0) (at 1.27 7.62 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "Conn_02x05_Odd_Even" (id 1) (at 1.27 -7.62 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (id 2) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "connector" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Generic connector, double row, 02x05, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "Connector*:*_2x??_*" (id 6) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "Conn_02x05_Odd_Even_1_1"
(rectangle (start -1.27 -4.953) (end 0 -5.207)
(stroke (width 0.1524)) (fill (type none))
)
(rectangle (start -1.27 -2.413) (end 0 -2.667)
(stroke (width 0.1524)) (fill (type none))
)
(rectangle (start -1.27 0.127) (end 0 -0.127)
(stroke (width 0.1524)) (fill (type none))
)
(rectangle (start -1.27 2.667) (end 0 2.413)
(stroke (width 0.1524)) (fill (type none))
)
(rectangle (start -1.27 5.207) (end 0 4.953)
(stroke (width 0.1524)) (fill (type none))
)
(rectangle (start 3.81 -4.953) (end 2.54 -5.207)
(stroke (width 0.1524)) (fill (type none))
)
(rectangle (start 3.81 -2.413) (end 2.54 -2.667)
(stroke (width 0.1524)) (fill (type none))
)
(rectangle (start 3.81 0.127) (end 2.54 -0.127)
(stroke (width 0.1524)) (fill (type none))
)
(rectangle (start 3.81 2.667) (end 2.54 2.413)
(stroke (width 0.1524)) (fill (type none))
)
(rectangle (start 3.81 5.207) (end 2.54 4.953)
(stroke (width 0.1524)) (fill (type none))
)
(rectangle (start -1.27 6.35) (end 3.81 -6.35)
(stroke (width 0.254)) (fill (type background))
)
(pin passive line (at -5.08 5.08 0) (length 3.81)
(name "Pin_1" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 7.62 -5.08 180) (length 3.81)
(name "Pin_10" (effects (font (size 1.27 1.27))))
(number "10" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 7.62 5.08 180) (length 3.81)
(name "Pin_2" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin passive line (at -5.08 2.54 0) (length 3.81)
(name "Pin_3" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 7.62 2.54 180) (length 3.81)
(name "Pin_4" (effects (font (size 1.27 1.27))))
(number "4" (effects (font (size 1.27 1.27))))
)
(pin passive line (at -5.08 0 0) (length 3.81)
(name "Pin_5" (effects (font (size 1.27 1.27))))
(number "5" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 7.62 0 180) (length 3.81)
(name "Pin_6" (effects (font (size 1.27 1.27))))
(number "6" (effects (font (size 1.27 1.27))))
)
(pin passive line (at -5.08 -2.54 0) (length 3.81)
(name "Pin_7" (effects (font (size 1.27 1.27))))
(number "7" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 7.62 -2.54 180) (length 3.81)
(name "Pin_8" (effects (font (size 1.27 1.27))))
(number "8" (effects (font (size 1.27 1.27))))
)
(pin passive line (at -5.08 -5.08 0) (length 3.81)
(name "Pin_9" (effects (font (size 1.27 1.27))))
(number "9" (effects (font (size 1.27 1.27))))
)
)
)
)
(junction (at 36.83 30.48) (diameter 1.016) (color 0 0 0 0))
(bus_entry (at 36.83 38.1) (size 2.54 2.54)
(stroke (width 0.1524) (type solid) (color 0 0 0 0))
(uuid e938b73c-bce1-402f-a1f8-a1fd779c5aaa)
)
(bus_entry (at 36.83 40.64) (size 2.54 2.54)
(stroke (width 0.1524) (type solid) (color 0 0 0 0))
(uuid 3084be82-55b1-44c8-a762-4c5eee7c16f4)
)
(bus_entry (at 36.83 43.18) (size 2.54 2.54)
(stroke (width 0.1524) (type solid) (color 0 0 0 0))
(uuid 2bca8d52-540b-4387-b266-e362783ee3a6)
)
(bus_entry (at 36.83 45.72) (size 2.54 2.54)
(stroke (width 0.1524) (type solid) (color 0 0 0 0))
(uuid e963d295-6998-4533-bf10-ab6d044ef051)
)
(bus_entry (at 36.83 48.26) (size 2.54 2.54)
(stroke (width 0.1524) (type solid) (color 0 0 0 0))
(uuid c3896561-947f-4f7c-a7ea-797b44f4d0cf)
)
(bus_entry (at 72.39 38.1) (size -2.54 2.54)
(stroke (width 0.1524) (type solid) (color 0 0 0 0))
(uuid 5179fd8c-3f9e-45b2-bd75-e1b98c476be9)
)
(bus_entry (at 72.39 40.64) (size -2.54 2.54)
(stroke (width 0.1524) (type solid) (color 0 0 0 0))
(uuid 11c967d3-a654-4999-80f6-137de0834ce5)
)
(bus_entry (at 72.39 43.18) (size -2.54 2.54)
(stroke (width 0.1524) (type solid) (color 0 0 0 0))
(uuid d9e16562-84f9-47dd-bef8-db5cff8b6910)
)
(bus_entry (at 72.39 45.72) (size -2.54 2.54)
(stroke (width 0.1524) (type solid) (color 0 0 0 0))
(uuid 777d70bd-31e6-4720-a991-ef28818bceb4)
)
(bus_entry (at 72.39 48.26) (size -2.54 2.54)
(stroke (width 0.1524) (type solid) (color 0 0 0 0))
(uuid a2e1407a-d08c-4193-9b59-ec6ecbc42a46)
)
(wire (pts (xy 39.37 40.64) (xy 46.99 40.64))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 116f62ed-ed80-4486-8428-990d63eeac40)
)
(wire (pts (xy 39.37 43.18) (xy 46.99 43.18))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 30151794-e745-4422-86f7-24ef234fc2d2)
)
(wire (pts (xy 39.37 45.72) (xy 46.99 45.72))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 7fcef07c-32d5-4d98-bfdd-73e8baf3949b)
)
(wire (pts (xy 39.37 48.26) (xy 46.99 48.26))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 65ed030d-83d1-4a7e-a91c-8b99886b08a9)
)
(wire (pts (xy 39.37 50.8) (xy 46.99 50.8))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 3ea99964-6823-4199-a334-38c93543e1a4)
)
(wire (pts (xy 59.69 40.64) (xy 69.85 40.64))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 0144359e-0e4c-4674-9ef4-38aa5a451954)
)
(wire (pts (xy 59.69 43.18) (xy 69.85 43.18))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid b3493e57-963d-4281-8ca0-2d05fa0118c2)
)
(wire (pts (xy 59.69 45.72) (xy 69.85 45.72))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid e0d3f3f8-f755-42c7-941a-08b66a8737e0)
)
(wire (pts (xy 59.69 48.26) (xy 69.85 48.26))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 8163a153-7fe4-4444-ab1d-c1a16f275449)
)
(wire (pts (xy 59.69 50.8) (xy 69.85 50.8))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid dc74633e-c136-407f-8662-02beaafc2080)
)
(bus (pts (xy 34.29 30.48) (xy 36.83 30.48))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid f2230445-04b5-4466-81dc-70d8c7bab2e7)
)
(bus (pts (xy 36.83 30.48) (xy 36.83 38.1))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 09aaff59-b915-429c-885d-ac161a86304a)
)
(bus (pts (xy 36.83 30.48) (xy 72.39 30.48))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 5ae396ce-7f15-437b-a8ca-b29cc13e40c4)
)
(bus (pts (xy 36.83 38.1) (xy 36.83 40.64))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 922fcf27-cbe6-4a20-8209-64481ae7a809)
)
(bus (pts (xy 36.83 40.64) (xy 36.83 43.18))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid d5ff0899-7ac2-4bb0-a032-2c8564f4a557)
)
(bus (pts (xy 36.83 43.18) (xy 36.83 45.72))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 73175aad-e725-4f5a-9599-86268342aacc)
)
(bus (pts (xy 36.83 45.72) (xy 36.83 48.26))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 32834738-6ee0-44cf-85de-69107d83fc45)
)
(bus (pts (xy 72.39 30.48) (xy 72.39 38.1))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid ef13a26b-de4d-4b81-aed3-8541be8878cd)
)
(bus (pts (xy 72.39 38.1) (xy 72.39 40.64))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 7eb23cc5-4d61-451b-bd02-392a3c659676)
)
(bus (pts (xy 72.39 40.64) (xy 72.39 43.18))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 67eba7bf-08fd-48d1-a92b-948006fee103)
)
(bus (pts (xy 72.39 43.18) (xy 72.39 45.72))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 90f0673f-851d-4905-af54-4b20befcb6b4)
)
(bus (pts (xy 72.39 45.72) (xy 72.39 48.26))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 6364e9e0-0e2b-4256-b55a-fd2d47b0420b)
)
(label "Bar.D0" (at 46.99 40.64 180)
(effects (font (size 1.27 1.27)) (justify right bottom))
(uuid 1d14dc04-c832-4eb2-95c2-f7a5dd6f0032)
)
(label "Bar.D1" (at 46.99 43.18 180)
(effects (font (size 1.27 1.27)) (justify right bottom))
(uuid 61b4c014-f819-4f4c-a825-ae6b195aebe9)
)
(label "Bar.D2" (at 46.99 45.72 180)
(effects (font (size 1.27 1.27)) (justify right bottom))
(uuid 79e1f558-07dc-4025-9318-f89ee0886fff)
)
(label "Bar.D3" (at 46.99 48.26 180)
(effects (font (size 1.27 1.27)) (justify right bottom))
(uuid e78b3769-ab79-42a1-af85-8a45f160df84)
)
(label "Bar.D4" (at 46.99 50.8 180)
(effects (font (size 1.27 1.27)) (justify right bottom))
(uuid c6b8d189-0eb1-40f7-a361-94fdc512c05b)
)
(label "Bar.D5" (at 59.69 40.64 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 0c716e5a-faaf-4972-a84a-8153de99e2c1)
)
(label "Bar.D6" (at 59.69 43.18 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 212e8e58-addb-4737-93e4-78dc7320ae0f)
)
(label "Bar.D7" (at 59.69 45.72 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid bafe506c-9bc3-43e3-a493-d32ad5a68c74)
)
(label "Bar.CTL1" (at 59.69 48.26 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 81ab5368-4c82-42bb-aa20-083d9fd687cb)
)
(label "Bar.CTL2" (at 59.69 50.8 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 11331747-f3bd-4e29-b518-2e222ec8be6a)
)
(hierarchical_label "Bar{Bus1}" (shape bidirectional) (at 34.29 30.48 180)
(effects (font (size 1.27 1.27)) (justify right))
(uuid f8a1ad11-787b-4678-8104-144fd9035a53)
)
(symbol (lib_id "Connector_Generic:Conn_02x05_Odd_Even") (at 52.07 45.72 0) (unit 1)
(in_bom yes) (on_board yes)
(uuid 4657f001-6170-44af-b9d7-533b2cbe84db)
(property "Reference" "J2" (id 0) (at 53.34 38.1 0))
(property "Value" "Conn_02x05_Odd_Even" (id 1) (at 53.34 53.34 0))
(property "Footprint" "Connector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_Vertical" (id 2) (at 52.07 45.72 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 52.07 45.72 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 443b03b3-9e84-4238-8b29-5c8d48f81863))
(pin "10" (uuid 428659a1-1fdc-482c-8428-bffe246e3602))
(pin "2" (uuid f04efafd-bf82-4be7-9608-794481a08ca5))
(pin "3" (uuid 53035b27-e8ba-482c-8ecd-9de6a898e47c))
(pin "4" (uuid 4f160e5b-5b69-4a11-b496-b5062a4c648f))
(pin "5" (uuid af2ab1ee-f1fb-44c7-8f4c-6ee98f1ee95c))
(pin "6" (uuid 6d73d3b6-68fd-45bd-bf01-a223fc51be70))
(pin "7" (uuid 1744b850-010a-400e-9ad7-15eab262061f))
(pin "8" (uuid 9ed1a8d3-65bc-4eb9-86c2-89f004f71a9b))
(pin "9" (uuid f610c970-6b3a-435c-b261-e7ccb1b0bc68))
)
)

View File

@ -278,4 +278,10 @@ BOOST_AUTO_TEST_CASE( NoConnects )
}
BOOST_AUTO_TEST_CASE( PrefixBusAlias )
{
doNetlistTest( "prefix_bus_alias" );
}
BOOST_AUTO_TEST_SUITE_END()