Adding module name when reading SMT-LIB from stdin.

This commit is contained in:
Alan Mishchenko 2016-10-02 11:14:34 -07:00
parent 7f3842e186
commit c01f5fc4e0
1 changed files with 1 additions and 1 deletions

View File

@ -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 );