Describir: SpectreHDL model of a photodetector cell for electrical simulation and its application in a WTA based light spot center location circuit