Lattice Semiconductor to buy software firm AMI in $1.65 billion deal — Reuters