From c9e520e2dc28d1c2f7b53edbd9cfed0a5f5ae6f6 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sun, 16 Sep 2018 13:52:59 -0700 Subject: Expriments with functions. --- src/opt/dau/dauNpn.c | 4 ++-- src/opt/dau/module.make | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/opt/dau') diff --git a/src/opt/dau/dauNpn.c b/src/opt/dau/dauNpn.c index 52e0c487..dacdb02a 100644 --- a/src/opt/dau/dauNpn.c +++ b/src/opt/dau/dauNpn.c @@ -620,8 +620,8 @@ int Dau_InsertFunction( Abc_TtHieMan_t * pMan, word * pCur, int nNodes, int nInp int DumpDelta = 1000000; char Perm[16] = {0}; int nVarsNew = Abc_TtMinBase( pCur, NULL, nVars, nInputs ); - unsigned Phase = Abc_TtCanonicizeHie( pMan, pCur, nVarsNew, Perm, 1 ); - //unsigned Phase = Dau_RunNpn( pMan, pCur, nVarsNew, Perm ); + //unsigned Phase = Abc_TtCanonicizeHie( pMan, pCur, nVarsNew, Perm, 1 ); + unsigned Phase = Dau_RunNpn( pMan, pCur, nInputs, Perm ); int nEntries = Vec_MemEntryNum(vTtMem); int Entry = Vec_MemHashInsert( vTtMem, pCur ); if ( nEntries == Vec_MemEntryNum(vTtMem) ) // found in the table - not new diff --git a/src/opt/dau/module.make b/src/opt/dau/module.make index efc34a17..5feb1040 100644 --- a/src/opt/dau/module.make +++ b/src/opt/dau/module.make @@ -8,4 +8,5 @@ SRC += src/opt/dau/dauCanon.c \ src/opt/dau/dauMerge.c \ src/opt/dau/dauNonDsd.c \ src/opt/dau/dauNpn.c \ + src/opt/dau/dauNpn2.c \ src/opt/dau/dauTree.c -- cgit v1.2.3