A Chinese chipmaker has agreed to pay $175 million to computer chip giant Taiwan Semiconductor Manufacturing Co. to resolve a patent lawsuit that included allegations the Chinese company stole trade secrets, the Taiwanese company said.

TSMC, the world’s largest maker of made-to-order chips, said in a statement Sunday night that its Chinese rival — Semiconductor Manufacturing International Corp. — has agreed to pay the amount in installments over the next six years.