Browse Source

Invert phase, again

Baglio Tabifata 5 years ago
parent
commit
a151542460

+ 2 - 2
src/main/java/info/hkzlab/dupal/analyzer/palanalisys/formatter/EspressoFormatter.java

@@ -43,8 +43,8 @@ public class EspressoFormatter {
         strBuf.append("\n");
        
         strBuf.append(".phase ");
-        for(int idx = 0; idx < outCount; idx++) strBuf.append(pSpecs.isActiveLow() ? '1' : '0');
-        for(int idx = 0; idx < outCount_oe; idx++) strBuf.append('0');
+        for(int idx = 0; idx < outCount; idx++) strBuf.append(pSpecs.isActiveLow() ? '0' : '1');
+        for(int idx = 0; idx < outCount_oe; idx++) strBuf.append('1');
         strBuf.append("\n\n");
         
         return strBuf.toString();