Digital core output test data compression architecture based on switching theory concepts