A Novel Methodology on Optimizing the Performance of Multi-core Processor Using FPGA