Proxy wrote:
so to me that seems like the global labels aren't actually working and the only reason the data bus one didn't throw an error is because of the local label attatched to the same bus.
Whupps, hadn't spotted that. Thanks for pointing it out! I deleted that local label and the data bus still works. Still, on that sheet, U502 and U505 are at least connected
to each other through the bus; whereas the address bus that's giving me trouble isn't connected to anything else on its sheet. It seems like the global labels are not connecting sheet to sheet. (I now know they *are* connecting sheet to sheet, thanks to the highlight tool that George made me aware of.)
gfoot wrote:
If in doubt, I think Alt-4 will highlight everything connected to a wire you hover over, so you can verify what is or is not connected.
Oh hey! Thanks for the tip. It's not Alt-4 on Mac, but now that I know that feature exists, it was easy to discover how to activate it. This is a great tool! It works
across sheets, so that if I highlight the address bus on the main sheet, everything on the other sheets that connect to the address bus also light up!
Attachment:
Screen Shot 2023-07-13 at 2.46.57 PM.png [ 36.16 KiB | Viewed 852 times ]
Unfortunately it doesn't seem to clear up what's happening. All those "unconnected" labels appear to in fact be connected!
Attachment:
Screen Shot 2023-07-13 at 2.53.06 PM.png [ 11.86 KiB | Viewed 852 times ]
"A pin with a 'no connection' flag is connected."
Attachment:
Screen Shot 2023-07-13 at 2.59.37 PM.png [ 10.25 KiB | Viewed 852 times ]
"Label not connected to anything."
gfoot wrote:
But the main reason you're getting ERC errors, I think, is that you're using "bus-to-bus entries" to make 45-degree lines - they are not normal connections, so one side of them is not actually the same bus as the other! Either draw 45-degree lines by hand (tedious) or just don't draw the 45-degree lines at all. If in doubt, I think Alt-4 will highlight everything connected to a wire you hover over, so you can verify what is or is not connected.
I'm not sure what that means, "bus-to-bus entries?" I made the bus with the blue drawing tool that looks like a forward slash. I defined its net using the "global label" tool that looks like an A inside of a chevron. To connect individual pins to the bus I used the right click menu "unfold from bus" tool that I saw in the "bus" tutorial:
Attachment:
Screen Shot 2023-07-13 at 3.04.37 PM.png [ 90.54 KiB | Viewed 852 times ]
That creates the local label "A4," a bus entry wire, and changes the tool into the green "wire drawing" tool so you can connect to the pin:
Attachment:
Screen Shot 2023-07-13 at 3.07.12 PM.png [ 13.97 KiB | Viewed 852 times ]
And, in fact, this seems to work! This demo connection makes the error about A4 go away!
Attachment:
Screen Shot 2023-07-13 at 3.08.01 PM.png [ 11.54 KiB | Viewed 852 times ]
This is frustrating! I feel like I must be missing something, but maybe it's just a weird bug? I think it must be. This works:
Attachment:
Screen Shot 2023-07-13 at 3.27.05 PM.png [ 20.88 KiB | Viewed 852 times ]
And A4 is highlighted on the other sheets too, like you would expect. But if I delete the demo bus:
Attachment:
Screen Shot 2023-07-13 at 3.29.37 PM.png [ 11.17 KiB | Viewed 852 times ]
it says the label is unconnected
but it still highlights A4 on the other sheets. I guess I have spent enough time on this; I'll just delete those address buses and use individual global labels for the `688 and `138. Thanks for helping investigate; at least I learned how the highlight tool works, which is quite useful!