A Memory Based Filed Programmable Device for Energy saving MCUs