[eeschema] inconsistent implicit net connectivity in buses
Maybe the same as #10428? Although the bug here is that KiCad is not connecting things that I believe it should be.
Description
Perhaps best explained with a picture:
Given the following schematic and bus definitions, you'd expect J1.1 to connect to J2.1, J1.2->J2.2, and J1.3->J2.3:
pdf version: bus_connection.pdf
(bus_alias "a_xyz" (members "x" "y" "z"))
(bus_alias "b_x" (members "x"))
(bus_alias "b_yz" (members "y" "z"))
But if you poke around, only y -- which was explicitly broken out -- connects through. It's clear in both the connection naming in the status bar when clicking around (only y has the top-level net name in /a2/b/), as well as in the generated netlist:
(nets
(net (code "1") (name "/a2/test.x")
(node (ref "J2") (pin "1") (pinfunction "Pin_1") (pintype "passive")))
(net (code "2") (name "/a2/test.z")
(node (ref "J2") (pin "3") (pinfunction "Pin_3") (pintype "passive")))
(net (code "5") (name "/top.x")
(node (ref "J1") (pin "1") (pinfunction "Pin_1") (pintype "passive")))
(net (code "6") (name "/top.y")
(node (ref "J1") (pin "2") (pinfunction "Pin_2") (pintype "passive"))
(node (ref "J2") (pin "2") (pinfunction "Pin_2") (pintype "passive")))
(net (code "7") (name "/top.z")
(node (ref "J1") (pin "3") (pinfunction "Pin_3") (pintype "passive")))))
Steps to reproduce
- Try out bus_connection.zip
- Explore, check netlists and such.
KiCad Version
Application: KiCad
Version: (7.0.0-rc2-248-gd4ca54a798), release build
Libraries:
wxWidgets 3.0.5
FreeType 2.11.1
HarfBuzz 2.7.4
FontConfig 2.13.1
libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.13
Platform: Ubuntu 22.04.2 LTS, 64 bit, Little endian, wxGTK, xubuntu, x11
Build Info:
Date: Feb 9 2023 11:02:08
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.74.0
OCC: 7.5.2
Curl: 7.81.0
ngspice: 36
Compiler: GCC 11.3.0 with C++ ABI 1016
Build settings:
KICAD_SPICE=ON