Here 3 input OR Gate,3 input AND Gate,4 input OR Gate,4 input AND Gate, is implemented by creating it's Sub-circuit.