The document presents an efficient algorithm for co-optimizing test access mechanisms (TAM) and wrappers to minimize test application time in core-based system-on-chip (SoC) designs. It discusses the necessity of modular testing and the importance of optimizing TAM width and core assignments to improve overall testing efficiency. The proposed algorithm is validated through simulations on two different SoC architectures, demonstrating significant reductions in testing time compared to previously referenced methods.