diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2020-02-20 12:02:55 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2020-02-20 12:02:55 -0800 |
commit | b1802e4fdc32473d3c2fb30c1dbdbc6c33939695 (patch) | |
tree | 45f0a26a2f2c578e9b3396326d5a0496530a3e33 | |
parent | c086edaa9f99f47944f5b928806fe8885a3fcd10 (diff) | |
download | abc-b1802e4fdc32473d3c2fb30c1dbdbc6c33939695.tar.gz abc-b1802e4fdc32473d3c2fb30c1dbdbc6c33939695.tar.bz2 abc-b1802e4fdc32473d3c2fb30c1dbdbc6c33939695.zip |
Assertion failure in reading NDR.
-rw-r--r-- | src/base/wlc/wlcNdr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/base/wlc/wlcNdr.c b/src/base/wlc/wlcNdr.c index e0be9002..3212500f 100644 --- a/src/base/wlc/wlcNdr.c +++ b/src/base/wlc/wlcNdr.c @@ -504,9 +504,10 @@ Wlc_Ntk_t * Wlc_NtkFromNdr( void * pData ) { int iObj = Wlc_ObjId(pNtk, pObj); int NameId = Wlc_ObjNameId(pNtk, iObj); - word Truth = Vec_WrdEntry(vTruths, NameId); + word Truth; if ( pObj->Type != WLC_OBJ_LUT || NameId == 0 ) continue; + Truth = Vec_WrdEntry(vTruths, NameId); assert( sizeof(void *) == 8 || Wlc_ObjFaninNum(pObj) < 6 ); Vec_WrdWriteEntry( pNtk->vLutTruths, iObj, Truth ); } |