cjs wrote:
In other words, every IC's ground pin gets wired directly to the the ground pin of the four ICs adjacent to it, side to side and above and below?
Yes, a grid is what you want... more or less. More particularly, for any signal trace from A to B ("some pin" on one IC to "some pin" on some other IC), you ideally want a return path available which takes
the same route as the signal path.
A grid is easy to design, and it makes multiple return paths available... which means any A-to-B signal path has an approximately matching return path nearby. The return path will have extra jigs and jogs because it's confined to the east-west and north-south lines of the grid. (With a ground plane, there are no unnecessary jigs and jogs because the return current is free to follow ANY possible path. The return current "wants" to hug the signal path. The closest hugging path is the most attractive path.)
The grid falls short of perfection because jigs and jogs won't match the signal path exactly.
(
Unless you're canny, and lay out the ground connections firstly... and only then route your Clock or other critical signals so they DO match exactly. )
If the signal path is diagonal, the ideal return path is also diagonal.
If the signal path is meandering,
the ideal return path is also meandering. Notice what we're seeing here. In this latter case
a longer wire is actually better.
Of course we prefer that both of those paths be short. But if there's a meandering signal path from A to B, and that route can't be improved, then
a meandering ground path is better than a straight ground path from A to B. What's most important is for the return path to hug the signal path.
Quote:
And then wouldn't you want to do the same for Vcc as well, because when an IC is pulling a signal low it's sinking current that must return to the source via the Vcc lines? Or am I confused about that somehow?
I'm gonna dodge that question for fear of getting confused myself! But what we're concerned about is high-frequency signals (like ringing), not DC. So, for purposes of this discussion I believe it's unhelpful to distinguish between pulling high and pulling low.
Also: where high-frequency signals are concerned, it's useful to view a capacitor as just a piece of wire (its capacitance means it has low impedance). That's simplifying slightly, as it also has some inductance. But on the question of having
two grids -- one each for Gnd and Vcc -- IMO it's almost as good to just have one grid, with "pieces of wire" as local connect points for the grid that's absent.
(Hm, Garth just posted saying he considers the Vcc grid less critical but still very helpful. IOW, we agree it's better to have two grids, but differ on the question of
how much better. I concede that caps with long leads, as used in this project, make comparatively poor "pieces of wire" and thus adding a Vcc grid may be very helpful. But where SMD caps are properly used, I'd say a single grid approach is more viable, and adding a second one won't make as much difference.)
-- Jeff