0
\$\begingroup\$

So I am fairly new to using KiCad, and I have encountered a problem. I recently learned how to make hierarchical pins for bus assignments with the notation. NAME[start_index..end_index]

Everything works fine when I use this notation to connect hierarchical sheets. It even goes by position from the start index of the output to the end index, when the names change between the hierarchical sheets. (I looked at the generated netlist to confirm this)

When I bring the bus into its parent sheet and create bus entries and connections, it says the pins are not connected. Do I need to create another sub-sheet to complete, does it not let you use a bus in the parent sheet?

Note: Error was confirmed in ERC to be unconnected pins, and pins are the only ones in their net.

top sheet

sub-sheet X

sub-sheet plc

\$\endgroup\$
  • 1
    \$\begingroup\$ If you pick up the IC and move it, do the nets follow? \$\endgroup\$ – Ron Beyer Sep 12 '19 at 21:56
  • \$\begingroup\$ @RonBeyer KiCad never does that by default. What you are describing is drag mode, which can be used by hovering over the component and pressing g. \$\endgroup\$ – Caleb Reister Sep 12 '19 at 23:43
  • 1
    \$\begingroup\$ It looks like you need to add square brackets to your net labels. PLC0 is not the same as PLC[0]. \$\endgroup\$ – Caleb Reister Sep 12 '19 at 23:48
  • \$\begingroup\$ @Caleb Reister I haven't had to add brackets before for it to work as expected. Is there some reason I would need to add it for the parent sheet? \$\endgroup\$ – Dustin K Sep 13 '19 at 13:03
  • \$\begingroup\$ Adding square brackets to label, did not work. \$\endgroup\$ – Dustin K Sep 13 '19 at 13:05
2
\$\begingroup\$

So it seems you need to add labels to the actual bus in the format name[start..end] when transferring busses between parents and sub-sheets, which is not very consistent with the way it works between sub-sheets.

Top Level Sheet

top

Subsheet

bottom

|improve this answer|||||
\$\endgroup\$
  • 1
    \$\begingroup\$ This is an interesting finding and actually something one should maybe bring up in the issue system of KiCAD ( bugs.launchpad.net/kicad ) \$\endgroup\$ – Christian B. Sep 19 '19 at 5:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.