Created
March 28, 2025 15:46
-
-
Save panther03/5456cd24d5e9bb3da929be8c8aeeea28 to your computer and use it in GitHub Desktop.
patch ABC to parse "^" in XAG
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/base/io/ioReadEqn.c b/src/base/io/ioReadEqn.c | |
index 1e4f5d46..e3349ed4 100644 | |
--- a/src/base/io/ioReadEqn.c | |
+++ b/src/base/io/ioReadEqn.c | |
@@ -154,7 +154,7 @@ Abc_Ntk_t * Io_ReadEqnNetwork( Extra_FileReader_t * p ) | |
// make a copy of formula for names | |
pFormulaCopy = Extra_UtilStrsav( pFormula ); | |
// find the names of the fanins of this node | |
- Io_ReadEqnStrCutAt( pFormulaCopy, "!*+()", 1, vVars ); | |
+ Io_ReadEqnStrCutAt( pFormulaCopy, "!*^+()", 1, vVars ); | |
} | |
// create the node | |
pNode = Io_ReadCreateNode( pNtk, pNodeName, (char **)Vec_PtrArray(vVars), Vec_PtrSize(vVars) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment