Design and analysis of minimum energy FPGAs