Skip to content

eeschema incorrectly merges nets based on Hierarchical Sheet Pin name and Global Label name

Description

I two instantiations of the saem subsheet. When I add a global label to one of the signals nets get merged. See example project, if the global label is removed the netlist is correct.bug.zip

Steps to reproduce

KiCad Version

Application: Eeschema
Version: (5.99.0-1292-g4a2a5a940), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.68.0 OpenSSL/1.1.1d zlib/1.2.11 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.40.0
Platform: Linux 4.19.81 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    Build date: Apr 14 2020 20:56:40
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.72.0
    OpenCASCADE Technology: 7.3.0
    Curl: 7.68.0
    Compiler: GCC 9.2.0 with C++ ABI 1013

Build settings:
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=OFF
    KICAD_USE_OCC=ON
    KICAD_SPICE=ON
Edited by Eeli Kaikkonen