Hardware Architecture for Pattern Recognition in Gamma-Ray Experiment. (10th September 2009)