The paper shows the design of all-optical logic gates OR, AND, NOT, NOR, XNOR, XOR at ultra high speed by using SOA. The simulations of all logic gates are obtained by XGM and FWM in SOA at 40 Gb/s and 60 Gb/s. The OR, AND, NOR logic between two data sources are obtained using a pump signal, while another logic XNOR using two data. The NOT, XOR obtained using FWM and XGM combined. Thus realization of these logics at 40 Gb/s and 60 Gb/s will lead revolution growth in optical signal processing for high-speed operation.