Modified 'read' to read all types of libraries (genlib, liberty, scl).

This commit is contained in:
Alan Mishchenko 2012-09-20 13:12:51 -07:00
parent bc44087bac
commit 266af49386
1 changed files with 2 additions and 0 deletions

View File

@ -206,6 +206,8 @@ int IoCommandRead( Abc_Frame_t * pAbc, int argc, char ** argv )
sprintf( Command, "read_liberty %s", pFileName );
else if ( !strcmp( Extra_FileNameExtension(pFileName), "scl" ) )
sprintf( Command, "read_scl %s", pFileName );
else if ( !strcmp( Extra_FileNameExtension(pFileName), "c" ) )
sprintf( Command, "so %s", pFileName );
if ( Command[0] )
{
Cmd_CommandExecute( pAbc, Command );