Bio-Inspired Hardware Architectures For Memory, Image Processing, And Control Applications