Store the ports in a map.
Generate constant and sine waveforms.