I attach below 3 screenshots of a small sample projects which illustrates my issue with the bus hierarchy. There is a main block (B) which contains two similar bus inputs “SER1” and “SER2”
These two busses connect via a top schematic to two instances of another block A:
I interpret that ERC complains because the Netnames on the bus wires are different to the hierarchical labels.
But it is impossible for me to always use the full net name description in the hierarchical labels. The hierarchical blocks would look extremely big and ugly.
Can I safely ignore these errors/warnings or how should I handle this situation? ( I am very new to Kicad)
The trick is to attach the bus signals on the sheet connectors. You can also use the bus alias feature, to generate an alias for many signals and place the alias into it.
E.g. if you have a bus called SPI{PICO POCI SCLK CS} you can generate a bus alias for SPI and rename the bus to SPI{SPI}.
Thanks, I’ll try this. I wanted to avoid calling the hierachical ports with the full bus description…
It appears that the Bus Alias feature can at least help shorten these descriptions.
One thing I dislike about your solution is that to me the net names seem undefined, as they don’t appear unambiguously in the top schematic. In the top schematic there are two conflicting descriptions (one from A1 and one from B). So how is this resolved ? Or rather: will it always be resolved in the same way ?