Changed NUM_INST to NUM_DVC_INST to use NUM_INP_INST and NUM_OUTP_INST