Modern photonic integrated circuits (PICs) integrate multiple optical subsystems on a single chip, which greatly reduces the traditional cost structure for DWDM ROADMs (reconfigurable optical add/drop multiplexers). This allows ROADMs to be cost-effectively architected for the first time using an Optical-Electrical-Optical (OEO) conversion for every wavelength at every node, thereby allowing the use of digital electronic switches for reconfigurability instead of all-optical, wavelength-only switches. The resulting digital ROADM enables new capabilities and yields significant advantages over analog all-optical ROADMs.