mirror of https://github.com/YosysHQ/abc.git
Fixing the problem of identically named signals in 'retime'.
This commit is contained in:
parent
fc1897fb18
commit
76670892c2
|
|
@ -475,8 +475,8 @@ void Abc_NtkRetimeMinAreaUpdateLatches( Abc_Ntk_t * pNtk, Vec_Ptr_t * vMinCut, i
|
|||
pLatchOut = Abc_NtkCreateBo(pNtk);
|
||||
pLatch = Abc_NtkCreateLatch(pNtk);
|
||||
pLatchIn = Abc_NtkCreateBi(pNtk);
|
||||
Abc_ObjAssignName( pLatchOut, Abc_ObjName(pObj), "_out" );
|
||||
Abc_ObjAssignName( pLatchIn, Abc_ObjName(pObj), "_in" );
|
||||
Abc_ObjAssignName( pLatchOut, Abc_ObjName(pObj), "_o1" );
|
||||
Abc_ObjAssignName( pLatchIn, Abc_ObjName(pObj), "_i1" );
|
||||
// connect
|
||||
Abc_ObjAddFanin( pLatchOut, pLatch );
|
||||
Abc_ObjAddFanin( pLatch, pLatchIn );
|
||||
|
|
|
|||
|
|
@ -169,8 +169,8 @@ int Abc_NtkRetimeFinalizeLatches( Abc_Ntk_t * pNtk, st__table * tLatches, int nI
|
|||
// this is a new latch
|
||||
pLatchIn = Abc_NtkCreateBi(pNtk);
|
||||
pLatchOut = Abc_NtkCreateBo(pNtk);
|
||||
Abc_ObjAssignName( pLatchOut, Abc_ObjName(Abc_ObjFanin0(pLatch)), "_out" );
|
||||
Abc_ObjAssignName( pLatchIn, Abc_ObjName(Abc_ObjFanin0(pLatch)), "_in" );
|
||||
Abc_ObjAssignName( pLatchOut, Abc_ObjName(Abc_ObjFanin0(pLatch)), "_o2" );
|
||||
Abc_ObjAssignName( pLatchIn, Abc_ObjName(Abc_ObjFanin0(pLatch)), "_i2" );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue