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:
alanminko 2026-05-02 21:16:35 -07:00 committed by GitHub
commit ec4faae74a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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