Design of programmable, energy-efficient reconfigurable accelerators