I/O Interfacing, Monitoring and Optimization of Energy-constrained Real-time FPGA-SoCs