A Brain-Inspired VLSI Architecture for Nano Devices and Circuits