mirror of https://github.com/YosysHQ/abc.git
Add support for WASI platform in Wln_ConvertToRtl.
This commit is contained in:
parent
f159bef6c3
commit
5f40c4704f
|
|
@ -121,6 +121,9 @@ char * Wln_GetYosysName()
|
|||
}
|
||||
int Wln_ConvertToRtl( char * pCommand, char * pFileTemp )
|
||||
{
|
||||
#if defined(__wasm)
|
||||
return 0;
|
||||
#else
|
||||
FILE * pFile;
|
||||
if ( system( pCommand ) == -1 )
|
||||
{
|
||||
|
|
@ -134,6 +137,7 @@ int Wln_ConvertToRtl( char * pCommand, char * pFileTemp )
|
|||
}
|
||||
fclose( pFile );
|
||||
return 1;
|
||||
#endif
|
||||
}
|
||||
Rtl_Lib_t * Wln_ReadSystemVerilog( char * pFileName, char * pTopModule, int fCollapse, int fVerbose )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue