Commit 0a346a36 by Alan Mishchenko

Improvements to the new technology mapper.

parent 9b02a26a
...@@ -35,11 +35,11 @@ ABC_NAMESPACE_IMPL_START ...@@ -35,11 +35,11 @@ ABC_NAMESPACE_IMPL_START
typedef struct Jf_Cut_t_ Jf_Cut_t; typedef struct Jf_Cut_t_ Jf_Cut_t;
struct Jf_Cut_t_ struct Jf_Cut_t_
{ {
word Sign; word Sign; // signature
float Flow; float Flow; // flow
int Time; int Time; // arrival time
int iFunc; int iFunc; // function
int pCut[JF_LEAF_MAX+1]; int pCut[JF_LEAF_MAX+1]; // cut
}; };
typedef struct Jf_Man_t_ Jf_Man_t; typedef struct Jf_Man_t_ Jf_Man_t;
...@@ -1222,7 +1222,6 @@ Gia_Man_t * Jf_ManDeriveMappingGia( Jf_Man_t * p ) ...@@ -1222,7 +1222,6 @@ Gia_Man_t * Jf_ManDeriveMappingGia( Jf_Man_t * p )
} }
Gia_ManForEachCo( p->pGia, pObj, i ) Gia_ManForEachCo( p->pGia, pObj, i )
{ {
int s = Gia_ObjFaninId0p(p->pGia, pObj);
iLit = Vec_IntEntry( vCopies, Gia_ObjFaninId0p(p->pGia, pObj) ); iLit = Vec_IntEntry( vCopies, Gia_ObjFaninId0p(p->pGia, pObj) );
Gia_ManAppendCo( pNew, Abc_LitNotCond(iLit, Gia_ObjFaninC0(pObj)) ); Gia_ManAppendCo( pNew, Abc_LitNotCond(iLit, Gia_ObjFaninC0(pObj)) );
} }
...@@ -1243,7 +1242,6 @@ Gia_Man_t * Jf_ManDeriveMappingGia( Jf_Man_t * p ) ...@@ -1243,7 +1242,6 @@ Gia_Man_t * Jf_ManDeriveMappingGia( Jf_Man_t * p )
// attach mapping and packing // attach mapping and packing
assert( pNew->vMapping == NULL ); assert( pNew->vMapping == NULL );
pNew->vMapping = vMapping; pNew->vMapping = vMapping;
// Gia_ManMappingVerify( p->pGia );
Gia_ManSetRegNum( pNew, Gia_ManRegNum(p->pGia) ); Gia_ManSetRegNum( pNew, Gia_ManRegNum(p->pGia) );
return pNew; return pNew;
} }
......
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