Text this: Design of integrated circuits for optical communications