mirror of https://github.com/YosysHQ/abc.git
Add comment to Wlc_NtkGetInv about vNamesIn's role
This commit is contained in:
parent
d55e8fab82
commit
b82a7f4677
|
|
@ -166,6 +166,8 @@ Abc_Ntk_t * Wlc_NtkGetInv( Wlc_Ntk_t * pNtk, Vec_Int_t * vInv, Vec_Ptr_t * vName
|
|||
if ( Entry == 0 )
|
||||
continue;
|
||||
pMainObj = Abc_NtkCreatePi( pMainNtk );
|
||||
// If vNamesIn is given, take names from there for as many entries as possible
|
||||
// otherwise generate names from counter
|
||||
if (vNamesIn != NULL && i < Vec_PtrSize(vNamesIn)) {
|
||||
Abc_ObjAssignName( pMainObj, (char *)Vec_PtrEntry(vNamesIn, i), NULL );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue