mirror of https://github.com/YosysHQ/abc.git
Merge pull request #501 from petterreinholdtsen/writepla-assert-relaxed
Relaxed assert in Io_WritePla() to avoid failure with too shallow network.
This commit is contained in:
commit
ec4faae74a
|
|
@ -174,7 +174,7 @@ int Io_WritePla( Abc_Ntk_t * pNtk, char * pFileName )
|
|||
FILE * pFile;
|
||||
|
||||
assert( Abc_NtkIsSopNetlist(pNtk) );
|
||||
assert( Abc_NtkLevel(pNtk) == 1 );
|
||||
assert( Abc_NtkLevel(pNtk) <= 1 );
|
||||
|
||||
pFile = fopen( pFileName, "w" );
|
||||
if ( pFile == NULL )
|
||||
|
|
|
|||
Loading…
Reference in New Issue