From c01f5fc4e024b01a6721b591c6ca47453a04b1fb Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sun, 2 Oct 2016 11:14:34 -0700 Subject: Adding module name when reading SMT-LIB from stdin. --- src/base/wlc/wlcStdin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/wlc/wlcStdin.c b/src/base/wlc/wlcStdin.c index 86092f95..49c25ad0 100644 --- a/src/base/wlc/wlcStdin.c +++ b/src/base/wlc/wlcStdin.c @@ -192,7 +192,7 @@ int Wlc_StdinProcessSmt( Abc_Frame_t * pAbc, char * pCmd ) // collect stdin until (check-sat) Vec_Str_t * vInput = Wlc_StdinCollectProblem( "(check-sat)" ); // parse input - Wlc_Ntk_t * pNtk = Wlc_ReadSmtBuffer( NULL, Vec_StrArray(vInput), Vec_StrArray(vInput) + Vec_StrSize(vInput), 0, 0 ); + Wlc_Ntk_t * pNtk = Wlc_ReadSmtBuffer( "top", Vec_StrArray(vInput), Vec_StrArray(vInput) + Vec_StrSize(vInput), 0, 0 ); Vec_StrFree( vInput ); // install current network Wlc_SetNtk( pAbc, pNtk ); -- cgit v1.2.3