Economics of R&D specialization in the semiconductor industry