diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-11-14 20:15:36 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-11-14 20:15:36 -0800 |
commit | 98c5668d4bb98a88a4316032f0952cc9b114dce7 (patch) | |
tree | 2d6b0b69a766688d44b18bf437189d2e412632fd /src/base/wlc | |
parent | cc37fb95732e71c78be055b43dc0fb7d0e74ab3e (diff) | |
download | abc-98c5668d4bb98a88a4316032f0952cc9b114dce7.tar.gz abc-98c5668d4bb98a88a4316032f0952cc9b114dce7.tar.bz2 abc-98c5668d4bb98a88a4316032f0952cc9b114dce7.zip |
Improvements to word-level network package.
Diffstat (limited to 'src/base/wlc')
-rw-r--r-- | src/base/wlc/wlcWriteVer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/wlc/wlcWriteVer.c b/src/base/wlc/wlcWriteVer.c index aeb59e5d..4e5e6727 100644 --- a/src/base/wlc/wlcWriteVer.c +++ b/src/base/wlc/wlcWriteVer.c @@ -195,8 +195,8 @@ void Wlc_WriteVerInt( FILE * pFile, Wlc_Ntk_t * p ) if ( pObj->Type == WLC_OBJ_TABLE ) { // wire [3:0] s4972; table0 s4972_Index(s4971, s4972); - fprintf( pFile, "%s ; table%d", Wlc_ObjName(p, i), Wlc_ObjTableId(pObj), i ); - fprintf( pFile, " s%d_Index(%s, ", Wlc_ObjName(p, Wlc_ObjFaninId0(pObj)) ); + fprintf( pFile, "%s ; table%d", Wlc_ObjName(p, i), Wlc_ObjTableId(pObj) ); + fprintf( pFile, " s%d_Index(%s, ", i, Wlc_ObjName(p, Wlc_ObjFaninId0(pObj)) ); fprintf( pFile, "%s)", Wlc_ObjName(p, i) ); } else if ( pObj->Type == WLC_OBJ_CONST ) |