set_diagnosands function

Set the diagnosands for a design