From 74328f52da31d827840c972d7c55a257831b22fe Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Thu, 10 Mar 2016 23:03:53 +0900 Subject: Supporting complemented reduction operators. --- src/base/wlc/wlcWriteVer.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/base/wlc/wlcWriteVer.c') 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 ) -- cgit v1.2.3