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