Modeling and simulation of an all-optical pattern correlator for optical communications | IEEE Conference Publication | IEEE Xplore