Many boards come with board-board connectors that can be used to connect another PCB to add new functionality. There are many examples of this. Some that come to mind are Arduino shield, Click boards™, mikroBUS™, PMOD, HSMC, FMC among others. Some are designed for high-speed applications like HSMC and FMC. Then we also have the concept of a system on a module.
ICs on the add-on board will also require power and the schemes mentioned above contain several pins for different voltage rails and GND. This brings me to my question:
What is the correct way to supply power to add-on board ICs from the main board?
i. Connect the 5V, 3.3V e.t.c rails directly to the ICs and just use some decoupling capacitors?
ii. Take the high voltage rail from the main board and connect it to a linear or switching regulator on the add-on board to generate all the voltage rails required on the add-on board?
Or maybe there is another option? The main issue is that the power supply network of the add-on board must have power integrity. Else it shall not work reliably.