The paper presents an automated FPGA-based real-time electromagnetic transients simulator for power electronics and power systems applications. The simulator features an automated procedure enabling its straightforward applications to different topologies by avoiding the need of complex FPGA programming.The proposed solver integrates: (i) the Modified Augmented Nodal Analysis (MANA) method, (ii) the Fixed Admittance Matrix Nodal Method (FAMNM), (iii) the optimal selection of the switch conductance param-eter, and (iv) efficient sparse matrix-to-vector multiplier. The simulator is able to accurately reproduce,in real-time, electromagnetic transients taking place in power electronics devices together with electro-magnetic waves propagating in transmission lines. The peculiar structure of the MANA-FAMNM solver enables to reach extremely low integration time steps and avoids the need to redesign the FPGA code. The results of the proposed simulator are validated by dedicated comparisons with off-line EMTP-RV simulations and a hardware-in-the-loop (HIL) test for a three-phase two-level inverter and a three-phase power network.