A method for testing a system on a chip (SOC), the SOC comprising, a test wrapper surrounding an interface of a hard macro, the test wrapper comprising a scan chain, the method comprising:
- receiving, by the test wrapper, a known test data pattern;
- receiving, to the interface of the hard macro, a set of non-test standard SOC inputs through the test wrapper when the SOC is not in a test mode and receiving the known test data pattern when the SOC is in the test mode, the interface of the hard macro including a test pin;
- and
- testing the hard macro utilizing the known test data pattern.