Logic Circuit for Cycle Detection in a State Diagram | IEEE Journals & Magazine | IEEE Xplore