소스 검색

Add more debugs

Baglio Tabifata 4 년 전
부모
커밋
7f350024b9
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      src/net/hkzlab/dupal/boardio/DuPALAnalyzer.java

+ 3 - 1
src/net/hkzlab/dupal/boardio/DuPALAnalyzer.java

@@ -125,9 +125,11 @@ public class DuPALAnalyzer {
                     logger.info("Found no paths starting from ["+ms+"]");
                     ms = null;
                 } else {
+                    ms = slPath[slPath.length - 1].destSState.macroState; // Mark the new macro state
+                    
+                    logger.info("Found a path to another MacroState: ["+ms+"]");
                     // Traverse the path
                     for(StateLink sl : slPath) pulseClock(sl.raw_addr);
-                    ms = slPath[slPath.length - 1].destSState.macroState; // Mark the new macro state
                 }
             }
         }