Non-volatile FPGA architecture based on Resistive Random-Access Memory