Patent ID: 7313332

Claim:
A method of transmitting over an optical link an input data stream including first and second logical states, the method comprising: providing an optical source for generating an optical signal for transmission over said optical link, wherein said optical source is adapted to generate optical pulses at the occurrence of said first logical states; coding said input data stream into a coded data stream prior to the transmission over said optical link, by arranging said input data stream in a parallel format in a plurality of clusters over a respective plurality of lines, erasing a maximum number of logical first states in the lines of said input data stream in said parallel format and thus minimizing the first logical states in said coded data stream, generating a plurality of binary sequences, performing an XOR operation between each said cluster and each binary sequence and generating corresponding results, and searching said results to find an optimal sequence among said binary sequences that leads to the maximum number of first logical states being erased in said data stream; and driving said optical source by means of said coded data stream wherein the number of first logical states has been minimized.