diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2016-03-10 23:03:53 +0900 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2016-03-10 23:03:53 +0900 |
commit | 74328f52da31d827840c972d7c55a257831b22fe (patch) | |
tree | 2ae797d424d5fbcbc4ce248d38ae14d154691c15 /src/base/wlc/wlcWriteVer.c | |
parent | 847d661beec552914ff25004f40a14f4fbd10302 (diff) | |
download | abc-74328f52da31d827840c972d7c55a257831b22fe.tar.gz abc-74328f52da31d827840c972d7c55a257831b22fe.tar.bz2 abc-74328f52da31d827840c972d7c55a257831b22fe.zip |
Supporting complemented reduction operators.
Diffstat (limited to 'src/base/wlc/wlcWriteVer.c')
-rw-r--r-- | src/base/wlc/wlcWriteVer.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/base/wlc/wlcWriteVer.c b/src/base/wlc/wlcWriteVer.c index bb490a66..a8e225ff 100644 --- a/src/base/wlc/wlcWriteVer.c +++ b/src/base/wlc/wlcWriteVer.c @@ -272,6 +272,12 @@ void Wlc_WriteVerInt( FILE * pFile, Wlc_Ntk_t * p, int fNoFlops ) fprintf( pFile, "|%s", Wlc_ObjName(p, Wlc_ObjFaninId0(pObj)) ); else if ( pObj->Type == WLC_OBJ_REDUCT_XOR ) fprintf( pFile, "^%s", Wlc_ObjName(p, Wlc_ObjFaninId0(pObj)) ); + else if ( pObj->Type == WLC_OBJ_REDUCT_NAND ) + fprintf( pFile, "~&%s", Wlc_ObjName(p, Wlc_ObjFaninId0(pObj)) ); + else if ( pObj->Type == WLC_OBJ_REDUCT_NOR ) + fprintf( pFile, "~|%s", Wlc_ObjName(p, Wlc_ObjFaninId0(pObj)) ); + else if ( pObj->Type == WLC_OBJ_REDUCT_NXOR ) + fprintf( pFile, "~^%s", Wlc_ObjName(p, Wlc_ObjFaninId0(pObj)) ); else if ( pObj->Type == WLC_OBJ_BIT_SELECT ) fprintf( pFile, "%s [%d:%d]", Wlc_ObjName(p, Wlc_ObjFaninId0(pObj)), Wlc_ObjRangeEnd(pObj), Wlc_ObjRangeBeg(pObj) ); else if ( pObj->Type == WLC_OBJ_BIT_SIGNEXT ) |