Commit 883e21fe by Alan Mishchenko

Improvements to DSD manager.

parent 329cdc35
...@@ -73,7 +73,7 @@ int Kit_GraphToGia( Gia_Man_t * pMan, Kit_Graph_t * pGraph, Vec_Int_t * vLeaves, ...@@ -73,7 +73,7 @@ int Kit_GraphToGia( Gia_Man_t * pMan, Kit_Graph_t * pGraph, Vec_Int_t * vLeaves,
int i; int i;
// collect the fanins // collect the fanins
Kit_GraphForEachLeaf( pGraph, pNode, i ) Kit_GraphForEachLeaf( pGraph, pNode, i )
pNode->iFunc = Vec_IntEntry( vLeaves, i ); pNode->iFunc = vLeaves ? Vec_IntEntry(vLeaves, i) : Gia_Obj2Lit(pMan, Gia_ManPi(pMan, i));
// perform strashing // perform strashing
return Kit_GraphToGiaInternal( pMan, pGraph, fHash ); return Kit_GraphToGiaInternal( pMan, pGraph, fHash );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment