Similar Items: A Connectivity-Aware Via-Programmable DNN Processor Using a Single Photomask