mirror of https://github.com/YosysHQ/abc.git
Adding module name when reading SMT-LIB from stdin.
This commit is contained in:
parent
7f3842e186
commit
c01f5fc4e0
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in New Issue