If an IO port with 20 pins total, each driving 50pF capacitive load, or total of 1nF if simultaneously switching, from capacitive divider perspective, a 100nF is definitely enough for 1% ripple voltage (worst case first order approximation) seen over the capacitor, but 10nF is marginal. Although with 20 pins you'd usually have an another Vcc pin already.
Yes, in exceptional cases like this, it would be prudent to use more. It's not instantaneous, so the exact figure depends how much is available from nearby sources as well. With routed VCC, depends on the Fc and Zo of the route; with planes, Zo can be much lower and you might not care.
Back in the days of discrete logic gates, octal bus drivers were the most exceptional, and that's still only eight. For general gates that can't change all at once, and aren't so heavily loaded, less will do.
A higher ripple voltage may also be tolerable; 10% would probably be pushing it, but less than that I would expect low BER.
On-chip PDN has the same problem; evidently they're quite tolerant of ripple, enough that self-capacitance (of inactive gates, during a given cycle) suffices to cover it. And a few stacked VDD/VSS metal layers doesn't hurt.
What with the days of discrete logic being long gone, this isn't of much importance anymore I suppose. In any case, just have enough capacitance, or in general, low enough ⌈Zo⌉, to meet the device requirements as it's connected and used.
A shame literally no one defines maximum supply impedance, or characterizes their power pins in a handy way (possibly in IBIS models but I never had to use 'em).
With today's availability of high-capacitance MLCCs in small packages, it really doesn't matter much. You could always use say 47nF (which was a surprisingly widely used decoupling cap with discrete logic and ICs I think)
I think I've seen 10, 22, 47 and 100nF appear commonly on TTL boards, yeah.
Heh, a few years ago during the capacitor shortage, it might've even paid to make such a change. But that's a temporary thing... like today's chip shortage, although it's worse this time around.
but 100nF and even 1uF are available in the same package, practically same cost (especially if you calculate any price for the PCB real estate, stocking or ordering, and placement), and excess capacitance rarely isn't a problem even with 1u parts although I do admit if you have a lot of them in parallel the total can be significant from surge current perspective and damping it becomes even more important.
100n rarely causes problems by being too little or too much, maybe that made it so popular. And even if you end up using the worst offender Y5V parts, you still have at least some 20nF actual... Which is likely enough, usually at least.
Yep, not sure that there's even any meaningful cost difference, at least until you're buying pallets at a time.
Tim