Radiation-hard ASICs for optical data transmission in the first phase of the LHC upgrade