Programmable fabric