summaryrefslogtreecommitdiffstats
path: root/src/base/abci/abcAttach.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/abci/abcAttach.c')
-rw-r--r--src/base/abci/abcAttach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/abci/abcAttach.c b/src/base/abci/abcAttach.c
index ad435d6d..89cb53c3 100644
--- a/src/base/abci/abcAttach.c
+++ b/src/base/abci/abcAttach.c
@@ -88,7 +88,7 @@ int Abc_NtkAttach( Abc_Ntk_t * pNtk )
for ( i = 1; i < nGates; i++ )
puTruthGates[i] = puTruthGates[i-1] + 2;
for ( i = 0; i < nGates; i++ )
- Mio_DeriveTruthTable( ppGates[i], uTruths, Mio_GateReadInputs(ppGates[i]), 6, puTruthGates[i] );
+ Mio_DeriveTruthTable( ppGates[i], uTruths, Mio_GateReadPinNum(ppGates[i]), 6, puTruthGates[i] );
// assign the gates to pNode->pCopy
Abc_NtkCleanCopy( pNtk );