In this study, we introduce a design of all-optical module for half-adder/half-subtracter and 2-to-4 decoder that generates simultaneously five of all-optical logic gates at 10 Gbps. These logic gates use dispersion compensation fiber (DCF) based on four-wave mixing (FWM). This design is integrated and economic. The various outputs can be manipulated by controlling nonlinear polarization rotati...