Title: Real-time Digital Signal Processing for Software-defined Optical Transmitters and Receivers