Test Resource Partitioning for System-on-a-Chip door