Methodology for Developing Lightweight Architectures for FPGAs