Simulating and testing the design. You generally don't want to spend millions of dollars on a semiconductor mask set unless you're sure the design will work correctly.
This part usually takes longer than the actual logic design and transistor layout phases.