diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-09-20 13:12:51 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-09-20 13:12:51 -0700 |
commit | 266af4938673cc1574cfdbca9f9b019f320fd1b3 (patch) | |
tree | 4b006f27c02ffb108c8469c25bf079b3866e82ef /src | |
parent | bc44087bacba80b775ac7956ed9032c517308e03 (diff) | |
download | abc-266af4938673cc1574cfdbca9f9b019f320fd1b3.tar.gz abc-266af4938673cc1574cfdbca9f9b019f320fd1b3.tar.bz2 abc-266af4938673cc1574cfdbca9f9b019f320fd1b3.zip |
Modified 'read' to read all types of libraries (genlib, liberty, scl).
Diffstat (limited to 'src')
-rw-r--r-- | src/base/io/io.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/base/io/io.c b/src/base/io/io.c index 7894caa1..6135805e 100644 --- a/src/base/io/io.c +++ b/src/base/io/io.c @@ -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 ); |