Hardware Emulation Building Blocks for Real-Time Simulation of Large-Scale Power Grids