If this is in the forum, I cannot find it.
I created a schematic with a bunch of connectors that are tied together with busses - an Arduino Mega 2560 shield. One page. Then I created an hierarchical page and put it all in there, because II wanted to incorporate it with another schematic I already had. In the new project, I started with the one that had all of the stuff - uarts, ADC, etc. I want to make it into a shield. So, in that project, I created a hierarchical child page of the name “shield”, and copied my existing child page “shield.sch” over the the just created “shield.sch.”
Time passes. I create a netlist in my schematic. I lay out all the parts on the pcb. Then I goto run the traces. I notice none of the parts in the ratsnest connect to the pins on my shield connectors. I look at the netlist with vim.
Wonder of wonders, I see all of my I2C devices (for example) have SDA connected to each other. I look in the netlist file (.net) and see the name SDA for them. cooll. BUT - I look for the name of the connector. It is “/shield/SDA” All others are just “SDA” Obvious mismatch of the text strings.
So I goto my original schematics with all of the parts (the one I am laying out). I create a new hierarchical page “foo” an save/paste all of the shield page stuff to the new page “foo”.
I expect this to work. It does not. In the netlist, “/shield/SDA” is now “/foo/SDA”.
No, if needed, I can edit the netlist file and eliminate the “/foo/”, but that is a band-aid. But this would be a desperation move, used only in extreme “world will end” cases.
If needed, I can supply example .sch files.
I know I should have started with my shield schematic, but this is silly. This is obviously a problem with one or two minor things which take 3 days of pounding one’s head into the wall.
Thank you for your attention! … bandit