{'fraction_non_alphanumeric': 0.0213857998289136, 'fraction_numerical': 0.003421727972626176, 'mean_word_length': 4.909090909090909, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Optical bit-WDM-pipelined arithmetic unit uses semiconductor optical amplifier cross-gain modulation

We describe a pipelined optical ripple carry adder that adds two words with bits multiplexed by different wavelengths on a single optical fiber. The result of addition is returned to the fiber bus in the same format as the incoming words. The ripple carry arithmetic unit splits the corresponding operand bit pairs off the fiber using WDM demultiplexers. Full adders constructed with semiconductor amplifiers (SOAs) are used to compute the sum and carry from each bit pair and the carry from the next lower significant bit pair. Cross- gain modulation in the SOA is used to: (1) convert incoming wavelengths to a common synchronized wavelength so that destructive interference exclusive ORs may be performed, (2) provide a complement or invert logic operation, (3) perform a NOR logic operation with two or three inputs, and (4) convert wavelength so that the output word is wavelength multiplexed on the outgoing optical fiber in the same format as the incoming words. The sum is computed using a sequence of two exclusive ORs. The carry is computed using NOR gates.