Hierarchical test pattern generation: a cost model and implementation | IEEE Journals & Magazine | IEEE Xplore